ChibiOS  21.6.0
hal_st.c File Reference

ST Driver code. More...

#include "hal.h"

Go to the source code of this file.

Functions

void stInit (void)
 ST Driver initialization. More...
 
void stBind (void)
 Enables an alarm interrupt on the invoking core. More...
 
systime_t stGetCounter (void)
 Returns the time counter value. More...
 
void stStartAlarm (systime_t abstime)
 Starts the alarm zero. More...
 
void stStopAlarm (void)
 Stops the alarm zero interrupt. More...
 
void stSetAlarm (systime_t abstime)
 Sets the alarm zero time. More...
 
systime_t stGetAlarm (void)
 Returns the alarm zero current time. More...
 
bool stIsAlarmActive (void)
 Determines if the alarm zero is active. More...
 
void stSetCallback (unsigned alarm, st_callback_t cb)
 Associates a callback to an alarm. More...
 
void stBindAlarmN (unsigned alarm)
 Enables an alarm interrupt on the invoking core. More...
 
void stStartAlarmN (unsigned alarm, systime_t abstime)
 Starts an additional alarm. More...
 
void stStopAlarmN (unsigned alarm)
 Stops an additional alarm. More...
 
void stSetAlarmN (unsigned alarm, systime_t abstime)
 Sets an additional alarm time. More...
 
systime_t stGetAlarmN (unsigned alarm)
 Returns an additional alarm current time. More...
 
bool stIsAlarmActiveN (unsigned alarm)
 Determines if the specified alarm is active. More...
 

Variables

st_callback_t st_callbacks [ST_LLD_NUM_ALARMS]
 Callback pointers for each alarm. More...
 

Detailed Description

ST Driver code.

Definition in file hal_st.c.