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

ATMEGA16U2-MUR 参数 Datasheet PDF下载

ATMEGA16U2-MUR图片预览
型号: ATMEGA16U2-MUR
PDF下载: 下载PDF文件 查看货源
内容描述: 8位微控制器具有ISP功能的Flash 8/16 / 32K Butes [8-bit Microcontroller with 8/16/32K Butes of ISP Flash]
分类和应用: 微控制器异步传输模式PCATM
文件页数/大小: 310 页 / 4432 K
品牌: ATMEL [ ATMEL ]
 浏览型号ATMEGA16U2-MUR的Datasheet PDF文件第173页浏览型号ATMEGA16U2-MUR的Datasheet PDF文件第174页浏览型号ATMEGA16U2-MUR的Datasheet PDF文件第175页浏览型号ATMEGA16U2-MUR的Datasheet PDF文件第176页浏览型号ATMEGA16U2-MUR的Datasheet PDF文件第178页浏览型号ATMEGA16U2-MUR的Datasheet PDF文件第179页浏览型号ATMEGA16U2-MUR的Datasheet PDF文件第180页浏览型号ATMEGA16U2-MUR的Datasheet PDF文件第181页  
ATmega8U2/16U2/32U2  
Table 19-1. Equations for Calculating Baud Rate Register Setting  
Operating Mode  
Equation for Calculating Baud Rate(1)  
Equation for Calculating UBRRn Value  
f
OSC  
f
OSC  
Synchronous Master mode  
BAUD = --------------------------------------  
UBRRn = -------------------- 1  
2UBRRn + 1  
2BAUD  
Note:  
1. The baud rate is defined to be the transfer rate in bit per second (bps)  
BAUD  
Baud rate (in bits per second, bps)  
fOSC  
System Oscillator clock frequency  
UBRRn  
Contents of the UBRRnH and UBRRnL Registers, (0-4095)  
19.4 SPI Data Modes and Timing  
There are four combinations of XCKn (SCK) phase and polarity with respect to serial data, which  
are determined by control bits UCPHAn and UCPOLn. The data transfer timing diagrams are  
shown in Figure 19-1. Data bits are shifted out and latched in on opposite edges of the XCKn  
signal, ensuring sufficient time for data signals to stabilize. The UCPOLn and UCPHAn function-  
ality is summarized in Table 19-2. Note that changing the setting of any of these bits will corrupt  
all ongoing communication for both the Receiver and Transmitter.  
Table 19-2. UCPOLn and UCPHAn Functionality-  
UCPOLn  
UCPHAn  
SPI Mode  
Leading Edge  
Sample (Rising)  
Setup (Rising)  
Sample (Falling)  
Setup (Falling)  
Trailing Edge  
Setup (Falling)  
Sample (Falling)  
Setup (Rising)  
Sample (Rising)  
0
0
1
1
0
1
0
1
0
1
2
3
Figure 19-1. UCPHAn and UCPOLn data transfer timing diagrams.  
UCPOL=0  
UCPOL=1  
XCK  
XCK  
Data setup (TXD)  
Data sample (RXD)  
Data setup (TXD)  
Data sample (RXD)  
XCK  
XCK  
Data setup (TXD)  
Data sample (RXD)  
Data setup (TXD)  
Data sample (RXD)  
177  
7799D–AVR–11/10  
 复制成功!