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

PIC16F73-I/SPG 参数 Datasheet PDF下载

PIC16F73-I/SPG图片预览
型号: PIC16F73-I/SPG
PDF下载: 下载PDF文件 查看货源
内容描述: [28 Pin, 7KB Std Flash, 192 RAM, 22 I/O, -40C to +85C, 28-SPDIP, TUBE]
分类和应用: 闪存微控制器
文件页数/大小: 174 页 / 3853 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号PIC16F73-I/SPG的Datasheet PDF文件第54页浏览型号PIC16F73-I/SPG的Datasheet PDF文件第55页浏览型号PIC16F73-I/SPG的Datasheet PDF文件第56页浏览型号PIC16F73-I/SPG的Datasheet PDF文件第57页浏览型号PIC16F73-I/SPG的Datasheet PDF文件第59页浏览型号PIC16F73-I/SPG的Datasheet PDF文件第60页浏览型号PIC16F73-I/SPG的Datasheet PDF文件第61页浏览型号PIC16F73-I/SPG的Datasheet PDF文件第62页  
PIC16F7X  
8.4.1  
CCP PIN CONFIGURATION  
8.4.4  
SPECIAL EVENT TRIGGER  
The user must configure the RC2/CCP1 pin as an out-  
put by clearing the TRISC<2> bit.  
In this mode, an internal hardware trigger is generated,  
which may be used to initiate an action.  
The special event trigger output of CCP1 resets the  
TMR1 register pair. This allows the CCPR1 register to  
effectively be a 16-bit programmable period register for  
Timer1.  
Note: Clearing the CCP1CON register will force  
the RC2/CCP1 compare output latch to the  
default low level. This is not the PORTC  
I/O data latch.  
The special event trigger output of CCP2 resets the  
TMR1 register pair and starts an A/D conversion (if the  
A/D module is enabled).  
8.4.2  
TIMER1 MODE SELECTION  
Timer1 must be running in Timer mode or Synchro-  
nized Counter mode if the CCP module is using the  
compare feature. In Asynchronous Counter mode, the  
compare operation may not work.  
Note: The special event trigger from the CCP1  
and CCP2 modules will not set interrupt  
flag bit TMR1IF (PIR1<0>).  
8.4.3  
SOFTWARE INTERRUPT MODE  
When Generate Software Interrupt mode is chosen, the  
CCP1 pin is not affected. The CCP1IF or CCP2IF bit is  
set, causing a CCP interrupt (if enabled).  
TABLE 8-3:  
REGISTERS ASSOCIATED WITH CAPTURE, COMPARE, AND TIMER1  
Value on:  
POR,  
BOR  
Value on  
all other  
RESETS  
Address  
Name  
Bit 7  
Bit 6  
Bit 5  
Bit 4  
Bit 3  
Bit 2  
Bit 1  
Bit 0  
0Bh,8Bh, INTCON  
10Bh,18Bh  
GIE  
PEIE TMR0IE  
INTE  
RBIE  
TMR0IF  
INTF  
RBIF 0000 000x 0000 000u  
(1)  
0Ch  
0Dh  
8Ch  
8Dh  
87h  
0Eh  
0Fh  
10h  
15h  
16h  
17h  
1Bh  
1Ch  
1Dh  
PIR1  
PSPIF  
ADIF  
RCIF  
TXIF  
SSPIF  
CCP1IF TMR2IF TMR1IF 0000 0000 0000 0000  
CCP2IF ---- ---0 ---- ---0  
CCP1IE TMR2IE TMR1IE 0000 0000 0000 0000  
PIR2  
(1)  
PIE1  
PSPIE  
ADIE  
RCIE  
TXIE  
SSPIE  
PIE2  
CCP2IE ---- ---0 ---- ---0  
1111 1111 1111 1111  
xxxx xxxx uuuu uuuu  
xxxx xxxx uuuu uuuu  
TRISC  
TMR1L  
TMR1H  
T1CON  
PORTC Data Direction Register  
Holding Register for the Least Significant Byte of the 16-bit TMR1 Register  
Holding Register for the Most Significant Byte of the 16-bit TMR1 Register  
T1CKPS1 T1CKPS0 T1OSCEN T1SYNC TMR1CS TMR1ON --00 0000 --uu uuuu  
CCPR1L Capture/Compare/PWM Register1 (LSB)  
CCPR1H Capture/Compare/PWM Register1 (MSB)  
xxxx xxxx uuuu uuuu  
xxxx xxxx uuuu uuuu  
CCP1CON  
CCP1X  
CCP1Y CCP1M3 CCP1M2 CCP1M1 CCP1M0 --00 0000 --00 0000  
CCPR2L Capture/Compare/PWM Register2 (LSB)  
CCPR2H Capture/Compare/PWM Register2 (MSB)  
xxxx xxxx uuuu uuuu  
xxxx xxxx uuuu uuuu  
CCP2CON  
CCP2X  
CCP2Y CCP2M3 CCP2M2 CCP2M1 CCP2M0 --00 0000 --00 0000  
Legend: x= unknown, u= unchanged, -= unimplemented, read as '0'. Shaded cells are not used by Capture and Timer1.  
Note 1: The PSP is not implemented on the PIC16F73/76; always maintain these bits clear.  
DS30325B-page 56  
2002 Microchip Technology Inc.