22 #include "periph_cpu.h"
32 #define XTAL_HZ (16000000U)
34 #define CLOCK_CORECLOCK (72000000U)
36 #define CLOCK_PCLK (CLOCK_CORECLOCK)
43 #define TIMER_NUMOF (1U)
53 #define PWM_NUMOF (1U)
56 #define PWM_CHANNELS (3)
58 #define PWM_CH0_MR PWM1MR3
60 #define PWM_CH1_MR PWM1MR4
62 #define PWM_CH2_MR PWM1MR5
64 #define PWM_PORT PINSEL4
65 #define PWM_CH0_PIN (2)
66 #define PWM_CH1_PIN (3)
67 #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,
106 .pinsel_msk_rx = BIT26 | BIT27,
107 .pinsel_msk_tx = BIT24 | BIT25,
111 #define UART_NUMOF (4)
124 .pinsel_msk_mosi = (BIT16 | BIT17),
125 .pinsel_msk_miso = (BIT14 | BIT15),
126 .pinsel_msk_clk = (BIT8 | BIT9),
130 #define SPI_NUMOF (1)
155 #define ADC_NUMOF ARRAY_SIZE(adc_config)
169 .pinsel_msk_sda = BIT21,
170 .pinsel_msk_scl = BIT23,
175 #define I2C_NUMOF (1)