mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:58:59 +08:00
arch/arm/src/xmc4: Fix XMC4xxx USIC UART sginal to be high level when in idle
This commit is contained in:
committed by
Gregory Nutt
parent
a3f308331d
commit
ab7dfd75b5
@@ -309,7 +309,7 @@ int xmc4_uart_configure(enum usic_channel_e channel,
|
|||||||
* - Set frame length equal to the word length
|
* - Set frame length equal to the word length
|
||||||
*/
|
*/
|
||||||
|
|
||||||
regval = USIC_SCTR_PDL0 | USIC_SCTR_TRM_1LEVEL |
|
regval = USIC_SCTR_PDL1 | USIC_SCTR_TRM_1LEVEL |
|
||||||
USIC_SCTR_FLE(config->nbits) | USIC_SCTR_WLE(config->nbits);
|
USIC_SCTR_FLE(config->nbits) | USIC_SCTR_WLE(config->nbits);
|
||||||
putreg32(regval, base + XMC4_USIC_SCTR_OFFSET);
|
putreg32(regval, base + XMC4_USIC_SCTR_OFFSET);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user