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

ATMEGA48PA-CCU 参数 Datasheet PDF下载

ATMEGA48PA-CCU图片预览
型号: ATMEGA48PA-CCU
PDF下载: 下载PDF文件 查看货源
内容描述: [RISC Microcontroller, 8-Bit, FLASH, AVR RISC CPU, 20MHz, CMOS, PBGA32, 4 X 4 MM, 0.60 MM HEIGHT, 0.50 MM PITCH, GREEN, PLASTIC, UFBGA-32]
分类和应用: 闪存微控制器
文件页数/大小: 349 页 / 2752 K
品牌: ATMEL [ ATMEL ]
 浏览型号ATMEGA48PA-CCU的Datasheet PDF文件第187页浏览型号ATMEGA48PA-CCU的Datasheet PDF文件第188页浏览型号ATMEGA48PA-CCU的Datasheet PDF文件第189页浏览型号ATMEGA48PA-CCU的Datasheet PDF文件第190页浏览型号ATMEGA48PA-CCU的Datasheet PDF文件第192页浏览型号ATMEGA48PA-CCU的Datasheet PDF文件第193页浏览型号ATMEGA48PA-CCU的Datasheet PDF文件第194页浏览型号ATMEGA48PA-CCU的Datasheet PDF文件第195页  
ATmega48/88/168  
the Transmitter and the Receiver. Only the transmitter can operate independently. For  
interrupt driven USART operation, the Global Interrupt Flag should be cleared (and thus  
interrupts globally disabled) when doing the initialization.  
Note:  
To ensure immediate initialization of the XCKn output the baud-rate register (UBRRn)  
must be zero at the time the transmitter is enabled. Contrary to the normal mode USART  
operation the UBRRn must then be written to the desired value after the transmitter is  
enabled, but before the first transmission is started. Setting UBRRn to zero before  
enabling the transmitter is not necessary if the initialization is done immediately after a  
reset since UBRRn is reset to zero.  
Before doing a re-initialization with changed baud rate, data mode, or frame format, be  
sure that there is no ongoing transmissions during the period the registers are changed.  
The TXCn Flag can be used to check that the Transmitter has completed all transfers,  
and the RXCn Flag can be used to check that there are no unread data in the receive  
buffer. Note that the TXCn Flag must be cleared before each transmission (before  
UDRn is written) if it is used for this purpose.  
The following simple USART initialization code examples show one assembly and one  
C function that are equal in functionality. The examples assume polling (no interrupts  
enabled). The baud rate is given as a function parameter. For the assembly code, the  
baud rate parameter is assumed to be stored in the r17:r16 registers.  
191  
2545D–AVR–07/04  
 复制成功!