Microchip® Advanced Software Framework

memorymap.c File Reference

memory map for QTouch

Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.

#include "memorymap.h"

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...
 

Variables

memory_map_t memory_map
 
uint8_t sent_status_out [NUM_STATUS_BYTES]
 

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.

memory_map_t memory_map

Referenced by Touch_measurement().

uint8_t sent_status_out[NUM_STATUS_BYTES]

Referenced by comms_match().