#include <stdint.h>
#include <stdbool.h>
#include <stdlib.h>
|
uint8_t | GetChar (void) |
| Get one byte from the Receive Buffer RX_index is post incremented. More...
|
|
void | Init_Buffers (void) |
| Initialize the send and receive buffers Called from QDebug_Init. More...
|
|
void | PutChar (uint8_t data) |
| Puts one byte in the Transmit Buffer TX_index is post incremented. More...
|
|
void | PutInt (uint16_t data) |
| Puts two bytes in the Transmit Buffer Big Endian. More...
|
|
uint8_t | Receive_Message (void) |
| Executes a master read transmission if TWI is selected as interfaceChecks if RX_Buffer has a valid frame Called from QDebug_ProcessCommands in QDebug.c. More...
|
|
uint8_t | RxHandler (uint8_t c) |
| Handles the incomming bytes from the interface selected in QDebugSettings.h and puts the bytes in the RX_BufferUsed by SPI and TWI receive handlers. More...
|
|
void | Send_Message (void) |
| Send the content of the TX_Buffer to the USB Bridge using the interface selected in QDebugSettings.h Called from the transmit functions in QDebug.c. More...
|
|
void | Set_datamode (unsigned char mode) |
|
#define INT |
( |
|
a, |
|
|
|
b |
|
) |
| ((a << 8) | b) |
#define MESSAGE_START 0x1B |
#define QT_NUM_CHANNELS 25 |
void Init_Buffers |
( |
void |
| ) |
|
Initialize the send and receive buffers Called from QDebug_Init.
Initialize the send and receive buffers Called from QDebug_Init.
Called from QDebug_Init
Initialize the send and receive buffers Called from QDebug_Init.
- Note
- Called from QDebug_Init.
uint8_t Receive_Message |
( |
void |
| ) |
|
Executes a master read transmission if TWI is selected as interfaceChecks if RX_Buffer has a valid frame Called from QDebug_ProcessCommands in QDebug.c.
- Parameters
-
mdata | contains merged touch data in RF4CE packet |
- Returns
- returns a true or false depending on whether a valid frame is available or not
Executes a master read transmission if TWI is selected as interface
Checks if RX_Buffer has a valid frame Called from QDebug_ProcessCommands in QDebug.c.
- Returns
- uint8_t: returns a true or false Dependant on whether a valid frame is available or not
- Note
- Called from QDebug_ProcessCommands in QDebug.c.
void Set_datamode |
( |
unsigned char |
mode | ) |
|
compile qdebug files only when QDebug is enabled.