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_QT_User_Data (uint8_t *pdata) |
void | Set_Subscriptions (void) |
void | Transmit_Delta (void) |
void | Transmit_Dummy (void) |
void | Transmit_Global_Config (void) |
void | Transmit_QT_User_Data (uint8_t *pdata, uint16_t c) |
void | Transmit_Ref (void) |
void | Transmit_Sensor_Config (void) |
void | Transmit_Sign_On (void) |
void | Transmit_Signals (void) |
void | Transmit_State (void) |
void | Transmit_Time_Stamps (void) |
Variables | |
volatile int8_t | autonomous_qtouch_in_touch |
Flag set by touch_at_status_change_interrupt_callback() function when a fresh touch status is available. More... | |
static uint16_t | delivery = 0 |
uint16_t | measurement_period_ms |
Touch Measurement period in milliseconds. More... | |
static uint16_t | qgLibraryChanges = 0 |
uint8_t | qgRefschanged |
uint8_t | qgStateschanged |
static uint16_t | qgSubsAllways = 0 |
static uint16_t | qgSubsChange = 0 |
static uint16_t | qgSubsOnce = 0 |
uint16_t | timestamp1_hword |
uint16_t | timestamp1_lword |
uint16_t | timestamp2_hword |
uint16_t | timestamp2_lword |
uint16_t | timestamp3_hword |
uint16_t | timestamp3_lword |
touch_config_t | touch_config |
Touch Library input configuration structure. More... | |
void QDebug_Init | ( | void | ) |
References Init_Buffers(), SERIAL_Init(), SPI_Master_Init(), and TOUCH_SUCCESS.
Referenced by init_touch(), and main().
void QDebug_ProcessCommands | ( | void | ) |
References GetChar(), QT_CMD_DUMMY, QT_CMD_SET_CH_CONFIG, QT_CMD_SET_GLOBAL_CONFIG, QT_CMD_SET_QM_BURST_LENGTHS, QT_CMD_SET_SUBS, Receive_Message(), RX_Buffer, RX_index, Set_Channel_Config(), Set_Global_Config(), Set_Measurement_Period(), Set_QM_Burst_Lengths(), and Set_Subscriptions().
Referenced by main(), and touch_handler().
void QDebug_SendData | ( | uint16_t | qt_lib_flags | ) |
References delivery, qgLibraryChanges, qgSubsAllways, qgSubsChange, qgSubsOnce, SequenceH, SUBS_DELTA, SUBS_GLOBAL_CONFIG, SUBS_REF, SUBS_SENSOR_CONFIG, SUBS_SIGN_ON, SUBS_SIGNALS, SUBS_STATES, TOUCH_CHANNEL_REF_CHANGE, TOUCH_ROTOR_SLIDER_POS_CHANGE, TOUCH_STATUS_CHANGE, Transmit_Delta(), Transmit_Dummy(), Transmit_Global_Config(), Transmit_Ref(), Transmit_Sensor_Config(), Transmit_Sign_On(), Transmit_Signals(), and Transmit_State().
Referenced by main(), and touch_handler().
void QDebug_SetSubscriptions | ( | uint16_t | once, |
uint16_t | change, | ||
uint16_t | allways | ||
) |
References qgSubsAllways, qgSubsChange, and qgSubsOnce.
Referenced by Set_Subscriptions().
void Set_Channel_Config | ( | void | ) |
void Set_Global_Config | ( | void | ) |
References tag_touch_global_param_t::di, tag_touch_global_param_t::drift_hold_time, tag_touch_at_param_t::filter, GetChar(), tag_touch_global_param_t::max_on_duration, tag_touch_at_param_t::ndrift, tag_touch_global_param_t::neg_drift_rate, tag_touch_at_param_t::pdrift, tag_touch_global_param_t::pos_drift_rate, tag_touch_global_param_t::pos_recal_delay, tag_touch_at_param_t::pthr, tag_touch_global_param_t::recal_threshold, TOUCH_SUCCESS, and UNUSED.
Referenced by QDebug_ProcessCommands().
void Set_Measurement_Period | ( | void | ) |
Referenced by QDebug_ProcessCommands().
void Set_QT_User_Data | ( | uint8_t * | pdata | ) |
References PutChar(), RX_Buffer, and Send_Message().
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_Global_Config | ( | void | ) |
References tag_touch_global_param_t::di, tag_touch_global_param_t::drift_hold_time, tag_touch_at_param_t::filter, tag_touch_global_param_t::max_on_duration, measurement_period_ms, tag_touch_at_param_t::ndrift, tag_touch_global_param_t::neg_drift_rate, tag_touch_at_param_t::pdrift, tag_touch_global_param_t::pos_drift_rate, tag_touch_global_param_t::pos_recal_delay, tag_touch_at_param_t::pthr, PutChar(), PutInt(), QT_GLOBAL_CONFIG, tag_touch_global_param_t::recal_threshold, Send_Message(), TOUCH_SUCCESS, and UNUSED.
Referenced by QDebug_SendData().
void Transmit_QT_User_Data | ( | uint8_t * | pdata, |
uint16_t | c | ||
) |
References PutChar(), and Send_Message().
void Transmit_Ref | ( | void | ) |
References c, PutChar(), QT_REFERENCES, and Send_Message().
Referenced by QDebug_SendData().
void Transmit_Sensor_Config | ( | void | ) |
References c, PutChar(), QT_SENSOR_CONFIG, Send_Message(), tag_touch_at_param_t::sense, and TOUCH_SUCCESS.
Referenced by QDebug_SendData().
void Transmit_Sign_On | ( | void | ) |
References delivery, INTERFACE, PROJECT_ID, PutChar(), PutInt(), QT_SIGN_ON, and Send_Message().
Referenced by QDebug_SendData().
void Transmit_Signals | ( | void | ) |
References c, PutChar(), QT_SIGNALS, and Send_Message().
Referenced by QDebug_SendData().
void Transmit_State | ( | void | ) |
References autonomous_qtouch_in_touch, c, PutChar(), QT_STATES, and Send_Message().
Referenced by QDebug_SendData().
void Transmit_Time_Stamps | ( | void | ) |
References PutInt(), Send_Message(), timestamp1_hword, timestamp1_lword, timestamp2_hword, timestamp2_lword, timestamp3_hword, and timestamp3_lword.
volatile int8_t autonomous_qtouch_in_touch |
Flag set by touch_at_status_change_interrupt_callback() function when a fresh touch status is available.
Referenced by touch_at_status_change_callback(), touch_at_status_change_interrupt_callback(), and Transmit_State().
|
static |
Referenced by QDebug_SendData(), and Transmit_Sign_On().
uint16_t measurement_period_ms |
Touch Measurement period in milliseconds.
This variable determines how often a new touch measurement must be done. Default value: Every 25 milliseconds.
Touch Measurement period in milliseconds.
Touch Measurement period in milliseconds.
Needs to be global since it is required for the QDebug module.
Referenced by ISR(), tc_irq(), and Transmit_Global_Config().
|
static |
Referenced by QDebug_SendData().
uint8_t qgRefschanged |
uint8_t qgStateschanged |
|
static |
Referenced by QDebug_SendData(), and QDebug_SetSubscriptions().
|
static |
Referenced by QDebug_SendData(), and QDebug_SetSubscriptions().
|
static |
Referenced by QDebug_SendData(), and QDebug_SetSubscriptions().
uint16_t timestamp1_hword |
Referenced by Transmit_Time_Stamps().
uint16_t timestamp1_lword |
Referenced by Transmit_Time_Stamps().
uint16_t timestamp2_hword |
Referenced by Transmit_Time_Stamps().
uint16_t timestamp2_lword |
Referenced by Transmit_Time_Stamps().
uint16_t timestamp3_hword |
Referenced by Transmit_Time_Stamps().
uint16_t timestamp3_lword |
Referenced by Transmit_Time_Stamps().
touch_config_t touch_config |
Touch Library input configuration structure.