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

PIC16F767-I/SP 参数 Datasheet PDF下载

PIC16F767-I/SP图片预览
型号: PIC16F767-I/SP
PDF下载: 下载PDF文件 查看货源
内容描述: 28 /40/ 44引脚, 8位CMOS闪存微控制器与10位A / D和纳瓦技术 [28/40/44-Pin, 8-Bit CMOS Flash Microcontrollers with 10-Bit A/D and nanoWatt Technology]
分类和应用: 闪存微控制器和处理器外围集成电路光电二极管时钟
文件页数/大小: 276 页 / 4898 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号PIC16F767-I/SP的Datasheet PDF文件第140页浏览型号PIC16F767-I/SP的Datasheet PDF文件第141页浏览型号PIC16F767-I/SP的Datasheet PDF文件第142页浏览型号PIC16F767-I/SP的Datasheet PDF文件第143页浏览型号PIC16F767-I/SP的Datasheet PDF文件第145页浏览型号PIC16F767-I/SP的Datasheet PDF文件第146页浏览型号PIC16F767-I/SP的Datasheet PDF文件第147页浏览型号PIC16F767-I/SP的Datasheet PDF文件第148页  
PIC16F7X7  
• Flag bit RCIF will be set when reception is  
complete and an interrupt will be generated if  
enable bit RCIE was set.  
11.2.3  
SETTING UP 9-BIT MODE WITH  
ADDRESS DETECT  
When setting up an Asynchronous Reception with  
Address Detect enabled:  
• Read the RCSTA register to get the ninth bit and  
determine if any error occurred during reception.  
• Initialize the SPBRG register for the appropriate  
baud rate. If a high-speed baud rate is desired,  
set bit BRGH.  
• Read the 8-bit received data by reading the  
RCREG register to determine if the device is  
being addressed.  
• Enable the asynchronous serial port by clearing  
bit SYNC and setting bit SPEN.  
• If any error occurred, clear the error by clearing  
enable bit CREN.  
• If interrupts are desired, then set enable bit RCIE.  
• Set bit RX9 to enable 9-bit reception.  
• If the device has been addressed, clear the  
ADDEN bit to allow data bytes and address bytes  
to be read into the receive buffer and interrupt the  
CPU.  
• Set ADDEN to enable address detect.  
• Enable the reception by setting enable bit CREN.  
FIGURE 11-6:  
AUSART RECEIVE BLOCK DIAGRAM  
x64 Baud Rate CLK  
FERR  
OERR  
CREN  
FOSC  
SPBRG  
÷ 64  
or  
÷ 16  
RSR Register  
LSb  
MSb  
Baud Rate Generator  
Stop (8)  
7
1
0
Start  
• • •  
Pin Buffer  
and Control  
Data  
Recovery  
RX9  
RC7/RX/DT  
8
SPEN  
Enable  
Load of  
Receive  
Buffer  
RX9  
ADDEN  
RX9  
ADDEN  
RSR<8>  
8
RX9D  
RCREG Register  
FIFO  
8
RCIF  
RCIE  
Interrupt  
Data Bus  
DS30498C-page 142  
2004 Microchip Technology Inc.  
 复制成功!