Use on STM32L432KC
Dependencies: LPC1114_WakeInterruptIn
Fork of WakeUp by
Diff: WakeUp.h
- Revision:
- 24:65c04a02ad45
- Parent:
- 23:69a0c843e4bd
diff -r 69a0c843e4bd -r 65c04a02ad45 WakeUp.h --- a/WakeUp.h Wed Jun 14 08:56:55 2017 +0000 +++ b/WakeUp.h Tue Jul 04 07:59:06 2017 +0000 @@ -66,6 +66,13 @@ * This means that clock speed dependent functions, such as printf * might end up distorted. * + * @code + * // Attaching regular function + * WakeUp::attach(&yourFunc); + * // Attaching member function inside another library + * WakeUp::attach(callback(this, &YourLib::yourLibFunction)); + * @endcode + * * It uses the new Callback system to attach functions. * * @param *function function to call