Microchip® Advanced Software Framework

qdebugtransport.h File Reference

API of the QDebug transport layer.

Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.

#include "touch_api_at32uc3l.h"


#define INT(a, b)   ((a << 8) | b)
#define MESSAGE_START   0x1B
#define STATE_DATA   3
#define STATE_IDLE   0
#define STATE_LENGTH1   1
#define STATE_LENGTH2   2


uint8_t GetChar (void)
void Init_Buffers (void)
void PutChar (uint8_t data)
void PutInt (uint16_t data)
uint8_t Receive_Message (void)
uint8_t RxHandler (uint8_t c)
void Send_Message (void)
void Set_datamode (unsigned char mode)


uint8_t RX_Buffer [RX_BUFFER_SIZE]
uint16_t RX_index
uint8_t SequenceH
uint8_t SequenceL
uint8_t TX_Buffer [TX_BUFFER_SIZE]
uint16_t TX_index

#define INT (   a,
)    ((a << 8) | b)
#define MESSAGE_START   0x1B

Referenced by Init_Buffers(), and int_usart_handler().

#define STATE_DATA   3

Referenced by RxHandler().

#define STATE_IDLE   0

Referenced by RxHandler().

#define STATE_LENGTH1   1

Referenced by RxHandler().

#define STATE_LENGTH2   2

Referenced by RxHandler().

uint8_t GetChar ( void  )
void Init_Buffers ( void  )

References i, MESSAGE_START, RX_Buffer, RX_index, TX_Buffer, and TX_index.

Referenced by QDebug_Init().

void PutInt ( uint16_t  data)
uint8_t Receive_Message ( void  )
uint8_t RxHandler ( uint8_t  c)
void Set_datamode ( unsigned char  mode)

uint16_t RX_index
uint8_t SequenceH

Referenced by QDebug_SendData(), and Send_Message().

uint8_t SequenceL

Referenced by Send_Message().

uint8_t TX_Buffer[TX_BUFFER_SIZE]
uint16_t TX_index