27#define NUM_SAMPLES 1000
60 volatile uint32_t sample_counter;
PedalCalibBlob global_calib_blob
A global struct that stores the throttle pedal and calibration data.
PedalState
Stores the possible pedal states that the pedal could be in.
Definition: pedal_calib.h:33
StatusCode
StatusCodes for various errors.
Definition: status.h:27
Port and pin data.
Definition: network.h:62
Stores pedal calibration data for the break and the throttle pedals.
Definition: pedal.h:40
Stores data that defines when the pedal is full pressed or unpressed.
Definition: pedal.h:33
A struct that stores the max and min reading along with a sample counter for the data that is being p...
Definition: pedal_calib.h:57