|
Structure |
tag_sensor_t |
|
Input / Output |
Output from the library |
|
Use |
Data structure which holds the internal sensor state variables used by the library. |
|
Fields |
Type |
Comment |
||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
State |
uint8_t |
internal sensor state |
||||||||||
|
general_counter |
uint8_t |
general purpose counter: used for calibration, drifting, etc |
||||||||||
|
ndil_counter |
uint8_t |
drift Integration counter |
||||||||||
|
Threshold |
uint8_t |
sensor detection threshold. Refer to Detect threshold for more details |
||||||||||
|
type_aks_pos_hyst |
uint8_t |
holds information for sensor type, AKS group, positive
recalibration flag, and hysteresis value:
|
||||||||||
|
from_channel |
uint8_t |
starting channel number for sensor |
||||||||||
|
to_channel |
uint8_t |
ending channel number for sensor |
||||||||||
|
Index |
uint8_t |
index for array of rotor/slider values |