2.1.5.1 The Interrupt Service Routines

Flowcharts for the ISRs are shown in the two figures below. The UART Data Register Empty (UDRE) ISR is run every time there is room for data in the UART transmission buffer. The UART Receive Complete (RXC) ISR is run every time data has been received and is ready in the UART reception buffer. Flowcharts for the helper functions are shown in figure Helper Functions.

Figure 2-5. UDRE Interrupt Service Routine
Figure 2-6. RXC Interrupt Service Routine