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

ATMEGA2560-16AU-SL383 参数 Datasheet PDF下载

ATMEGA2560-16AU-SL383图片预览
型号: ATMEGA2560-16AU-SL383
PDF下载: 下载PDF文件 查看货源
内容描述: [Microcontroller, 8-Bit, FLASH, AVR RISC CPU, 16MHz, CMOS, PQFP100, 14 X 14 MM, 1 MM HEIGHT, 0.50 MM PITCH, GREEN, PLASTIC, MS-026AED, TQFP-100]
分类和应用: 时钟微控制器
文件页数/大小: 448 页 / 7518 K
品牌: ATMEL [ ATMEL ]
 浏览型号ATMEGA2560-16AU-SL383的Datasheet PDF文件第234页浏览型号ATMEGA2560-16AU-SL383的Datasheet PDF文件第235页浏览型号ATMEGA2560-16AU-SL383的Datasheet PDF文件第236页浏览型号ATMEGA2560-16AU-SL383的Datasheet PDF文件第237页浏览型号ATMEGA2560-16AU-SL383的Datasheet PDF文件第239页浏览型号ATMEGA2560-16AU-SL383的Datasheet PDF文件第240页浏览型号ATMEGA2560-16AU-SL383的Datasheet PDF文件第241页浏览型号ATMEGA2560-16AU-SL383的Datasheet PDF文件第242页  
23.6.2  
UCSRnA – USART MSPIM Control and Status Register n A  
Bit  
7
RXCn  
R/W  
0
6
TXCn  
R/W  
0
5
UDREn  
R/W  
0
4
-
3
-
2
-
1
-
0
-
UCSRnA  
Read/Write  
R
0
R
0
R
1
R
1
R
0
Initial Value  
• 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.  
23.6.3  
UCSRnB – USART MSPIM Control and Status Register n B  
Bit  
7
6
5
4
3
TXENn  
R/W  
0
2
-
1
-
0
-
RXCIEn  
TXCIEn  
UDRIE  
RXENn  
R/W  
0
UCSRnB  
Read/Write  
R/W  
R/W  
R/W  
R
1
R
1
R
0
Initial Value  
0
0
0
• Bit 7 - RXCIEn: RX Complete Interrupt Enable  
Writing this bit to one enables interrupt on the RXCn Flag. A USART Receive Complete interrupt  
will be generated only if the RXCIEn bit is written to one, the Global Interrupt Flag in SREG is  
written to one and the RXCn bit in UCSRnA is set.  
• Bit 6 - TXCIEn: TX Complete Interrupt Enable  
Writing this bit to one enables interrupt on the TXCn Flag. A USART Transmit Complete interrupt  
will be generated only if the TXCIEn bit is written to one, the Global Interrupt Flag in SREG is  
written to one and the TXCn bit in UCSRnA is set.  
• Bit 5 - UDRIE: USART Data Register Empty Interrupt Enable  
238  
ATmega640/1280/1281/2560/2561  
2549L–AVR–08/07  
 复制成功!