EFM32: Minor serial interrupt mask change; Add LEUART0 board support
This commit is contained in:
parent
0679d3109f
commit
47a8e614e8
@ -198,8 +198,7 @@
|
||||
|
||||
#define EFM32_TXERR_INTS (USART_IEN_TXOF)
|
||||
#define EFM32_RXERR_INTS (USART_IEN_RXOF | USART_IEN_RXUF | \
|
||||
USART_IEN_TXUF | USART_IEN_PERR | \
|
||||
USART_IEN_FERR)
|
||||
USART_IEN_PERR | USART_IEN_FERR)
|
||||
#ifdef CONFIG_DEBUG
|
||||
# define EFM32_TX_INTS (USART_IEN_TXBL | EFM32_TXERR_INTS)
|
||||
# define EFM32_RX_INTS (USART_IEN_RXDATAV | EFM32_RXERR_INTS)
|
||||
|
@ -210,6 +210,16 @@
|
||||
#define BOARD_UART0_TX_GPIO (GPIO_PORTE|GPIO_PIN0)
|
||||
#define BOARD_UART0_ROUTE_LOCATION _USART_ROUTE_LOCATION_LOC1
|
||||
|
||||
/* LEUART0:
|
||||
*
|
||||
* LEU0_RX #0 PD5 **AVAILABLE at TP123 and EXP port pin 14**
|
||||
* LEU0_TX #0 PD4 **AVAILABLE at TP122 and EXP port pin 12**
|
||||
*/
|
||||
|
||||
#define BOARD_LEUART0_RX_GPIO (GPIO_PORTD|GPIO_PIN5)
|
||||
#define BOARD_LEUART0_TX_GPIO (GPIO_PORTD|GPIO_PIN4)
|
||||
#define BOARD_LEUART0_ROUTE_LOCATION _LEUART_ROUTE_LOCATION_LOC0
|
||||
|
||||
/****************************************************************************
|
||||
* Public Function Prototypes
|
||||
****************************************************************************/
|
||||
|
Loading…
Reference in New Issue
Block a user