Microchip® Advanced Software Framework

tag_sensor_t Struct Reference

#include <touch_api.h>

Data Fields

uint8_t from_channel
 sensor from and to channels keys: from channel = to channel rotors/sliders run between the from and to channels NB: only need to_channel for keys in rotors/sliders build More...
 
uint8_t general_counter
 general purpose ctr: used for calibration, drifting, etc. More...
 
uint8_t ndil_counter
 DI ctr. More...
 
uint8_t state
 sensor state (calibrating, on, ...). More...
 
uint8_t threshold
 sensor detection threshold. More...
 
uint8_t type_aks_pos_hyst
 sensor type, AKS group, positive recal flag, and hysteresis value bits 7..6: sensor type: 00: key 01: rotor 10: slider 11: reserved bits 5..3: AKS group (0..7): 0 = no AKS group bit 2 : positive recal flag bits 1..0: hysteresis More...