Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
QTouch related API's

ZRC profile related.

Functions

uint8_t comms_match (void)
 Compares last sent values again current values of pertinent registersdetermine match based on key status registers, general status and slider position. More...
 
static void config_sensors (void)
 Configure the sensors, assign the channel number, aks_group, hysteresis. More...
 
static void init_timer_isr (void)
 configure timer ISR to fire regularly More...
 
static void qt_avr477_filter_cb (void)
 This function is called every time the qt measuremement is done. More...
 
static void qt_set_parameters (void)
 This will fill the default threshold values in the configuration data structure.But User can change the values of these parameters . More...
 

uint8_t comms_match ( void  )

Compares last sent values again current values of pertinent registersdetermine match based on key status registers, general status and slider position.

Returns
returns a NO_MATCH if registers don't match, MATCH if they do

References tag_memory_map_t::array, FIRST_STATUS_BYTE, MATCH, NO_MATCH, NUM_STATUS_BYTES, and sent_status_out.

void config_sensors ( void  )
static
static void init_timer_isr ( void  )
static

configure timer ISR to fire regularly

References qt_measurement_period_msec, and TICKS_PER_MS.

Referenced by main().

static void qt_avr477_filter_cb ( void  )
static
static void qt_set_parameters ( void  )
static