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

ATMEGA2560 参数 Datasheet PDF下载

ATMEGA2560图片预览
型号: ATMEGA2560
PDF下载: 下载PDF文件 查看货源
内容描述: 8位微控制器与256K字节的系统内可编程闪存 [8- BIT Microcontroller with 256K Bytes In-System Programmable Flash]
分类和应用: 闪存微控制器
文件页数/大小: 407 页 / 2985 K
品牌: ATMEL [ ATMEL ]
 浏览型号ATMEGA2560的Datasheet PDF文件第220页浏览型号ATMEGA2560的Datasheet PDF文件第221页浏览型号ATMEGA2560的Datasheet PDF文件第222页浏览型号ATMEGA2560的Datasheet PDF文件第223页浏览型号ATMEGA2560的Datasheet PDF文件第225页浏览型号ATMEGA2560的Datasheet PDF文件第226页浏览型号ATMEGA2560的Datasheet PDF文件第227页浏览型号ATMEGA2560的Datasheet PDF文件第228页  
• Bit 2 – UPEn: USART Parity Error  
This bit is set if the next character in 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. Always set this bit to zero when writing to UCSRnA.  
• Bit 1 – U2Xn: Double the USART Transmission Speed  
This bit only has effect for the asynchronous operation. Write this bit to zero when using  
synchronous operation.  
Writing this bit to one will reduce the divisor of the baud rate divider from 16 to 8 effec-  
tively doubling the transfer rate for asynchronous communication.  
• Bit 0 – MPCMn: Multi-processor Communication Mode  
This bit enables the Multi-processor Communication mode. When the MPCMn bit is writ-  
ten to one, all the incoming frames received by the USART Receiver that do not contain  
address information will be ignored. The Transmitter is unaffected by the MPCMn set-  
ting. For more detailed information see “Multi-processor Communication Mode” on page  
221.  
USART Control and Status  
Register n B – UCSRnB  
Bit  
7
RXCIEn  
R/W  
0
6
TXCIEn  
R/W  
0
5
UDRIEn  
R/W  
0
4
RXENn  
R/W  
0
3
TXENn  
R/W  
0
2
UCSZn2  
R/W  
1
0
TXB8n  
R/W  
0
RXB8n  
UCSRnB  
Read/Write  
Initial Value  
R
0
0
• Bit 7 – RXCIEn: RX Complete Interrupt Enable n  
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 n  
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 – UDRIEn: USART Data Register Empty Interrupt Enable n  
Writing this bit to one enables interrupt on the UDREn Flag. A Data Register Empty  
interrupt will be generated only if the UDRIEn bit is written to one, the Global Interrupt  
Flag in SREG is written to one and the UDREn bit in UCSRnA is set.  
• Bit 4 – RXENn: Receiver Enable n  
Writing this bit to one enables the USART Receiver. The Receiver will override normal  
port operation for the RxDn pin when enabled. Disabling the Receiver will flush the  
receive buffer invalidating the FEn, DORn, and UPEn Flags.  
• Bit 3 – TXENn: Transmitter Enable n  
Writing this bit to one enables the USART Transmitter. The Transmitter will override nor-  
mal port operation for the TxDn pin when enabled. The disabling of the Transmitter  
(writing TXENn to zero) will not become effective until ongoing and pending transmis-  
sions are completed, i.e., when the Transmit Shift Register and Transmit Buffer Register  
224  
ATmega640/1280/1281/2560/2561  
2549A–AVR–03/05  
 复制成功!