Local

group Local_alarm

alarm locals

lorem

Macros

group Macros_alarm_c

Variables

group Variables_alarm_c

API’s

group Apis_alarm_c

Getters

group Getters_alarm_c

Setters

group Setters_alarm_c

General

group General_alarm_c

Functions

void alarm_expire(CosmOS_AlarmConfigurationType *alarm)

Alarm expire function needs to be called when the internal timer expire. This function cannot be called from the unprivileged context directly. DEMO.

The implementation contains call to alarm_getAlarmSchedulable to get alarm linked thread and set it again with calling schedulable_setState function with argument SCHEDULABLE_STATE_ENUM__READY, then the alarm is disabled with calling alarm_setAlarmState with argument ALARM_STATE_ENUM__DISABLED (alarm is no longer updated in scheduler) and finally alarm internal timer is reset to 0 with calling function alarm_setAlarmTickCount

Parameters

alarm[in] configuration pointer

Returns

none