ata6603 ATMEL Corporation, ata6603 Datasheet - Page 224

no-image

ata6603

Manufacturer Part Number
ata6603
Description
Microcontroller With Lin Transceiver, 5v Regulator And Watchdog
Manufacturer
ATMEL Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ata6603-PLQW
Manufacturer:
JTEC
Quantity:
2
Part Number:
ata6603P
Quantity:
1 262
Part Number:
ata6603P-PLQW
Manufacturer:
ATMEL
Quantity:
2 000
Part Number:
ata6603P-PLQW
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ata6603PPLQW
Manufacturer:
STM
Quantity:
5 006
4.18.6
4.18.6.1
4.18.6.2
224
ATA6602/ATA6603
USART MSPIM Register Description
USART MSPIM I/O Data Register - UDRn
USART MSPIM Control and Status Register n A - UCSRnA
The following section describes the registers used for SPI operation using the USART.
The function and bit description of the USART data register (UDRn) in MSPI mode is identical to
normal USART operation (see
Initial Value
• Bit 7 - RXCn: USART Receive Complete
• Bit 6 - TXCn: USART Transmit Complete
• Bit 5 - UDREn: USART Data Register Empty
• Bit 4:0 - Reserved Bits in MSPI mode
Read/Write
This flag bit is set when there are unread data in the receive buffer and cleared when the
receive buffer is empty (i.e., does not contain any unread data). If the Receiver is disabled,
the receive buffer will be flushed and consequently the RXCn bit will become zero. The
RXCn Flag can be used to generate a Receive Complete interrupt (see description of the
RXCIEn bit).
This flag bit is set when the entire frame in the Transmit Shift Register has been shifted out
and there are no new data currently present in the transmit buffer (UDRn). The TXCn Flag
bit is automatically cleared when a transmit complete interrupt is executed, or it can be
cleared by writing a one to its bit location. The TXCn Flag can generate a Transmit Com-
plete interrupt (see description of the TXCIEn bit).
The UDREn Flag indicates if the transmit buffer (UDRn) is ready to receive new data. If
UDREn is one, the buffer is empty, and therefore ready to be written. The UDREn Flag can
generate a Data Register Empty interrupt (see description of the UDRIE bit). UDREn is set
after a reset to indicate that the Transmitter is ready.
When in MSPI mode, these bits are reserved for future use. For compatibility with future
devices, these bits must be written to zero when UCSRnA is written.
Bit
RXCn
R/W
7
0
TXCn
R/W
6
0
UDREn
“USART I/O Data Register n– UDRn” on page
R/W
5
0
R
4
0
-
R
3
0
-
R
2
1
-
R
1
1
-
210).
R
0
0
-
4921D–AUTO–08/07
UCSRnA

Related parts for ata6603