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

ATMEGA88-20AU 参数 Datasheet PDF下载

ATMEGA88-20AU图片预览
型号: ATMEGA88-20AU
PDF下载: 下载PDF文件 查看货源
内容描述: [IC MCU 8BIT 8KB FLASH 32TQFP]
分类和应用: 时钟ATM异步传输模式PC微控制器外围集成电路闪存
文件页数/大小: 359 页 / 2546 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号ATMEGA88-20AU的Datasheet PDF文件第200页浏览型号ATMEGA88-20AU的Datasheet PDF文件第201页浏览型号ATMEGA88-20AU的Datasheet PDF文件第202页浏览型号ATMEGA88-20AU的Datasheet PDF文件第203页浏览型号ATMEGA88-20AU的Datasheet PDF文件第205页浏览型号ATMEGA88-20AU的Datasheet PDF文件第206页浏览型号ATMEGA88-20AU的Datasheet PDF文件第207页浏览型号ATMEGA88-20AU的Datasheet PDF文件第208页  
• Bit 0 - UCPOLn: Clock Polarity  
The UCPOLn bit sets the polarity of the XCKn clock. The combination of the UCPOLn and  
UCPHAn bit settings determine the timing of the data transfer. Refer to the SPI Data Modes and  
Timing section page 4 for details.  
18.6.5  
USART MSPIM Baud Rate Registers - UBRRnL and UBRRnH  
The function and bit description of the baud rate registers in MSPI mode is identical to normal  
USART operation. See “USART Baud Rate Registers – UBRRnL and UBRRnH” on page 191.  
18.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 18-4 on page  
204.  
Table 18-4. 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  
204  
ATmega48/88/168  
2545E–AVR–02/05  
 
 复制成功!