UART/IrDA Control and Status Registers
12-72
Table 12–64. XOFF2 Register (XOFF2)
Bit
Name
Function
R/W
Reset
Value
7–0
XOFF_WORD2
Used to store the 8-bit XOFF2 character in used
in UART mode.
R/W
0x00
The scratchpad register (SPR) does not control the module in anyway. It is a
scratchpad register to be used by the programmer to hold temporary data.
Table 12–65. Scratchpad Register (SPR)
Bit
Name
Function
R/W
Reset
Value
7–0
SPR_WORD
Scratchpad register
R/W
0x00
The two divisor latch registers (DLL and DLH) store the 16-bit divisor for gener-
ation of the baud clock in the baud rate generator. DLL stores the least signifi-
cant part of the divisor. DLH stores the most significant part of the divisor.
DLL and DLH can only be written to before sleep mode is enabled (that is,
before IER[4] is set).
Table 12–66. Divisor Latch Low Register (DLL)
Bit
Name
Function
R/W
Reset
Value
7–0
CLOCK_LSB
Used to store the 8-bit LSB divisor value
R/W
0x00
Table 12–67. Divisor Latch High Register (DLH)
Bit
Name
Function
R/W
Reset
Value
7–0
CLOCK_MSB
Used to store the 8-bit MSB divisor value
R/W
0x00
To achieve the required baud rate, you must program DLL/DLH with the
integer part of the divisor value.
Choosing the appropriate divisor value:
UART: Divisor value = Operating Frequency/(16 x baud rate).