GaIA BIOS Library
Loading...
Searching...
No Matches
Buffered Serial

Overview

This example shows an implementation of a buffered serial interface.

Behavior

The application sends a counter string on serial port 0 (CN_SER0, next to the DIP swtich) and toggles the counter when a character is received. Incoming bytes are buffered if the application is not ready to read them immediately.

Setup

Serial port 0 configuration:

9600 baud, 8 data bits, no parity, 1 stop bit, append CR.