欢迎访问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文件第206页浏览型号ATMEGA48PA-AU的Datasheet PDF文件第207页浏览型号ATMEGA48PA-AU的Datasheet PDF文件第208页浏览型号ATMEGA48PA-AU的Datasheet PDF文件第209页浏览型号ATMEGA48PA-AU的Datasheet PDF文件第211页浏览型号ATMEGA48PA-AU的Datasheet PDF文件第212页浏览型号ATMEGA48PA-AU的Datasheet PDF文件第213页浏览型号ATMEGA48PA-AU的Datasheet PDF文件第214页  
ATmega48PA/88PA/168PA/328P  
20.7 AVR USART MSPIM vs. AVR SPI  
The USART in MSPIM mode is fully compatible with the AVR SPI regarding:  
• Master mode timing diagram.  
• The UCPOLn bit functionality is identical to the SPI CPOL bit.  
• The UCPHAn bit functionality is identical to the SPI CPHA bit.  
• The UDORDn bit functionality is identical to the SPI DORD bit.  
However, since the USART in MSPIM mode reuses the USART resources, the use of the  
USART in MSPIM mode is somewhat different compared to the SPI. In addition to differences of  
the control register bits, and that only master operation is supported by the USART in MSPIM  
mode, the following features differ between the two modules:  
• The USART in MSPIM mode includes (double) buffering of the transmitter. The SPI has no  
buffer.  
• The USART in MSPIM mode receiver includes an additional buffer level.  
• The SPI WCOL (Write Collision) bit is not included in USART in MSPIM mode.  
• The SPI double speed mode (SPI2X) bit is not included. However, the same effect is achieved  
by setting UBRRn accordingly.  
• Interrupt timing is not compatible.  
• Pin control differs due to the master only operation of the USART in MSPIM mode.  
A comparison of the USART in MSPIM mode and the SPI pins is shown in Table 20-3 on page  
210.  
Table 20-3. Comparison of USART in MSPIM mode and SPI pins.  
USART_MSPIM  
TxDn  
SPI  
Comment  
MOSI  
MISO  
SCK  
Master Out only  
Master In only  
RxDn  
XCKn  
(Functionally identical)  
Not supported by USART in  
MSPIM  
(N/A)  
SS  
210  
8161D–AVR–10/09  
 复制成功!