UART

Universal Asynchronous Receiver-Transmitter

UART Block Diagram

GUI (Graphical User Interface):

API (Application Programming Interface):

C API:

void init_UART(int baudrate, int data_bits, int stop_bits, int parity);

void write_TXD(int *write_data);

void read_RXD(int num_read_bytes, int *rd_buf);


PYTHON API:

init_uart(baudrate, data_bits, stop_bits, parity)

write_txd(write_data)

read_rxd(num_read_bytes)