28 #define TXBUFFERSIZE 256UL 30 #define RXBUFFERSIZE 256UL 31 #define RXBUFFER_WAIT_LENGTH 1 45 #ifdef CONFIG_MODULE_DEBUGUSART_ENABLE 46 extern UART_HandleTypeDef Debug_UartHandle;
48 #ifdef CONFIG_MODULE_ESP8266_ENABLE 49 extern UART_HandleTypeDef ESP8266_UartHandle;
52 extern volatile char USART_RxBuffer[RXBUFFERSIZE];
53 extern volatile char USART_TxBuffer[TXBUFFERSIZE];
55 extern volatile uint8_t USART_RxBufferWriteCounter;
62 void USART_Init(UART_HandleTypeDef *UartHandle);
64 void USART_StartReceiveMessage(
void);
66 bool USART_SendChar(
char c);
67 uint8_t USART_SendMessage(
const char *aTxBuffer);
68 bool USART_SendNewLine(
void);
69 bool USART_SendLine(
const char *message);
70 void USART_SendFloat(
float value);