SMOD
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2003-05-01 11:13 AM
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 2:53 AM
Posted on May 17, 2011 at 11:53
Hi Every Body
The SMOD bit at UPSD.H is disabled. When I enable it, the compiler shouts error ''PCON invalid base address''. How can I enable the SMOD bit in the UPSD.H file?. Thank you all. KobiOptions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 2:53 AM
Posted on May 17, 2011 at 11:53
PCON register is NOT bit addressable, only registers reside on addresses x0 and x8 are bit addressable. Although some compilers can use macros to do the bit manipulation; Keil complier does not support it. You need to OR in the bit you want to set or reset.
