牛卧堂MCU技术交流

标题: [NUC140] UART Rx Time-out Interrupt [打印本页]

作者: admin    时间: 2023-1-13 08:50
标题: [NUC140] UART Rx Time-out Interrupt

The FIFO depth for NUC140 UAR0 is 64 bytes. User can configure the data threshold as 1/4/8/14/30/46/62 bytes to trigger Rx interrupt when receiving data. When the received data in Rx FIFO reaches the threshold configuration, the interrupt is triggered to notify CPU to handle these data. It is used to avoid entering interrupt frequently and let CPU have enough time to process other tasks. There is another Rx time-out interrupt which can be used. When the data number in FIFO does not reach threshold value but no more data is incoming for a while, the Rx time-out interrupt is generated to notify CPU to read these data.

You can download the sample code at https://www.nuvoton.com/resource-downlo ... 1225132929





欢迎光临 牛卧堂MCU技术交流 (http://nuvoton-mcu.com/) Powered by Discuz! X3.2