Microchip® Advanced Software Framework

qdebug.h File Reference
#include "touch_api_at32uc3l.h"

Macros

#define QT_CMD_DUMMY   0x10
 
#define QT_CMD_SET_CH_CONFIG   0x13
 
#define QT_CMD_SET_GLOBAL_CONFIG   0x12
 
#define QT_CMD_SET_MEASUREMENT_PERIOD   0x14
 
#define QT_CMD_SET_QM_BURST_LENGTHS   0x15
 
#define QT_CMD_SET_SUBS   0x11
 
#define QT_DELTAS   0x26
 
#define QT_DUMMY   0x20
 
#define QT_GLOBAL_CONFIG   0x22
 
#define QT_REFERENCES   0x25
 
#define QT_SENSOR_CONFIG   0x23
 
#define QT_SIGN_ON   0x21
 
#define QT_SIGNALS   0x24
 
#define QT_STATES   0x27
 
#define SUBS_DELTA   5
 
#define SUBS_GLOBAL_CONFIG   1
 
#define SUBS_REF   4
 
#define SUBS_SENSOR_CONFIG   2
 
#define SUBS_SIGN_ON   0
 
#define SUBS_SIGNALS   3
 
#define SUBS_STATES   6
 

Functions

void QDebug_Init (void)
 
void QDebug_ProcessCommands (void)
 
void QDebug_SendData (uint16_t qt_lib_flags)
 
void QDebug_SetSubscriptions (uint16_t once, uint16_t change, uint16_t allways)
 
void Set_Channel_Config (void)
 
void Set_Global_Config (void)
 
void Set_Measurement_Period (void)
 
void Set_QM_Burst_Lengths (void)
 
void Set_Subscriptions (void)
 
void Transmit_Delta (void)
 
void Transmit_Dummy (void)
 
void Transmit_Global_Config (void)
 
void Transmit_Ref (void)
 
void Transmit_Sensor_Config (void)
 
void Transmit_Sign_On (void)
 
void Transmit_Signals (void)
 
void Transmit_State (void)
 

Variables

touch_measure_data_tp_qm_measure_data
 Pointer to the measured data. More...
 
touch_measure_data_tp_qta_measure_data
 QTouch Group A measure data structure pointer. More...
 
touch_measure_data_tp_qtb_measure_data
 

#define QT_CMD_DUMMY   0x10

Referenced by QDebug_ProcessCommands().

#define QT_CMD_SET_CH_CONFIG   0x13

Referenced by QDebug_ProcessCommands().

#define QT_CMD_SET_GLOBAL_CONFIG   0x12

Referenced by QDebug_ProcessCommands().

#define QT_CMD_SET_MEASUREMENT_PERIOD   0x14
#define QT_CMD_SET_QM_BURST_LENGTHS   0x15

Referenced by QDebug_ProcessCommands().

#define QT_CMD_SET_SUBS   0x11

Referenced by QDebug_ProcessCommands().

#define QT_DELTAS   0x26

Referenced by Transmit_Delta().

#define QT_DUMMY   0x20

Referenced by Transmit_Dummy().

#define QT_GLOBAL_CONFIG   0x22

Referenced by Transmit_Global_Config().

#define QT_REFERENCES   0x25

Referenced by Transmit_Ref().

#define QT_SENSOR_CONFIG   0x23

Referenced by Transmit_Sensor_Config().

#define QT_SIGN_ON   0x21

Referenced by Transmit_Sign_On().

#define QT_SIGNALS   0x24

Referenced by Transmit_Signals().

#define QT_STATES   0x27

Referenced by Transmit_State().

#define SUBS_DELTA   5

Referenced by QDebug_SendData().

#define SUBS_GLOBAL_CONFIG   1

Referenced by QDebug_SendData().

#define SUBS_REF   4

Referenced by QDebug_SendData().

#define SUBS_SENSOR_CONFIG   2

Referenced by QDebug_SendData().

#define SUBS_SIGN_ON   0

Referenced by QDebug_SendData().

#define SUBS_SIGNALS   3

Referenced by QDebug_SendData().

#define SUBS_STATES   6

Referenced by QDebug_SendData().

void QDebug_Init ( void  )
void QDebug_SetSubscriptions ( uint16_t  once,
uint16_t  change,
uint16_t  allways 
)

References qgSubsAllways, qgSubsChange, and qgSubsOnce.

Referenced by Set_Subscriptions().

void Set_Measurement_Period ( void  )

Referenced by QDebug_ProcessCommands().

void Set_QM_Burst_Lengths ( void  )

Referenced by QDebug_ProcessCommands().

void Set_Subscriptions ( void  )

References a(), b, c, GetChar(), and QDebug_SetSubscriptions().

Referenced by QDebug_ProcessCommands().

void Transmit_Delta ( void  )

References c, PutChar(), QT_DELTAS, Send_Message(), and UNUSED.

Referenced by QDebug_SendData().

void Transmit_Dummy ( void  )

References PutChar(), QT_DUMMY, and Send_Message().

Referenced by QDebug_SendData().

void Transmit_Ref ( void  )

References c, PutChar(), QT_REFERENCES, and Send_Message().

Referenced by QDebug_SendData().

void Transmit_Sensor_Config ( void  )
void Transmit_Sign_On ( void  )
void Transmit_Signals ( void  )

References c, PutChar(), QT_SIGNALS, and Send_Message().

Referenced by QDebug_SendData().

void Transmit_State ( void  )

touch_measure_data_t* p_qm_measure_data

Pointer to the measured data.

Needs to be global since it is required for the QDebug module.

Pointer to the measured data.

touch_measure_data_t* p_qta_measure_data

QTouch Group A measure data structure pointer.

touch_measure_data_t* p_qtb_measure_data