Go to the documentation of this file.
45 #if !defined(ST_LLD_NUM_ALARMS)
46 #define ST_LLD_NUM_ALARMS 1
53 typedef void (*st_callback_t)(
unsigned alarm);
63 #if (ST_LLD_NUM_ALARMS > 1) && !defined(__DOXYGEN__)
64 extern st_callback_t st_callbacks[ST_LLD_NUM_ALARMS - 1];
77 #if ST_LLD_NUM_ALARMS > 1
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.
systime_t stGetAlarmN(unsigned alarm)
Returns an additional alarm current time.
void stInit(void)
ST Driver initialization.
bool stIsAlarmActiveN(unsigned alarm)
Determines if the specified alarm is active.
PLATFORM ST subsystem low level driver header.
uint32_t systime_t
Type of system time counter.
void stStartAlarmN(unsigned alarm, systime_t abstime, st_callback_t cb)
Starts an additional alarm.
void stSetAlarmN(unsigned alarm, systime_t abstime)
Sets an additional alarm time.
bool stIsAlarmActive(void)
Determines if the alarm zero is active.
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.