+ /* set LRA as sensor and switch to idle mode
+ * check back-EMF of LRA: if treshold is surpassed
+ * comparator intterupt is triggered */
+ set_lra_as_sensor();
+ switch_idle();
+
+ /* board wakes up, set LRA as actuator and
+ * plays haptic effect */
+ set_lra_as_actuator();
+ play_haptic();
+
+ }