Merge pull request #9365 from basilfx/feature/slstk3402a_uart_modes
boards: slstk3402a: add uart modes
This commit is contained in:
commit
1c47f9074c
@ -167,6 +167,9 @@ static const uart_conf_t uart_config[] = {
|
||||
.tx_pin = GPIO_PIN(PA, 0),
|
||||
.loc = USART_ROUTELOC0_RXLOC_LOC0 |
|
||||
USART_ROUTELOC0_TXLOC_LOC0,
|
||||
#if EFM32_UART_MODES
|
||||
.mode = UART_MODE_8N1,
|
||||
#endif
|
||||
.cmu = cmuClock_USART0,
|
||||
.irq = USART0_RX_IRQn
|
||||
},
|
||||
@ -176,6 +179,9 @@ static const uart_conf_t uart_config[] = {
|
||||
.tx_pin = GPIO_PIN(PD, 10),
|
||||
.loc = LEUART_ROUTELOC0_RXLOC_LOC18 |
|
||||
LEUART_ROUTELOC0_TXLOC_LOC18,
|
||||
#if EFM32_UART_MODES
|
||||
.mode = UART_MODE_8N1,
|
||||
#endif
|
||||
.cmu = cmuClock_LEUART0,
|
||||
.irq = LEUART0_IRQn
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user