USART Baud Rate Registers –
UBRRnL and UBRRnH
Bit
Read/Write
Initial Value
15
14
13
–
–
–
7
6
5
R
R
R
R/W
R/W
R/W
0
0
0
0
0
0
12
11
–
UBRRn[7:0]
4
3
R
R/W
R/W
R/W
0
0
0
0
10
9
UBRRn[11:8]
2
1
R/W
R/W
R/W
R/W
0
0
0
0
8
UBRRnH
UBRRnL
0
R/W
R/W
0
0
UBRRnH is not available in mega103 compatibility mode
• Bit 15:12 – Reserved Bits
These bits are reserved for future use. For compatibility with future devices, these bit
must be written to zero when UBRRnH is written.
• Bit 11:0 – UBRRn11:0: USARTn Baud Rate Register
This is a 12-bit register which contains the USARTn baud rate. The UBRRnH contains
the four most significant bits, and the UBRRnL contains the eight least significant bits of
the USARTn baud rate. Ongoing transmissions by the transmitter and receiver will be
corrupted if the baud rate is changed. Writing UBRRnL will trigger an immediate update
of the baud rate prescaler.
194 ATmega128
2467O–AVR–10/06