Stores all runtime values for an enabled capacitive sensor.
Public Attributes#
Newest sample taken from CS hardware, without any processing.
Runtime estimate of untouched or inactive state of CS sensor input.
Describes the expected difference between untouched and touched CS value.
Bit array showing whether touch is qualified on sensor, uses DEBOUNCE_ACTIVE_MASK.
Stores consecutive CS values above or below active or inactive threshold.
Tracks trend of CS values to determine whether baseline rises or falls.
Public Attribute Documentation#
rawBuffer#
uint32_t SensorStruct_t::rawBuffer[DEF_SENSOR_BUFFER_SIZE]
Newest sample taken from CS hardware, without any processing.
currentBaseline#
uint32_t SensorStruct_t::currentBaseline
Runtime estimate of untouched or inactive state of CS sensor input.
touchDeltaDiv16#
uint8_t SensorStruct_t::touchDeltaDiv16
Describes the expected difference between untouched and touched CS value.
activeIndicator#
uint8_t SensorStruct_t::activeIndicator
Bit array showing whether touch is qualified on sensor, uses DEBOUNCE_ACTIVE_MASK.
debounceCounts#
uint8_t SensorStruct_t::debounceCounts
Stores consecutive CS values above or below active or inactive threshold.
baselineAccumulator#
signed char SensorStruct_t::baselineAccumulator
Tracks trend of CS values to determine whether baseline rises or falls.