欢迎访问ic37.com |
会员登录 免费注册
发布采购

90USB1287-16AU 参数 Datasheet PDF下载

90USB1287-16AU图片预览
型号: 90USB1287-16AU
PDF下载: 下载PDF文件 查看货源
内容描述: 单片机具有ISP功能的Flash和USB控制器64 / 128K字节 [Microcontroller with 64/128K Bytes of ISP Flash and USB Controller]
分类和应用: 微控制器
文件页数/大小: 434 页 / 3172 K
品牌: ATMEL [ ATMEL ]
 浏览型号90USB1287-16AU的Datasheet PDF文件第209页浏览型号90USB1287-16AU的Datasheet PDF文件第210页浏览型号90USB1287-16AU的Datasheet PDF文件第211页浏览型号90USB1287-16AU的Datasheet PDF文件第212页浏览型号90USB1287-16AU的Datasheet PDF文件第214页浏览型号90USB1287-16AU的Datasheet PDF文件第215页浏览型号90USB1287-16AU的Datasheet PDF文件第216页浏览型号90USB1287-16AU的Datasheet PDF文件第217页  
AT90USB64/128  
Note:  
1. See “About Code Examples” on page 8.  
19.5.1  
19.5.2  
Transmitter and Receiver Flags and Interrupts  
The RXCn, TXCn, and UDREn flags and corresponding interrupts in USART in MSPIM mode  
are identical in function to the normal USART operation. However, the receiver error status flags  
(FE, DOR, and PE) are not in use and is always read as zero.  
Disabling the Transmitter or Receiver  
The disabling of the transmitter or receiver in USART in MSPIM mode is identical in function to  
the normal USART operation.  
19.6 USART MSPIM Register Description  
The following section describes the registers used for SPI operation using the USART.  
19.6.1  
19.6.2  
USART MSPIM I/O Data Register - UDRn  
The function and bit description of the USART data register (UDRn) in MSPI mode is identical to  
normal USART operation. See “USART I/O Data Register n– UDRn” on page 199.  
USART MSPIM Control and Status Register n A - UCSRnA  
Bit  
7
6
5
4
3
2
-
1
-
0
-
RXCn  
TXCn  
UDREn  
-
-
UCSRnA  
Read/Write  
Initial Value  
R/W  
0
R/W  
0
R/W  
0
R
0
R
0
R
1
R
1
R
0
• Bit 7 - RXCn: USART Receive Complete  
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).  
• Bit 6 - TXCn: USART Transmit Complete  
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 auto-  
matically 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 Complete interrupt (see  
description of the TXCIEn bit).  
• Bit 5 - UDREn: USART Data Register Empty  
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.  
• Bit 4:0 - Reserved Bits in MSPI mode  
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.  
213  
7593A–AVR–02/06  
 复制成功!