Go to the documentation of this file.
27 #if (OSAL_ST_MODE != OSAL_ST_MODE_NONE) || defined(__DOXYGEN__)
50 #if (ST_LLD_NUM_ALARMS > 1) || defined(__DOXYGEN__)
70 #if ST_LLD_NUM_ALARMS > 1
73 for (i = 0U; i < (unsigned)ST_LLD_NUM_ALARMS; i++) {
80 #if defined(ST_LLD_MULTICORE_SUPPORT) || defined(__DOXYGEN__)
93 #if (OSAL_ST_MODE == OSAL_ST_MODE_FREERUNNING) || defined(__DOXYGEN__)
184 #if (ST_LLD_NUM_ALARMS > 1) || defined(__DOXYGEN__)
204 #if defined(ST_LLD_MULTICORE_SUPPORT) || defined(__DOXYGEN__)
218 st_lld_bind_alarm_n(alarm);
239 st_lld_start_alarm_n(alarm, abstime);
255 st_lld_stop_alarm_n(alarm);
273 st_lld_set_alarm_n(alarm, abstime);
291 return st_lld_get_alarm_n(alarm);
308 return st_lld_is_alarm_active_n(alarm);
static void st_lld_start_alarm(systime_t abstime)
Starts the alarm.
st_callback_t st_callbacks[ST_LLD_NUM_ALARMS]
Callback pointers for each alarm.
void stStopAlarmN(unsigned alarm)
Stops an additional alarm.
systime_t stGetCounter(void)
Returns the time counter value.
void stSetAlarm(systime_t abstime)
Sets the alarm zero time.
void stSetCallback(unsigned alarm, st_callback_t cb)
Associates a callback to an alarm.
systime_t stGetAlarmN(unsigned alarm)
Returns an additional alarm current time.
void stInit(void)
ST Driver initialization.
static systime_t st_lld_get_alarm(void)
Returns the current alarm time.
uint64_t systime_t
Type of system time.
static systime_t st_lld_get_counter(void)
Returns the time counter value.
bool stIsAlarmActiveN(unsigned alarm)
Determines if the specified alarm is active.
static void st_lld_stop_alarm(void)
Stops the alarm interrupt.
void st_lld_init(void)
Low level ST driver initialization.
static void st_lld_set_alarm(systime_t abstime)
Sets the alarm time.
void stSetAlarmN(unsigned alarm, systime_t abstime)
Sets an additional alarm time.
static bool st_lld_is_alarm_active(void)
Determines if the alarm is active.
bool stIsAlarmActive(void)
Determines if the alarm zero is active.
#define osalDbgCheck(c)
Function parameters check.
void stBind(void)
Enables an alarm interrupt on the invoking core.
void stStopAlarm(void)
Stops the alarm zero interrupt.
systime_t stGetAlarm(void)
Returns the alarm zero current time.
void stStartAlarm(systime_t abstime)
Starts the alarm zero.
#define osalDbgAssert(c, remark)
Condition assertion.
void stStartAlarmN(unsigned alarm, systime_t abstime)
Starts an additional alarm.
void stBindAlarmN(unsigned alarm)
Enables an alarm interrupt on the invoking core.