Wake up on IO from sleep | Cypress Semiconductor
Wake up on IO from sleep
Can I please get a code example on how to place the PSoC3 into sleep mode for wake up by a signal on an IO pin.
I can't find an appropriate second argument for CyPmSleep(). I don't want to wake up the device after a set amount of time, or by using any of the peripherals offered. The datasheet says that IO is one of the available wake up sources for sleep mode.