欢迎访问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文件第223页浏览型号ATMEGA2560的Datasheet PDF文件第224页浏览型号ATMEGA2560的Datasheet PDF文件第225页浏览型号ATMEGA2560的Datasheet PDF文件第226页浏览型号ATMEGA2560的Datasheet PDF文件第228页浏览型号ATMEGA2560的Datasheet PDF文件第229页浏览型号ATMEGA2560的Datasheet PDF文件第230页浏览型号ATMEGA2560的Datasheet PDF文件第231页  
ATmega640/1280/1281/2560/2561  
• Bit 15:12 – Reserved Bits  
These bits are reserved for future use. For compatibility with future devices, these bit  
must be written to zero when UBRRH is written.  
• Bit 11:0 – UBRR11:0: USART Baud Rate Register  
This is a 12-bit register which contains the USART baud rate. The UBRRH contains the  
four most significant bits, and the UBRRL contains the eight least significant bits of the  
USART baud rate. Ongoing transmissions by the Transmitter and Receiver will be cor-  
rupted if the baud rate is changed. Writing UBRRL will trigger an immediate update of  
the baud rate prescaler.  
Examples of Baud Rate  
Setting  
For standard crystal and resonator frequencies, the most commonly used baud rates for  
asynchronous operation can be generated by using the UBRR settings in Table 106 to  
Table 109. UBRR values which yield an actual baud rate differing less than 0.5ꢀ from  
the target baud rate, are bold in the table. Higher error ratings are acceptable, but the  
Receiver will have less noise resistance when the error ratings are high, especially for  
large serial frames (see “Asynchronous Operational Range” on page 220). The error  
values are calculated using the following equation:  
BaudRateClosest Match  
Error[ꢀ] = ------------------------------------------------------- 1 100ꢀ  
BaudRate  
Table 106. Examples of UBRRn Settings for Commonly Used Oscillator Frequencies  
fosc = 1.0000 MHz fosc = 1.8432 MHz  
U2Xn = 0 U2Xn = 1 U2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VR–03/05  
 复制成功!