mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-17 18:43:50 +01:00
The MSP430 vendor files already provide macros containing register constants and symbols (provided via linker scripts) containing addresses of peripheral registers. So lets make use of that rather than maintaining a long list of constants.
7 lines
243 B
Plaintext
7 lines
243 B
Plaintext
/* provide address for USCI register map by taking the address of the first
|
|
* register (as provided by the vendor files) */
|
|
PROVIDE(USCI_A0 = UCA0ABCTL);
|
|
PROVIDE(USCI_A1 = UCA1ABCTL);
|
|
PROVIDE(USCI_B0 = UCB0CTL0);
|
|
PROVIDE(USCI_B1 = UCB1CTL0);
|