22#include "periph_cpu.h"
33#define XTAL_HZ (16000000U)
35#define CLOCK_CORECLOCK (72000000U)
37#define CLOCK_PCLK (CLOCK_CORECLOCK)
44#define TIMER_NUMOF (1U)
57#define PWM_CHANNELS (3)
59#define PWM_CH0_MR PWM1MR3
61#define PWM_CH1_MR PWM1MR4
63#define PWM_CH2_MR PWM1MR5
65#define PWM_PORT PINSEL4
66#define PWM_CH0_PIN (2)
67#define PWM_CH1_PIN (3)
68#define PWM_CH2_PIN (4)
82 .pinsel_msk_rx =
BIT4,
83 .pinsel_msk_tx =
BIT6,
90 .pinsel_msk_rx =
BIT3,
91 .pinsel_msk_tx =
BIT1,
98 .pinsel_msk_rx =
BIT22,
99 .pinsel_msk_tx =
BIT20,
111#define UART_NUMOF (4)
155#define ADC_NUMOF ARRAY_SIZE(adc_config)
169 .pinsel_msk_sda =
BIT21,
170 .pinsel_msk_scl =
BIT23,
@ I2C_SPEED_NORMAL
normal mode: ~100 kbit/s
#define BIT8
Bit 8 set define.
#define BIT21
Bit 21 set define.
#define BIT17
Bit 17 set define.
#define BIT25
Bit 25 set define.
#define BIT9
Bit 9 set define.
#define BIT14
Bit 14 set define.
#define BIT26
Bit 26 set define.
#define BIT18
Bit 18 set define.
#define BIT1
Bit 1 set define.
#define BIT16
Bit 16 set define.
#define BIT20
Bit 20 set define.
#define BIT3
Bit 3 set define.
#define BIT24
Bit 24 set define.
#define BIT4
Bit 4 set define.
#define BIT6
Bit 6 set define.
#define BIT23
Bit 23 set define.
#define BIT15
Bit 15 set define.
#define BIT22
Bit 22 set define.
#define BIT27
Bit 27 set define.
#define UART0
UART0 register bank.
#define UART1
UART1 register bank.
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