ChibiOS/HAL 9.0.0
hal_st.h File Reference

ST Driver macros and structures. More...

#include "hal_st_lld.h"

Go to the source code of this file.

Macros

#define ST_LLD_NUM_ALARMS   1

Typedefs

typedef void(* st_callback_t) (unsigned alarm)

Functions

void stInit (void)
 ST Driver initialization.
systime_t stGetCounter (void)
 Returns the time counter value.
void stStartAlarm (systime_t abstime)
 Starts the alarm zero.
void stStopAlarm (void)
 Stops the alarm zero interrupt.
void stSetAlarm (systime_t abstime)
 Sets the alarm zero time.
systime_t stGetAlarm (void)
 Returns the alarm zero current time.
bool stIsAlarmActive (void)
 Determines if the alarm zero is active.

Detailed Description

ST Driver macros and structures.

This header is designed to be include-able without having to include other files from the HAL.

Definition in file hal_st.h.