2025-06-08 22:33:35 +02:00

17 lines
368 B
C

/* (C) András Wiesner, 2020 */
#ifndef SRC_UART_COMM
#define SRC_UART_COMM
#include <stdint.h>
// UART initialization
void UART_init();
// send data through UART
// - if length = 0, then pBuffer-t is treated as a null-terminated string
void UART_send(const uint8_t * pBuffer, uint32_t length);
void UART_sendStr(const char * pBuffer);
#endif /* SRC_UART_COMM */