How do most embedded C compilers define symbols for memory mapped I/O?
问题 I often times write to memory mapped I/O pins like this P3OUT |= BIT1; I assumed that P3OUT was being replaced with something like this by my preprocessor: *((unsigned short *) 0x0222u) But I dug into an H file today and saw something along these lines: volatile unsigned short P3OUT @ 0x0222u; There's some more expansion going on before that, but it is generally that. A symbol '@' is being used. Above that there are some #pragma's about using an extended set of the C language. I am assuming