goodwatch/firmware/uart.h
Travis Goodspeed d917393b70 UART. Close #54
2017-12-08 18:40:53 -05:00

15 lines
253 B
C

/*! \file uart.h
\brief UART Driver for the GoodWatch
*/
//! Set to 1 if the UART is active.
extern int uartactive;
//! Initializes the UART if the host is listening.
void uart_init();
//! Transmit a byte to the UART.
void uart_tx(uint8_t byte);