mirror of
https://github.com/apache/nuttx.git
synced 2026-08-28 21:00:44 +00:00
configs/xmc4500-relax: Add config for UART3 on RXD P0.0 and TXD P0.1 pins.
This commit is contained in:
parent
fcb5129567
commit
4f0c4b798f
1 changed files with 10 additions and 0 deletions
|
|
@ -211,6 +211,16 @@
|
|||
#define GPIO_UART0_RXD0 GPIO_U0C0_DX0B
|
||||
#define GPIO_UART0_TXD0 (GPIO_U0C0_DOUT0_3 | GPIO_PADA1P_STRONGSOFT | GPIO_OUTPUT_SET)
|
||||
|
||||
/* USIC1 CH1 is used as UART3
|
||||
*
|
||||
* RX - P0.0
|
||||
* TX - P0.1
|
||||
*/
|
||||
|
||||
#define BOARD_UART3_DX USIC_DXD
|
||||
#define GPIO_UART0_RXD3 GPIO_U1C1_DX0D
|
||||
#define GPIO_UART0_TXD3 (GPIO_U1C1_DOUT0_2 | GPIO_PADA1P_STRONGSOFT | GPIO_OUTPUT_SET)
|
||||
|
||||
/************************************************************************************
|
||||
* Public Data
|
||||
************************************************************************************/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue