牛卧堂MCU技术交流

标题: [M251] Pulse Counting in Power-down Mode [打印本页]

作者: admin    时间: 2024-9-27 10:42
标题: [M251] Pulse Counting in Power-down Mode

This example code starts by setting up the RTC and TIMER0, then switches the microcontroller (MCU) to Power-down mode. TIMER0 will count the pulses on PB5 until the RTC wakes up the MCU, at which point the counting will stop and the number of pulses will be printed.


You can download the sample code at https://www.nuvoton.com/resource-download.jsp?tp_GUID=EC012024091006190337







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