ChibiOS  21.6.0
chtm.h File Reference

Time Measurement module macros and structures. More...

Go to the source code of this file.

Data Structures

struct  tm_calibration_t
 Type of a time measurement calibration data. More...
 
struct  time_measurement_t
 Type of a Time Measurement object. More...
 

Macros

#define TM_CALIBRATION_LOOP   4U
 Number of iterations in the calibration loop. More...
 

Functions

void chTMObjectInit (time_measurement_t *tmp)
 Initializes a TimeMeasurement object. More...
 
NOINLINE void chTMStartMeasurementX (time_measurement_t *tmp)
 Starts a measurement. More...
 
NOINLINE void chTMStopMeasurementX (time_measurement_t *tmp)
 Stops a measurement. More...
 
NOINLINE void chTMChainMeasurementToX (time_measurement_t *tmp1, time_measurement_t *tmp2)
 Stops a measurement and chains to the next one using the same time stamp. More...
 
static void __tm_calibration_object_init (tm_calibration_t *tcp)
 Time measurement initialization. More...
 

Detailed Description

Time Measurement module macros and structures.

Definition in file chtm.h.