#include <avr/io.h>
#include <avr/interrupt.h>
#include <stdint.h>
Data Structures | |
struct | tag_memory_map_body_t |
union | tag_memory_map_t |
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] |
#define | CHIPID 0x55u /* HP */ |
#define | SWVER 0xAAu /* Revision x.x */ |
#define | NUM_STATUS_BYTES 5u |
#define | FIRST_STATUS_BYTE 2u |
#define | NO_MATCH 0xFF |
#define | MATCH 0x00 |
typedef struct tag_memory_map_body_t | memory_map_body_t |
typedef union tag_memory_map_t | memory_map_t |
#define CHIPID 0x55u /* HP */ |
#define FIRST_STATUS_BYTE 2u |
#define MATCH 0x00 |
#define NO_MATCH 0xFF |
#define NUM_STATUS_BYTES 5u |
#define SWVER 0xAAu /* Revision x.x */ |
typedef struct tag_memory_map_body_t memory_map_body_t |
typedef union tag_memory_map_t memory_map_t |
memory_map_t memory_map |
Referenced by accelero_init(), app_task(), qt_avr477_filter_cb(), and Touch_measurement().
uint8_t sent_status_out[NUM_STATUS_BYTES] |
Referenced by comms_match().