Pico-Arduino
Public Member Functions | Protected Attributes | List of all members
pico_arduino::TimerAlarm Class Reference

Alarm functions for scheduling future execution. More...

#include <PicoTimer.h>

Public Member Functions

void start (alarm_callback_t callback, uint64_t time, TimeUnit unit=MS, void *user_data=nullptr, bool fire_if_past=true)
 starts the execution of the callback method after the indicated time
 
bool stop ()
 stops the execution
 

Protected Attributes

alarm_id_t alarm_id =-1
 
alarm_pool_t * ap
 

Detailed Description

Alarm functions for scheduling future execution.

Author
Phil Schatzmann

The documentation for this class was generated from the following file: