ATA6602 ATMEL Corporation, ATA6602 Datasheet - Page 204
ATA6602
Manufacturer Part Number
ATA6602
Description
LIN and Microcontroller System-In-Package: LIN Transceiver, integrated 5V/50 mA voltage regulator, window watchdog and automotive AVR ATmega88 (8 kBytes Flash); green QFN48 package.
Manufacturer
ATMEL Corporation
Datasheet
1.ATA6602.pdf
(362 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
ATA6602-PLQW
Manufacturer:
ATMEL
Quantity:
1 727
Part Number:
ATA6602-PLQW
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Company:
Part Number:
ATA6602NPLQW
Manufacturer:
ATMEL
Quantity:
7 234
- Current page: 204 of 362
- Download datasheet (5Mb)
4.17.6.5
4.17.6.6
4.17.6.7
204
ATA6602/ATA6603
Parity Checker
Disabling the Receiver
Flushing the Receive Buffer
The Parity Checker is active when the high USART Parity mode (UPMn1) bit is set. Type of Par-
ity Check to be performed (odd or even) is selected by the UPMn0 bit. When enabled, the Parity
Checker calculates the parity of the data bits in incoming frames and compares the result with
the parity bit from the serial frame. The result of the check is stored in the receive buffer together
with the received data and stop bits. The Parity Error (UPEn) Flag can then be read by software
to check if the frame had a Parity Error.
The UPEn bit is set if the next character that can be read from the receive buffer had a Parity
Error when received and the Parity Checking was enabled at that point (UPMn1 = 1). This bit is
valid until the receive buffer (UDRn) is read.
In contrast to the Transmitter, disabling of the Receiver will be immediate. Data from ongoing
receptions will therefore be lost. When disabled (i.e., the RXENn is set to zero) the Receiver will
no longer override the normal function of the RxDn port pin. The Receiver buffer FIFO will be
flushed when the Receiver is disabled. Remaining data in the buffer will be lost
The receiver buffer FIFO will be flushed when the Receiver is disabled, i.e., the buffer will be
emptied of its contents. Unread data will be lost. If the buffer has to be flushed during normal
operation, due to for instance an error condition, read the UDRn I/O location until the RXCn Flag
is cleared. The following code example shows how to flush the receive buffer.
Note:
Assembly Code Example
C Code Example
USART_Flush:
void USART_Flush( void )
{
}
sbis UCSRnA, RXCn
ret
in
rjmp USART_Flush
unsigned char dummy;
while ( UCSRnA & (1<<RXCn) ) dummy = UDRn;
1. The example code assumes that the part specific header file is included.
For I/O Registers located in extended I/O map, “IN”, “OUT”, “SBIS”, “SBIC”, “CBI”, and “SBI”
instructions must be replaced with instructions that allow access to extended I/O. Typically
“LDS” and “STS” combined with “SBRS”, “SBRC”, “SBR”, and “CBR”.
r16, UDRn
(1)
(1)
4921C–AUTO–01/07
Related parts for ATA6602
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Digital Attenuator, 50 Db, 6-bit, Ttl Driver, Dc - 2 Ghz
Manufacturer:
Tyco Electronics
Datasheet:
Part Number:
Description:
Voltage Variable Absorptive Attenuator, 30 Db 0.5 - 2 Ghz
Manufacturer:
Tyco Electronics
Datasheet:
Part Number:
Description:
3 Volt Voltage Variable Absorptive Attenuator 40 Db, 0.5-2.0 Ghz
Manufacturer:
Tyco Electronics
Datasheet:
Part Number:
Description:
Digital Attenu A T O R, 15 Db, 4-bit Dc - 2 Ghz
Manufacturer:
Tyco Electronics
Datasheet:
Part Number:
Description:
Digital Attenuator, 30 Db, 4-bit Dc - 2 Ghz
Manufacturer:
Tyco Electronics
Datasheet:
Part Number:
Description:
Digital Attenuator, 28 Db, 3-bit Dc - 2 Ghz
Manufacturer:
Tyco Electronics
Datasheet:
Part Number:
Description:
Digital Attenuator, 15.5 Db, 5-bit Dc - 2 Ghz
Manufacturer:
Tyco Electronics
Datasheet:
Part Number:
Description:
2.25 Volt Voltage Variable Absorptive Attenuator - 40 dB/ 1.8.2.5 GHz
Manufacturer:
Tyco Electronics
Datasheet:
Part Number:
Description:
Low Current/ High Performance NPN Silicon Bipolar Transistor
Manufacturer:
Agilent(Hewlett-Packard)
Datasheet:
Part Number:
Description:
Low Current/ High Performance NPN Silicon Bipolar Transistor
Manufacturer:
Agilent(Hewlett-Packard)
Datasheet:
Part Number:
Description:
Low Current/ High Performance NPN Silicon Bipolar Transistor
Manufacturer:
Agilent(Hewlett-Packard)
Datasheet:
Part Number:
Description:
(AT-332 / AT-337) Voltage Variable Absorptive Attenuator DC - 2 GHz
Manufacturer:
Tyco Electronics
Datasheet:
Part Number:
Description:
Digital Attenuator, 31.5 Db, 6-bit, Ttl Driver, Dc - 2 Ghz
Manufacturer:
Tyco Electronics
Datasheet:
Part Number:
Description:
2.25 Volt Voltage Variable Absorptive Attenuator - 40 Db, 1.8.2.5 Ghz
Manufacturer:
Tyco Electronics
Datasheet:
Part Number:
Description:
Digital Attenuator, 30 Db, 4-bit, Dc - 2 Ghz
Manufacturer:
Tyco Electronics
Datasheet: