SPiCboard library (libspicboard, revision 14673M) API documentation
Found a bug or something ambiguous? Mail us to get it fixed!
timer.h
Go to the documentation of this file.
58 * - <b>Single shot:</b> Set cycle to 0. This alarm <b>must not</b> be canceled after being fired.
59 * - <b>Repetitive:</b> The first shot can be adjusted be setting alarmtime > 0. Otherwise cycle is used.
64 * \param alarmtime time in ms relative to the current time when the alarm shall expire the first time.
void(* alarmcallback_t)(void)
Type for alarm callback functions.
Definition: timer.h:40
ALARM * sb_timer_setAlarm(alarmcallback_t callback, uint16_t alarmtime, uint16_t cycle)
Create a new alarm.
struct ALARM ALARM
ALARM type This is type of a struct containing information about an alarm.
Definition: timer.h:30