23#include "periph_cpu.h"
31#define CLOCK_CORECLOCK msp430_dco_freq
38 .lfxt1_frequency = 32768,
56#define UART0_RX_ISR USCIAB1RX_VECTOR
58#define UART_NUMOF ARRAY_SIZE(uart_config)
74#define SPI_NUMOF ARRAY_SIZE(spi_config)
static const msp430_clock_params_t clock_params
Clock configuration.
Common timer configuration for TIMER_A clocked by SMCLK and TIMER_B clocked by ACLK.
const msp430_usci_spi_params_t usci_b1_as_spi
MSP430 F2xx/G2xx USCI B1 in SPI configuration.
const msp430_usci_spi_params_t usci_b0_as_spi
MSP430 F2xx/G2xx USCI B0 in SPI configuration.
const msp430_usci_uart_params_t usci_a1_as_uart
MSP430 F2xx/G2xx USCI A1 in UART configuration.
@ MAIN_CLOCK_SOURCE_DCOCLK
Internal digitally controlled oscillator (DCO) with RC-type characteristics.
@ SUBMAIN_CLOCK_SOURCE_DCOCLK
Internal digitally controlled oscillator (DCO) with RC-type characteristics.
@ SUBMAIN_CLOCK_DIVIDE_BY_1
Divide the main clock by 1.
@ AUXILIARY_CLOCK_DIVIDE_BY_1
Divide the main clock by 1.
@ MAIN_CLOCK_DIVIDE_BY_1
Divide the main clock by 1.
MSP430Fxzy Basic Clock System Parameters.
uint32_t target_dco_frequency
The target frequency to run the DCO at in Hz.
SPI device configuration.
const msp430_usci_spi_params_t * spi
The SPI configuration to use.
UART device configuration.
const msp430_usci_uart_params_t * uart
The UART configuration to use.
#define MHZ(x)
A macro to return the Hz in x MHz.