Microchip® Advanced Software Framework

QDebug.c File Reference
#include "touch_api.h"
#include "QDebug.h"
#include "QDebugTransport.h"
#include "QDebugSettings.h"
#include "eeprom_access.h"
#include "TWI_Master.h"

Functions

void QDebug_Init (void)
 This API initializes QDebug interface. More...
 
void QDebug_ProcessCommands (void)
 Command handler for the data received from QTouch Studio. More...
 
void QDebug_SendData (uint16_t qt_lib_flags)
 Send data to QTouch Studio based on the subscription. More...
 
void QDebug_SetSubscriptions (uint16_t once, uint16_t change, uint16_t allways)
 Set subscription values. More...
 
void Set_Channel_Config (void)
 Extract the data packet from QTouch Studio and set channel config. More...
 
void Set_Global_Config (void)
 Extract the data packet from QTouch Studio and set global config. More...
 
void Set_QT_User_Data (uint8_t *pdata)
 Extracts user data from QTouch Studio to touch mcu memory. More...
 
void Set_Subscriptions (void)
 Set Data Subscription values. More...
 
void Transmit_Delta (void)
 Transmits the channel delta values to QTouch Studio. More...
 
void Transmit_Dummy (void)
 Transmits a dummy packet if no other subscriptions are set. More...
 
void Transmit_Global_Config (void)
 Transmits the global config struct to QTouch Studio. More...
 
void Transmit_QT_User_Data (uint8_t *pdata, uint16_t c)
 Transmits user data to QTouch Studio. More...
 
void Transmit_Ref (void)
 Transmits the channel reference values to QTouch Studio. More...
 
void Transmit_Sensor_Config (void)
 Transmits the channel config struct to QTouch Studio. More...
 
void Transmit_Sign_On (void)
 Transmits the sign on packet to QTouch Studio. More...
 
void Transmit_Signals (void)
 Transmits the measurement values for each channel to QTouch Studio. More...
 
void Transmit_State (void)
 Transmits the state values to QTouch Studio. More...
 
void Transmit_Time_Stamps (void)
 Transmits the application execution timestamp values to QTouch Studio. More...
 

Variables

static uint16_t delivery = 0
 Subscriptions. More...
 
qt_lib_siginfo_t lib_siginfo
 
uint8_t num_sensors
 
static uint16_t qgLibraryChanges = 0
 
uint8_t qgRefschanged
 These must somehow be updated from the library. More...
 
uint8_t qgStateschanged
 
static uint16_t qgSubsAllways = 0
 
static uint16_t qgSubsChange = 0
 
static uint16_t qgSubsOnce = 0
 
uint16_t timestamp1_hword
 Time stamp information. More...
 
uint16_t timestamp1_lword
 
uint16_t timestamp2_hword
 
uint16_t timestamp2_lword
 
uint16_t timestamp3_hword
 
uint16_t timestamp3_lword
 

void Transmit_Ref ( void  )

Transmits the channel reference values to QTouch Studio.

Note

References tag_qt_touch_lib_measure_data_t::channel_references, PutChar(), qt_measure_data, QT_NUM_CHANNELS, QT_REFERENCES, and Send_Message().

uint16_t delivery = 0
static

Subscriptions.

qt_lib_siginfo_t lib_siginfo
uint8_t num_sensors
uint16_t qgLibraryChanges = 0
static

Referenced by QDebug_SendData().

uint8_t qgRefschanged

These must somehow be updated from the library.

uint8_t qgStateschanged
uint16_t qgSubsAllways = 0
static
uint16_t qgSubsChange = 0
static
uint16_t qgSubsOnce = 0
static
uint16_t timestamp1_hword

Time stamp information.

uint16_t timestamp1_lword
uint16_t timestamp2_hword
uint16_t timestamp2_lword
uint16_t timestamp3_hword
uint16_t timestamp3_lword