Add comments

This commit is contained in:
Sebastian H. Gabrielli 2024-03-06 15:55:56 +01:00
parent 06beadfe68
commit 7dd8b67378

View File

@ -21,8 +21,13 @@ extern "C" {
#define USART3_BAUD_RATE(BAUD_RATE) ((float)(F_CPU * 64 / (16 * (float)BAUD_RATE)) + 0.5)
// Initialize the USART3 controller
void init_uart(uint16_t baud);
// Send a single character over UART
void USART3_sendChar(char c);
// Send a string of characters over UART
int USART3_printChar(char c, FILE *stream);
static FILE USART_stream = FDEV_SETUP_STREAM(USART3_printChar, NULL, _FDEV_SETUP_WRITE);