#include "SFBTypes.h"
#include "SFBWiring.h"
Go to the source code of this file.
Data Structures | |
class | SFBAlarm |
Manage "alarm clock"-style settable timers. More... | |
Defines | |
#define | SFBALARM_QUEUE_SIZE 51 |
The maximum number of alarms. | |
Typedefs | |
typedef void(* | SFBAlarmHandler )(u32 when) |
A function pointer type that can be called when an alarm is triggered. | |
typedef void(* | SFBAlarmArgHandler )(u32 when, void *arg) |
A function pointer type that can be called when an alarm is triggered. | |
typedef u8 | SFBAlarmIndexType |
grows (at least) as (14 bytes * SFBALARM_QUEUE_SIZE). | |
Variables | |
SFBAlarm | Alarms |
The object controlling all SFBAlarm functions. |
#define SFBALARM_QUEUE_SIZE 51 |
The maximum number of alarms.
The RAM footprint of an SFBAlarm
typedef void(* SFBAlarmArgHandler)(u32 when, void *arg) |
A function pointer type that can be called when an alarm is triggered.
This is the more powerful of the such funtion pointer types; see SFBAlarmArgHandler for the more limited type.
typedef void(* SFBAlarmHandler)(u32 when) |
A function pointer type that can be called when an alarm is triggered.
This is the simpler of the such funtion pointer types; see SFBAlarmArgHandler for the more complicated type.
typedef u8 SFBAlarmIndexType |
grows (at least) as (14 bytes * SFBALARM_QUEUE_SIZE).
The type of an alarm index. u8 suffices unless SFBALARM_QUEUE_SIZE exceeds 255