Datasheet

Table Of Contents
158
ATmega32A [DATASHEET]
Atmel-8155D-AVR-ATmega32A-Datasheet_02/2014
Bit 3 – USBS: Stop Bit Select
This bit selects the number of Stop Bits to be inserted by the Transmitter. The Receiver ignores this setting.
Bit 2:1 – UCSZ1:0: Character Size
The UCSZ1:0 bits combined with the UCSZ2 bit in UCSRB sets the number of data bits (Character Size) in a frame
the Receiver and Transmitter use.
Bit 0 – UCPOL: Clock Polarity
This bit is used for Synchronous mode only. Write this bit to zero when Asynchronous mode is used. The UCPOL
bit sets the relationship between data output change and data input sample, and the synchronous clock (XCK).
Table 20-5. UPM Bits Settings
UPM1 UPM0 Parity Mode
00Disabled
01Reserved
1 0 Enabled, Even Parity
1 1 Enabled, Odd Parity
Table 20-6. USBS Bit Settings
USBS Stop Bit(s)
01-bit
12-bit
Table 20-7. UCSZ Bits Settings
UCSZ2 UCSZ1 UCSZ0 Character Size
000 5-bit
001 6-bit
010 7-bit
011 8-bit
1 0 0 Reserved
1 0 1 Reserved
1 1 0 Reserved
111 9-bit
Table 20-8. UCPOL Bit Settings
UCPOL
Transmitted Data Changed (Output of TxD
Pin)
Received Data Sampled (Input on RxD
Pin)
0 Rising XCK Edge Falling XCK Edge
1 Falling XCK Edge Rising XCK Edge