The use of a timer in order to generate the baud rates required for the application was discussed previously. Timer 1 can be used to generate the baud rate for UART0 for this peripheral. For a detailed overview of timer operations, review the training module available that covers the different operating modes for the timers. In order to generate the baud rate for the UART, the timer in the 8-bit auto reload mode will be used. As an overview to the timer's course, this mode allows the timer to be used as an 8-bit timer and provides a register that is capable of reloading a count value upon overflow of the timer. The number of counts it takes the timer to overflow using this method is 256 in the TH0. For example, if the TH0 value is 0xF0 then it would have 16 counts on the timer before it reached the overflow. In this way, the different baud rates based on the system clock can be generated.