31#if (CH_CFG_USE_TM == TRUE) || defined(__DOXYGEN__)
42#define TM_CALIBRATION_LOOP 4U
52#if PORT_SUPPORTS_RT == FALSE
53#error "CH_CFG_USE_TM requires PORT_SUPPORTS_RT"
#define NOINLINE
Makes functions not inlineable.
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.
static void __tm_calibration_object_init(tm_calibration_t *tcp)
Time measurement initialization.
void chTMObjectInit(time_measurement_t *tmp)
Initializes a TimeMeasurement object.
NOINLINE void chTMStopMeasurementX(time_measurement_t *tmp)
Stops a measurement.
#define TM_CALIBRATION_LOOP
Number of iterations in the calibration loop.
NOINLINE void chTMStartMeasurementX(time_measurement_t *tmp)
Starts a measurement.
Type of a Time Measurement object.
rtcnt_t best
Best measurement.
ucnt_t n
Number of measurements.
rttime_t cumulative
Cumulative measurement.
rtcnt_t last
Last measurement.
rtcnt_t worst
Worst measurement.
Type of a time measurement calibration data.
rtcnt_t offset
Measurement calibration value.