Microchip® Advanced Software Framework

qtouch_debug_frame.c File Reference

Functions

int get_message (struct hid_frames frame)
 This function get a messages from USB and rebuild it in a single. More...
 
void send_message (char *message, unsigned int size)
 This function split message received from USART to USB frame messages. More...
 

Variables

struct hid_frames hid_rx_frame [MAX_TX_PACKET_NUMBER]
 
struct hid_frames hid_tx_frame [MAX_RX_PACKET_NUMBER]
 
unsigned int rx_index =0
 
char serial_rx_frame [MAX_TX_PACKET_NUMBER *PAYLOAD_SIZE]
 
char serial_tx_frame [MAX_TX_PACKET_NUMBER *PAYLOAD_SIZE]
 
unsigned int tx_index =0
 

int get_message ( struct hid_frames  frame)
void send_message ( char *  message,
unsigned int  size 
)

struct hid_frames hid_rx_frame[MAX_TX_PACKET_NUMBER]

Referenced by hid_report_in(), and send_message().

struct hid_frames hid_tx_frame[MAX_RX_PACKET_NUMBER]

Referenced by get_message().

unsigned int rx_index =0
char serial_rx_frame[MAX_TX_PACKET_NUMBER *PAYLOAD_SIZE]

Referenced by fill_tx_buffer().

unsigned int tx_index =0

Referenced by get_message().