mirror of
https://github.com/travisgoodspeed/goodwatch
synced 2024-11-22 16:59:57 +00:00
b702e12fe1
UART monitor can now transmit packets. #55 Cleanups to the beacon. #53
21 lines
356 B
C
21 lines
356 B
C
/*! \file uart.h
|
|
\brief UART Driver for the GoodWatch
|
|
*/
|
|
|
|
//! Set to 1 if the UART is active.
|
|
extern int uartactive;
|
|
|
|
//! UART buffer length.
|
|
#define UARTBUFLEN 64
|
|
//! UART receive buffer.
|
|
extern uint8_t uart_buffer[];
|
|
|
|
|
|
//! Initializes the UART if the host is listening.
|
|
void uart_init();
|
|
|
|
//! Transmit a byte to the UART.
|
|
void uart_tx(uint8_t byte);
|
|
|
|
|