Header file
#define #define #define #define #define #define #define #define #define #define #define #define #define #define
BIT2 BIT3 BIT4 BIT5 BIT6 BIT7 BIT8 BIT9 BITA BITB BITC BITD BITE BITF
msp430g2553 (0x0004) (0x0008) (0x0010) (0x0020) (0x0040) (0x0080) (0x0100) (0x0200) (0x0400) (0x0800) (0x1000) (0x2000) (0x4000) (0x8000)
/******************************************************** **** * STATUS REGISTER BITS ********************************************************* ***/ #define #define #define #define #define #define #define #define #define C Z N V GIE CPUOFF OSCOFF SCG0 SCG1 (0x0001) (0x0002) (0x0004) (0x0100) (0x0008) (0x0010) (0x0020) (0x0040) (0x0080)
/* Low Power Modes coded with Bits 4-7 in SR */ #ifdef __ASM_HEADER__ /* Begin #defines for assembler */ #define LPM0 (CPUOFF) #define LPM1 (SCG0+CPUOFF) #define LPM2 (SCG1+CPUOFF) #define LPM3 (SCG1+SCG0+CPUOFF) #define LPM4 (SCG1+SCG0+OSCOFF+CPUOFF) /* End #defines for