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

PIC16F877T-20PQ 参数 Datasheet PDF下载

PIC16F877T-20PQ图片预览
型号: PIC16F877T-20PQ
PDF下载: 下载PDF文件 查看货源
内容描述: 8位微控制器\n [8-Bit Microcontroller ]
分类和应用: 微控制器
文件页数/大小: 200 页 / 3338 K
品牌: ETC [ ETC ]
 浏览型号PIC16F877T-20PQ的Datasheet PDF文件第91页浏览型号PIC16F877T-20PQ的Datasheet PDF文件第92页浏览型号PIC16F877T-20PQ的Datasheet PDF文件第93页浏览型号PIC16F877T-20PQ的Datasheet PDF文件第94页浏览型号PIC16F877T-20PQ的Datasheet PDF文件第96页浏览型号PIC16F877T-20PQ的Datasheet PDF文件第97页浏览型号PIC16F877T-20PQ的Datasheet PDF文件第98页浏览型号PIC16F877T-20PQ的Datasheet PDF文件第99页  
PIC16F87X  
The USART can be configured in the following modes:  
10.0 ADDRESSABLE UNIVERSAL  
SYNCHRONOUS  
• Asynchronous (full duplex)  
• Synchronous - Master (half duplex)  
• Synchronous - Slave (half duplex)  
ASYNCHRONOUS RECEIVER  
TRANSMITTER (USART)  
Bit SPEN (RCSTA<7>) and bits TRISC<7:6> have to  
be set in order to configure pins RC6/TX/CK and  
RC7/RX/DT as the Universal Synchronous Asynchro-  
nous Receiver Transmitter.  
The Universal Synchronous Asynchronous Receiver  
Transmitter (USART) module is one of the two serial  
I/O modules. (USART is also known as a Serial Com-  
munications Interface or SCI). The USART can be con-  
figured as a full duplex asynchronous system that can  
communicate with peripheral devices such as CRT ter-  
minals and personal computers, or it can be configured  
as a half duplex synchronous system that can commu-  
nicate with peripheral devices such as A/D or D/A inte-  
grated circuits, serial EEPROMs etc.  
The USART module also has a multi-processor com-  
munication capability using 9-bit address detection.  
REGISTER 10-1: TXSTA: TRANSMIT STATUS AND CONTROL REGISTER (ADDRESS 98h)  
R/W-0  
CSRC  
bit7  
R/W-0  
TX9  
R/W-0  
TXEN  
R/W-0  
SYNC  
U-0  
R/W-0  
BRGH  
R-1  
R/W-0  
TX9D  
bit0  
TRMT  
R = Readable bit  
W = Writable bit  
U = Unimplemented bit,  
read as ‘0’  
- n = Value at POR reset  
bit 7:  
CSRC: Clock Source Select bit  
Asynchronous mode  
Don’t care  
Synchronous mode  
1= Master mode (Clock generated internally from BRG)  
0= Slave mode (Clock from external source)  
bit 6:  
TX9: 9-bit Transmit Enable bit  
1= Selects 9-bit transmission  
0= Selects 8-bit transmission  
bit 5:  
TXEN: Transmit Enable bit  
1= Transmit enabled  
0= Transmit disabled  
Note: SREN/CREN overrides TXEN in SYNC mode.  
bit 4:  
SYNC: USART Mode Select bit  
1= Synchronous mode  
0= Asynchronous mode  
bit 3:  
bit 2:  
Unimplemented: Read as '0'  
BRGH: High Baud Rate Select bit  
Asynchronous mode  
1= High speed  
0= Low speed  
Synchronous mode  
Unused in this mode  
bit 1:  
bit 0:  
TRMT: Transmit Shift Register Status bit  
1= TSR empty  
0= TSR full  
TX9D: 9th bit of transmit data. Can be parity bit.  
1999 Microchip Technology Inc.  
DS30292B-page 95  
 复制成功!