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
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);
#define osalDbgAssert(c, remark)
Condition assertion.
#define osalDbgCheck(c)
Function parameters check.
uint32_t systime_t
Type of system time counter.
void stSetAlarm(systime_t abstime)
Sets the alarm zero time.
systime_t stGetCounter(void)
Returns the time counter value.
#define ST_LLD_NUM_ALARMS
systime_t stGetAlarm(void)
Returns the alarm zero current time.
void stSetCallback(unsigned alarm, st_callback_t cb)
Associates a callback to an alarm.
static bool st_lld_is_alarm_active(void)
Determines if the alarm is active.
void stSetAlarmN(unsigned alarm, systime_t abstime)
Sets an additional alarm time.
void(* st_callback_t)(unsigned alarm)
static void st_lld_start_alarm(systime_t abstime)
Starts the alarm.
bool stIsAlarmActiveN(unsigned alarm)
Determines if the specified alarm is active.
bool stIsAlarmActive(void)
Determines if the alarm zero is active.
void stBindAlarmN(unsigned alarm)
Enables an alarm interrupt on the invoking core.
void stBind(void)
Enables an alarm interrupt on the invoking core.
static void st_lld_stop_alarm(void)
Stops the alarm interrupt.
static systime_t st_lld_get_alarm(void)
Returns the current alarm time.
void stStopAlarmN(unsigned alarm)
Stops an additional alarm.
st_callback_t st_callbacks[ST_LLD_NUM_ALARMS]
Callback pointers for each alarm.
static void st_lld_set_alarm(systime_t abstime)
Sets the alarm time.
void st_lld_init(void)
Low level ST driver initialization.
void stStopAlarm(void)
Stops the alarm zero interrupt.
static systime_t st_lld_get_counter(void)
Returns the time counter value.
void stStartAlarmN(unsigned alarm, systime_t abstime)
Starts an additional alarm.
systime_t stGetAlarmN(unsigned alarm)
Returns an additional alarm current time.
void stInit(void)
ST Driver initialization.
void stStartAlarm(systime_t abstime)
Starts the alarm zero.