Stores data related to sensor calibration, including data related to sensor offset. More...
Data Fields | |
uint32_t | Accumulator |
used for sensor offset measurement at startup | |
uint16_t | MeasurementCounter |
used for sensor offset measurement at startup | |
uint16_t | Offset |
measured offset | |
bool | CalibrationComplete |
set to true if the sensor is calibrated | |
uint16_t | LimitHigh |
upper bound of what offset should be, offset needs to be < limitHigh and > limitLow for sensorCalibrated = true | |
uint16_t | LimitLow |
low bound of what offset should be | |
This data structure contains the collection of current sensor properties that the user can initialize and monitor.
Definition at line 22 of file dev_current_sensor.c.
uint32_t Accumulator |
Definition at line 24 of file dev_current_sensor.c.
bool CalibrationComplete |
Definition at line 27 of file dev_current_sensor.c.
uint16_t LimitHigh |
Definition at line 28 of file dev_current_sensor.c.
uint16_t LimitLow |
Definition at line 29 of file dev_current_sensor.c.
uint16_t MeasurementCounter |
Definition at line 25 of file dev_current_sensor.c.
uint16_t Offset |
Definition at line 26 of file dev_current_sensor.c.