Use on STM32L432KC

Dependencies:   LPC1114_WakeInterruptIn

Fork of WakeUp by Erik -

Files at this revision

API Documentation at this revision

Comitter:
Sissors
Date:
Tue Jul 04 07:59:06 2017 +0000
Parent:
23:69a0c843e4bd
Child:
25:b6bd5ab62934
Commit message:
Added attach documentation

Changed in this revision

WakeUp.h Show annotated file Show diff for this revision Revisions of this file
--- 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