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

ATMEGA48PA-AU 参数 Datasheet PDF下载

ATMEGA48PA-AU图片预览
型号: ATMEGA48PA-AU
PDF下载: 下载PDF文件 查看货源
内容描述: 8位微控制器与4/8/ 16 / 32K字节的系统内可编程闪存 [8-bit Microcontroller with 4/8/16/32K Bytes In-System Programmable Flash]
分类和应用: 闪存微控制器和处理器外围集成电路时钟
文件页数/大小: 448 页 / 12817 K
品牌: ATMEL [ ATMEL ]
 浏览型号ATMEGA48PA-AU的Datasheet PDF文件第201页浏览型号ATMEGA48PA-AU的Datasheet PDF文件第202页浏览型号ATMEGA48PA-AU的Datasheet PDF文件第203页浏览型号ATMEGA48PA-AU的Datasheet PDF文件第204页浏览型号ATMEGA48PA-AU的Datasheet PDF文件第206页浏览型号ATMEGA48PA-AU的Datasheet PDF文件第207页浏览型号ATMEGA48PA-AU的Datasheet PDF文件第208页浏览型号ATMEGA48PA-AU的Datasheet PDF文件第209页  
ATmega48PA/88PA/168PA/328P  
Table 20-1. Equations for Calculating Baud Rate Register Setting  
Equation for Calculating Baud Equation for Calculating UBRRn  
Operating Mode  
Rate(1)  
Value  
Synchronous Master  
mode  
f
f
OSC  
OSC  
BAUD = --------------------------------------  
2(UBRRn + 1)  
UBRRn = -------------------- 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)  
20.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 20-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 20-2. Note that changing the setting of any of these bits will corrupt  
all ongoing communication for both the Receiver and Transmitter.  
Table 20-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
205  
8161D–AVR–10/09  
 复制成功!