Zolertia Z1 peripheral configuration. More...
Zolertia Z1 peripheral configuration.
Definition in file periph_conf.h.
Go to the source code of this file.
#define | CLOCK_CORECLOCK msp430_dco_freq |
static const msp430_clock_params_t | clock_params |
Clock configuration. | |
UART configuration | |
#define | UART_NUMOF (1U) |
#define | UART_BASE (&USCI_A0) |
#define | UART_IE (IE2) |
#define | UART_IF (IFG2) |
#define | UART_IE_RX_BIT (1 << 0) |
#define | UART_IE_TX_BIT (1 << 1) |
#define | UART_RX_PORT (&PORT_3) |
#define | UART_RX_PIN (1 << 5) |
#define | UART_TX_PORT (&PORT_3) |
#define | UART_TX_PIN (1 << 4) |
#define | UART_RX_ISR (USCIAB0RX_VECTOR) |
#define | UART_TX_ISR (USCIAB0TX_VECTOR) |
SPI configuration | |
#define | SPI_NUMOF (1U) |
#define | SPI_BASE (&USCI_B0) |
#define | SPI_IE (IE2) |
#define | SPI_IF (IFG2) |
#define | SPI_IE_RX_BIT (1 << 2) |
#define | SPI_IE_TX_BIT (1 << 3) |
#define | SPI_PIN_MISO GPIO_PIN(P3, 2) |
#define | SPI_PIN_MOSI GPIO_PIN(P3, 1) |
#define | SPI_PIN_CLK GPIO_PIN(P3, 3) |
#define CLOCK_CORECLOCK msp430_dco_freq |
Definition at line 32 of file periph_conf.h.
#define SPI_BASE (&USCI_B0) |
Definition at line 73 of file periph_conf.h.
#define SPI_IE (IE2) |
Definition at line 74 of file periph_conf.h.
#define SPI_IE_RX_BIT (1 << 2) |
Definition at line 76 of file periph_conf.h.
#define SPI_IE_TX_BIT (1 << 3) |
Definition at line 77 of file periph_conf.h.
#define SPI_IF (IFG2) |
Definition at line 75 of file periph_conf.h.
#define SPI_NUMOF (1U) |
Definition at line 70 of file periph_conf.h.
Definition at line 80 of file periph_conf.h.
Definition at line 78 of file periph_conf.h.
Definition at line 79 of file periph_conf.h.
#define UART_BASE (&USCI_A0) |
Definition at line 53 of file periph_conf.h.
#define UART_IE (IE2) |
Definition at line 54 of file periph_conf.h.
#define UART_IE_RX_BIT (1 << 0) |
Definition at line 56 of file periph_conf.h.
#define UART_IE_TX_BIT (1 << 1) |
Definition at line 57 of file periph_conf.h.
#define UART_IF (IFG2) |
Definition at line 55 of file periph_conf.h.
#define UART_NUMOF (1U) |
Definition at line 51 of file periph_conf.h.
#define UART_RX_ISR (USCIAB0RX_VECTOR) |
Definition at line 62 of file periph_conf.h.
#define UART_RX_PIN (1 << 5) |
Definition at line 59 of file periph_conf.h.
#define UART_RX_PORT (&PORT_3) |
Definition at line 58 of file periph_conf.h.
#define UART_TX_ISR (USCIAB0TX_VECTOR) |
Definition at line 63 of file periph_conf.h.
#define UART_TX_PIN (1 << 4) |
Definition at line 61 of file periph_conf.h.
#define UART_TX_PORT (&PORT_3) |
Definition at line 60 of file periph_conf.h.
|
static |
Clock configuration.
Definition at line 37 of file periph_conf.h.