23 #ifndef MSP430_REGS_COMMON_H
24 #define MSP430_REGS_COMMON_H
35 #define REG8 volatile uint8_t
40 #define REG16 volatile uint16_t
50 #define TXSSEL_TXCLK TASSEL_0
51 #define TXSSEL_ACLK TASSEL_1
52 #define TXSSEL_SMCLK TASSEL_2
53 #define TXSSEL_INCLK TASSEL_3
63 #define TXID_DIV_1 ID_0
64 #define TXID_DIV_2 ID_1
65 #define TXID_DIV_4 ID_2
66 #define TXID_DIV_8 ID_3
67 #define TXID_DIV_Msk ID_3
68 #define TXID_DIV_Pos 6U
69 #define TXID_DIV_MAX 3
79 #define TXMC_STOP MC_0
81 #define TXMC_CONT MC_2
82 #define TXMC_UP_DOWN MC_3
83 #define TXMC_MASK MC_3
#define REG16
Shortcut to specify 16-bit wide registers.
#define REG8
Shortcut to specify 8-bit wide registers.
GPIO Port 3..6 (without interrupt functionality)
REG8 SEL
alternative function select
msp430_port_t base
common GPIO port registers
Common MSP GPIO Port Registers.
Timer peripheral registers.
REG16 R
current counter value