MSP430 F2xx/G2xx UART configuration, CPU level. More...
MSP430 F2xx/G2xx UART configuration, CPU level.
The MSP430 F2xx/G2xx has two USCI peripherals which both can be operated in UART mode. Each is connected to a fixed GPIO for RXD and TXD, respectively. Hence, there is not much left for the board to configure anyway, so we just prepare UART configurations at CPU level for the board to refer to. The unused configuration(s) will be garbage collected by the linker.
Definition at line 149 of file periph_cpu.h.
#include <periph_cpu.h>
Data Fields | |
msp430_usci_params_t | usci_params |
The USCI params. | |
gpio_t | rxd |
RXD pin. | |
gpio_t | txd |
TXD pin. | |
gpio_t msp430_usci_uart_params_t::rxd |
RXD pin.
Definition at line 151 of file periph_cpu.h.
gpio_t msp430_usci_uart_params_t::txd |
TXD pin.
Definition at line 152 of file periph_cpu.h.
msp430_usci_params_t msp430_usci_uart_params_t::usci_params |
The USCI params.
Definition at line 150 of file periph_cpu.h.