Benoit Marchand / iGreenhouse_Node2_gcc_arm_nucleo_l073rz

Dependencies:   mbed Sht31

Embed: (wiki syntax)

« Back to documentation index

WakeInterruptIn Class Reference

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:
pinPin to use as WakeInterruptIn pin

Definition at line 7 of file WakeInterruptIn.cpp.