Skip to main content

Section 3.4 Inside uart.c: Reading the Driver

We hand you two files, uart.h and uart.c, which you #include and call. This section opens them up: it shows the complete driver, connects every line to a register you have already configured yourself, and prepares you to adapt it for a different UART peripheral.