CE218129 - PSoC 6 MCU Wake up from Hibernate using a Low-Power Comparator | 赛普拉斯半导体
CE218129 - PSoC 6 MCU Wake up from Hibernate using a Low-Power Comparator
This code example demonstrates wakeup from Hibernate mode using the LPComp resource in PSoC® 6 MCU, using ModusToolbox™ IDE.
This code example uses one GPIO input to compare the input voltage and internal reference voltage to wake up the PSoC 6 device from Hibernate mode.
This example works with PSoC Creator. To run code examples in PSoC Creator, download and unzip the code example package, run PSoC Creator, go to File > Open > Project/Workspace, then browse to and select the .cywrk file. For documentation and collateral regarding PSoC Creator, please visit the PSoC Creator SW page to learn more. To see code examples available for PSoC Creator, go here.
This example may be available for ModusToolbox™ v2.x. To see code examples for ModusToolbox, go here. Use the Eclipse IDE for ModusToolbox New Application wizard to create the example. Refer to the Quick Start Guide, "Create New Application" chapter for details. You can also export the example to another IDE, such as VS Code, IAR, or μVision. Refer to the ModusToolbox User Guide “Export to IDEs” chapter.