48 #define DBPRINT_BUFFER_SIZE 80 82 void dbinfo (
char *message);
83 void dbwarn (
char *message);
84 void dbcrit (
char *message);
void dbcritInt(char *message1, int32_t value, char *message2)
Print a critical value surrounded by two strings (char array) to USARTx.
void dbprintln_color(char *message, dbprint_color_t color)
Print a string (char array) to USARTx in a given color and go to the next line.
void dbprintlnInt_hex(int32_t value)
Print a number in hexadecimal notation to USARTx and go to the next line.
void dbwarnInt_hex(char *message1, int32_t value, char *message2)
Print a warning value surrounded by two strings (char array) to USARTx.
void dbinfo(char *message)
Print an info string (char array) to USARTx and go to the next line.
void dbprintlnInt(int32_t value)
Print a number in decimal notation to USARTx and go to the next line.
uint8_t dbReadInt(void)
Read a decimal character from USARTx and convert it to a uint8_t value.
void dbwarnInt(char *message1, int32_t value, char *message2)
Print a warning value surrounded by two strings (char array) to USARTx.
void dbAlert(void)
Sound an alert in the terminal.
void dbprintln(char *message)
Print a string (char array) to USARTx and go to the next line.
void dbprint_INIT(USART_TypeDef *pointer, uint8_t location, bool vcom, bool interrupts)
Initialize USARTx.
int int32_t
Typedef defining 32 bit int type. The developer should modify this to suit the platform being deploye...
void dbprint_color(char *message, dbprint_color_t color)
Print a string (char array) to USARTx in a given color.
void dbprintInt_hex(int32_t value)
Print a number in hexadecimal notation to USARTx.
void dbGet_RXbuffer(char *buf)
Get the value of the RX buffer and clear the dataReceived flag.
char dbReadChar(void)
Read a character from USARTx.
void dbprintInt(int32_t value)
Print a number in decimal notation to USARTx.
void dbReadLine(char *buf)
Read a string (char array) from USARTx.
void dbcritInt_hex(char *message1, int32_t value, char *message2)
Print a critical value surrounded by two strings (char array) to USARTx.
bool dbGet_RXstatus(void)
Check if data was received using interrupts in the RX buffer.
void dbprint(char *message)
Print a string (char array) to USARTx.
enum dbprint_colors dbprint_color_t
void dbwarn(char *message)
Print a warning string (char array) in yellow to USARTx and go to the next line.
void dbClear(void)
Clear the terminal.
void dbinfoInt(char *message1, int32_t value, char *message2)
Print an info value surrounded by two strings (char array) to USARTx.
void dbinfoInt_hex(char *message1, int32_t value, char *message2)
Print an info value surrounded by two strings (char array) to USARTx.
void dbcrit(char *message)
Print a critical error string (char array) in red to USARTx and go to the next line.
unsigned char uint8_t
Typedef defining 8 bit unsigned char type. The developer should modify this to suit the platform bein...