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

PIC18F4520-I/P 参数 Datasheet PDF下载

PIC18F4520-I/P图片预览
型号: PIC18F4520-I/P
PDF下载: 下载PDF文件 查看货源
内容描述: 28 /40/ 44引脚增强型闪存微控制器与10位A / D和纳瓦技术 [28/40/44-Pin Enhanced Flash Microcontrollers with 10-Bit A/D and nanoWatt Technology]
分类和应用: 闪存微控制器和处理器外围集成电路光电二极管时钟
文件页数/大小: 412 页 / 6898 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号PIC18F4520-I/P的Datasheet PDF文件第199页浏览型号PIC18F4520-I/P的Datasheet PDF文件第200页浏览型号PIC18F4520-I/P的Datasheet PDF文件第201页浏览型号PIC18F4520-I/P的Datasheet PDF文件第202页浏览型号PIC18F4520-I/P的Datasheet PDF文件第204页浏览型号PIC18F4520-I/P的Datasheet PDF文件第205页浏览型号PIC18F4520-I/P的Datasheet PDF文件第206页浏览型号PIC18F4520-I/P的Datasheet PDF文件第207页  
PIC18F2420/2520/4420/4520  
The pins of the Enhanced USART are multiplexed  
with PORTC. In order to configure RC6/TX/CK and  
RC7/RX/DT as an EUSART:  
18.0 ENHANCED UNIVERSAL  
SYNCHRONOUS  
ASYNCHRONOUS RECEIVER  
TRANSMITTER (EUSART)  
• bit SPEN (RCSTA<7>) must be set (= 1)  
• bit TRISC<7> must be set (= 1)  
• bit TRISC<6> must be set (= 1)  
The Enhanced Universal Synchronous Asynchronous  
Receiver Transmitter (EUSART) module is one of the  
two serial I/O modules. (Generically, the USART is also  
known as a Serial Communications Interface or SCI.)  
The EUSART can be configured as a full-duplex  
asynchronous system that can communicate with  
peripheral devices, such as CRT terminals and  
personal computers. It can also be configured as a half-  
duplex, synchronous system that can communicate  
with peripheral devices, such as A/D or D/A integrated  
circuits, serial EEPROMs, etc.  
Note:  
The EUSART control will automatically  
reconfigure the pin from input to output as  
needed.  
The operation of the Enhanced USART module is  
controlled through three registers:  
• Transmit Status and Control (TXSTA)  
• Receive Status and Control (RCSTA)  
• Baud Rate Control (BAUDCON)  
These are detailed on the following pages in  
Register 18-1, Register 18-2 and Register 18-3,  
respectively.  
The Enhanced USART module implements additional  
features, including automatic baud rate detection and  
calibration, automatic wake-up on Sync Break recep-  
tion and 12-bit Break character transmit. These make it  
ideally suited for use in Local Interconnect Network bus  
(LIN bus) systems.  
The EUSART can be configured in the following  
modes:  
• Asynchronous (full duplex) with:  
- Auto-wake-up on character reception  
- Auto-baud calibration  
- 12-bit Break character transmission  
• Synchronous – Master (half duplex) with  
selectable clock polarity  
• Synchronous – Slave (half duplex) with selectable  
clock polarity  
© 2008 Microchip Technology Inc.  
DS39631E-page 201  
 复制成功!