periph_common.h¶
Peripheral MCU configuration for the Re-Mote boards.
-
CLOCK_CORECLOCK
¶ 1
(32000000U) /* 32MHz */
-
TIMER_NUMOF
¶ 1
(sizeof(timer_config) / sizeof(timer_config[0]))
-
TIMER_IRQ_PRIO
¶ 1
1
-
const timer_conf_t
timer_config
()¶ 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
= { { .chn = 2, .cfg = GPTMCFG_16_BIT_TIMER, }, { .chn = 1, .cfg = GPTMCFG_32_BIT_TIMER, }, { .chn = 2, .cfg = GPTMCFG_16_BIT_TIMER, }, { .chn = 1, .cfg = GPTMCFG_32_BIT_TIMER, }, }
-
RADIO_IRQ_PRIO
¶ 1
1
-
UART_0_ISR
¶ 1
isr_uart0
-
UART_1_ISR
¶ 1
isr_uart1
-
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 11 12 13 14 15 16 17
= { { .dev = UART0_BASEADDR, .rx_pin = GPIO_PIN(PORT_A, 0), .tx_pin = GPIO_PIN(PORT_A, 1), .cts_pin = GPIO_UNDEF, .rts_pin = GPIO_UNDEF }, { .dev = UART1_BASEADDR, .rx_pin = GPIO_PIN(PORT_C, 1), .tx_pin = GPIO_PIN(PORT_C, 0), .cts_pin = GPIO_UNDEF, .rts_pin = GPIO_UNDEF } }