18 #include "periph_cpu.h" 
   29 #define XTAL_HZ             (12000000U)          
   31 #define CLOCK_CORECLOCK     (72000000U)          
   33 #define CLOCK_PCLK          (CLOCK_CORECLOCK) 
   40 #define TIMER_NUMOF         (4U) 
   53         .pinsel_msk_rx = 
BIT4,
 
   54         .pinsel_msk_tx = 
BIT6,
 
   61         .pinsel_msk_rx = 
BIT0,
 
   62         .pinsel_msk_tx = 
BIT30,
 
   66 #define UART_NUMOF          (2) 
   88         .pinsel_msk_mosi = (
BIT19), 
 
   89         .pinsel_msk_miso = (
BIT17), 
 
   90         .pinsel_msk_clk  = (
BIT15), 
 
   94 #define SPI_NUMOF           ARRAY_SIZE(spi_config) 
  109 #define ADC_NUMOF           (1) 
  123         .pinsel_msk_sda = 
BIT22,        
 
  124         .pinsel_msk_scl = 
BIT24,        
 
  137 #define I2C_NUMOF           (2) 
#define BIT8
Bit 8 set define.
 
#define BIT17
Bit 17 set define.
 
#define BIT9
Bit 9 set define.
 
#define BIT14
Bit 14 set define.
 
#define BIT30
Bit 30 set define.
 
#define BIT16
Bit 16 set define.
 
#define BIT24
Bit 24 set define.
 
#define BIT19
Bit 19 set define.
 
#define BIT7
Bit 7 set define.
 
#define BIT4
Bit 4 set define.
 
#define BIT6
Bit 6 set define.
 
#define BIT0
Bit 0 set define.
 
#define BIT15
Bit 15 set define.
 
#define BIT22
Bit 22 set define.
 
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.
 
static const adc_conf_t adc_config[]
ADC configuration.
 
#define UART0
UART0 register bank.
 
#define UART1
UART1 register bank.
 
@ I2C_SPEED_NORMAL
normal mode: ~100 kbit/s
 
Common macros and compiler attributes/pragmas configuration.
 
ADC device configuration.
 
uint8_t chan
CPU ADC channel connected to the pin.
 
I2C configuration structure.
 
TWI_t * dev
Pointer to hardware module registers.
 
SPI device configuration.
 
SPI_t * dev
pointer to the used SPI device
 
UART device configuration.
 
USART_t * dev
pointer to the used UART device