boards/slwstk6220a/include/periph_conf.h

Configuration of CPU peripherals for the WSTK6220 board.

CLOCK_RCOSC
1
(14000000)      /* internal RC oscillator speed */
CLOCK_HFXO
1
(48000000U)
CLOCK_HFCORECLKDIV
1
(1U)            /* core clock divider */
CLOCK_HFPERCLKDIV
1
(1U)            /* peripheral clock divider */
CLOCK_CORECLOCK
1
(CLOCK_HFXO / CLOCK_HFCORECLKDIV)
CLOCK_HFPERCLK
1
(CLOCK_CORECLOCK / CLOCK_HFPERCLKDIV)
TIMER_0_ISR
1
isr_timer1
TIMER_0_MAX_VALUE
1
(0xffff)            /* 16-bit timer */
TIMER_NUMOF
1
(sizeof(timer_config) / sizeof(timer_config[0]))
const timer_conf_t timer_config()
1
2
3
4
5
6
7
8
= {
    {
        TIMER0,             
        TIMER1,             
        5,                  
        TIMER1_IRQn,        
    }
}
UART_0_ISR_RX
1
isr_usart2_rx
UART_NUMOF
1
(sizeof(uart_config) / sizeof(uart_config[0]))
const uart_conf_t uart_config()
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
= {
    {
        USART2,             
        GPIO_PIN(PB,4),     
        GPIO_PIN(PB,3),     
        1,                  
        2,                  
        USART2_RX_IRQn      
    },
}