Class similar to InterruptIn which allows the LPC1114 to wake from deepsleep. (For other targets you can use InterruptIn).
Dependents: WakeUp WakeUp WakeUp WakeUp ... more
WakeInterruptIn Class Reference
Class to wake LPC1114 from deepsleep. More...
#include <WakeInterruptIn.h>
Public Member Functions | |
WakeInterruptIn (PinName pin) | |
Constructor. |
Detailed Description
Class to wake LPC1114 from deepsleep.
Use like regular InterruptIn, it works not only to wake up from sleep but also just like InterruptIn. Only you can NOT attach both rising and falling edge interrupts.
Definition at line 22 of file WakeInterruptIn.h.
Constructor & Destructor Documentation
WakeInterruptIn | ( | PinName | pin ) |
Constructor.
Pins which are allowed are all pins from Port 0 and P1_0
- Parameters:
-
pin Pin to use as WakeInterruptIn pin
Definition at line 7 of file WakeInterruptIn.cpp.
Generated on Sun Jul 17 2022 03:02:06 by 1.7.2