How kushal6245/uart-driver works
This repository is a C UART software simulation. The principal workflow reads a message from the terminal, configures the simulated UART, sends characters as framed bits, loops those bits into the receiver, buffers valid reconstructed characters, and prints the received message. The driver also validates configuration and reports bit/frame timing. The README describes future Arduino and STM32 stages, but those implementations are not present in the tree.
Main entry points: uart.c UART Driver · main.c Simulation App
Components 5
UART Simulation
- Simulation App
simulation/main.c - UART API
simulation/uart.h - UART Driver
simulation/uart.c - RX Buffer
simulation/uart.c
Other components
- Terminal User
Connections 8
- Terminal User → Simulation App: enters message
simulation/main.c - Simulation App → UART Driver: initializes, queries, sends, receives
simulation/main.c - Simulation App → Terminal User: prints status and result
simulation/main.c - UART Driver → UART Driver: validates configuration
simulation/uart.c - UART Driver → UART Driver: frames and transmits bits
simulation/uart.c - UART Driver → UART Driver: processes received bits
simulation/uart.c - UART Driver → RX Buffer: stores valid characters
simulation/uart.c - UART Driver → RX Buffer: reads queued characters
simulation/uart.c