/[avr-libc]/avr-libc/include/avr/sfr_defs.h
ViewVC logotype

Diff of /avr-libc/include/avr/sfr_defs.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.14.2.1 by arcanum, Fri Jan 7 19:25:25 2005 UTC revision 1.14.2.2 by joerg_wunsch, Sat Sep 10 21:33:13 2005 UTC
# Line 101  Line 101 
101     If you do not define \c __SFR_OFFSET (so it will be 0x20 by default), all     If you do not define \c __SFR_OFFSET (so it will be 0x20 by default), all
102     special register addresses are defined as memory addresses (so \c SREG is     special register addresses are defined as memory addresses (so \c SREG is
103     0x5f), and (if code size and speed are not important, and you don't like     0x5f), and (if code size and speed are not important, and you don't like
104     the ugly #if above) you can always use lds/sts to access them.  But, this     the ugly \#if above) you can always use lds/sts to access them.  But, this
105     will not work if <tt>__SFR_OFFSET</tt> != 0x20, so use a different macro     will not work if <tt>__SFR_OFFSET</tt> != 0x20, so use a different macro
106     (defined only if <tt>__SFR_OFFSET</tt> == 0x20) for safety:     (defined only if <tt>__SFR_OFFSET</tt> == 0x20) for safety:
107    

Legend:
Removed from v.1.14.2.1  
changed lines
  Added in v.1.14.2.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26