int(* rxChar)(struct text_struct *p)
int(* txChar)(struct text_struct *p, int ch)
int serial_txChar(serial *device, int txbyte)
Send a byte.
This library supports creating and managing one or more half duplex serial connections with periphera...
Defines serial interface structure of 9 contiguous int variables.
Structure that contains data used by simple text device libraries.
int serial_rxChar(serial *device)
Receive a byte. Waits until next byte is received.
volatile int terminalEcho
serial * serial_open(int rxpin, int txpin, int mode, int baudrate)
Open a simple (half duplex) serial connection.