Port B in MCU I/O mode bit access !!
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2003-07-17 9:20 PM
Posted on July 18, 2003 at 06:20
Port B in MCU I/O mode bit access !!
Labels:
- Labels:
-
Legacy products
This discussion is locked. Please start a new topic to ask your question.
4 REPLIES 4
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 2:55 AM
Posted on May 17, 2011 at 11:55
Hi,
I want to access to PB0 but it doesn't work. Maybe I have to change upsd3200.h but i'm not sure. I don't know how declared this pin in my soft. somebody can help me, please ? totofOptions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 2:55 AM
Posted on May 17, 2011 at 11:55
Hi,
Have you set the Port direction register? Also, have you correctly set the PSD register address? SimonOptions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 2:55 AM
Posted on May 17, 2011 at 11:55
Hello,
Please see the attached code fragment I wrote to toggle PB0 pin. PB0 is connected to LED2 on the DK3200 eval board. You can just insert the attached code segment to the Main {} loop of the design example 3, dk3200_dsn_3, and complile and download it to a DK3200 board, then watch LED2 blink when Set or Clear PB.0 cmd is issued.Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 2:55 AM
Posted on May 17, 2011 at 11:55
hi,
thanks a lot for your answers. If i can help it will be a pleasure. totof