Additional management services come from the uVisor API: https://github.com/ARMmbed/uvisor/blob/master/docs/api/API.md
§ ssbx_rtc_set_alarm()
int ssbx_rtc_set_alarm |
( |
uint32_t |
period_seconds, |
|
|
uint32_t |
type, |
|
|
uint32_t |
code, |
|
|
void(*)(uint32_t) |
callback |
|
) |
| |
Sets an RTC based alarm.
- Parameters
-
[in] | period_seconds | the number of seconds before the alarm |
[in] | type | 1 for periodic alarm or 0 for one shot alarm |
- Returns
- ID of the alarm
§ ssbx_rtc_unset_alarm()
int ssbx_rtc_unset_alarm |
( |
uint32_t |
alarm_id | ) |
|
Disables an alarm.
- Parameters
-
[in] | alarm_id | The alarm identifier |
- Returns
- -1 if error (caller is not the owner of the alarm), 0 if OK
§ ssbx_start()
Starts the system, with various integrity checks.
- Returns
- See error codes