22 #include "periph_cpu.h" 
   34 #define TIMER_NUMOF                 (1) 
   43         .
addr       = UART0_CTRL_ADDR,
 
   46         .isr_num    = INT_UART0_BASE,
 
   49         .addr       = UART1_CTRL_ADDR,
 
   52         .isr_num    = INT_UART1_BASE,
 
   56 #define UART_NUMOF                  ARRAY_SIZE(uart_config) 
   66         .
addr       = SPI1_CTRL_ADDR,
 
   73 #define SPI_NUMOF                  ARRAY_SIZE(spi_config) 
   90         .
addr   = I2C0_CTRL_ADDR,
 
   97 #define I2C_NUMOF                   ARRAY_SIZE(i2c_config) 
#define GPIO_PIN(x, y)
Define a CPU specific GPIO pin generator macro.
 
static const uart_conf_t uart_config[]
UART configuration.
 
static const spi_conf_t spi_config[]
SPI configuration.
 
static const i2c_conf_t i2c_config[]
I2C configuration.
 
@ I2C_SPEED_NORMAL
normal mode: ~100 kbit/s
 
Common macros and compiler attributes/pragmas configuration.
 
I2C configuration structure.
 
uint32_t addr
device base address
 
SPI device configuration.
 
uint32_t addr
SPI control register address.
 
UART device configuration.
 
uint32_t addr
UART control register address.