24 #ifndef _WATCH_UART_H_INCLUDED
25 #define _WATCH_UART_H_INCLUDED
60 __attribute__((deprecated(
"Use watch_enable_uart to enable the UART.")))
61 void watch_enable_debug_uart(uint32_t baud);
67 void watch_debug_putc(
char c);
73 void watch_debug_puts(
char *s);
char watch_uart_getc(void)
Receives a single byte from the UART's RX pin.
void watch_enable_uart(const uint8_t tx_pin, const uint8_t rx_pin, uint32_t baud)
Initializes the debug UART.
void watch_uart_puts(char *s)
Transmits a string of bytes on the UART's TX pin.
__attribute__((deprecated("Use watch_enable_uart to enable the UART."))) void watch_enable_debug_uart(uint32_t baud)
Initializes the debug UART.