牛卧堂MCU技术交流

标题: [NUC240] Simulate UART Transmission by Software [打印本页]

作者: admin    时间: 2022-4-21 12:29
标题: [NUC240] Simulate UART Transmission by Software

If we do not have enough UART channel to use in the application, we can use TIMER interrupt with GPIO to generate UART waveform. Since the waveform is processed by software, other interrupts have to be disabled to avoid interruption while waveform transmitting.

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








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