Global¶
- group Global_alarm
alarm globals
lorem
Macros¶
- group Macros_alarm_h
Variables¶
- group Variables_alarm_h
API’s¶
- group Apis_alarm_h
Getters¶
- group Getters_alarm_h
Functions
-
CosmOS_SchedulableConfigurationType *alarm_getAlarmSchedulable(CosmOS_AlarmConfigurationType *alarm)¶
Get alarm schedulable pointer.
- Parameters
alarm – [in] configuration pointer
- Returns
-
BitWidthType alarm_getAlarmState(CosmOS_AlarmConfigurationType *alarm)¶
Get alarm state.
- Parameters
alarm – [in] configuration pointer
- Returns
BitWidthType
-
BitWidthType alarm_getAlarmTickCount(CosmOS_AlarmConfigurationType *alarm)¶
Get alarm tickCount.
- Parameters
alarm – [in] configuration pointer
- Returns
BitWidthType
-
CosmOS_SchedulableConfigurationType *alarm_getAlarmSchedulable(CosmOS_AlarmConfigurationType *alarm)¶
Setters¶
- group Setters_alarm_h
Functions
-
void alarm_setAlarmState(CosmOS_AlarmConfigurationType *alarm, CosmOS_AlarmStateType stateParam)¶
Set alarm state. This function cannot be called from the unprivileged context directly.
- Parameters
alarm – [out] configuration pointer
stateParam – [in] state of the alarm
- Returns
none
-
void alarm_setAlarmTickCount(CosmOS_AlarmConfigurationType *alarm, BitWidthType tickCountParam)¶
Set alarm tickCount. This function cannot be called from the unprivileged context directly.
- Parameters
alarm – [out] configuration pointer
tickCountParam – [in] number of ticks to load internal timer
- Returns
none
-
void alarm_setAlarmState(CosmOS_AlarmConfigurationType *alarm, CosmOS_AlarmStateType stateParam)¶
General¶
- group General_alarm_h