牛卧堂MCU技术交流

标题: [M2L31] Waking up MCU Only When LPADC Data Exceeded [打印本页]

作者: admin    时间: 2024-8-8 11:20
标题: [M2L31] Waking up MCU Only When LPADC Data Exceeded

Some peripherals in the M2L31 series microcontroller (MCU) can still work in sleep mode, such as LPTimer, LPADC, LPUART and so on. In this example code, LPADC is triggered by LPTimer periodically. If the result of LPADC exceeds the threshold, the MCU will be woken up to deal with the subsequent matters. If the conversion result does not exceed the threshold, the MCU remains in sleep mode.

This code can be used to monitor sensor at the lowest power consumption.

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





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