PIC16F627-04 Microchip Technology, PIC16F627-04 Datasheet - Page 53

no-image

PIC16F627-04

Manufacturer Part Number
PIC16F627-04
Description
FLASH-Based 8-Bit CMOS Microcontrollers
Manufacturer
Microchip Technology
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F627-04/P
Quantity:
31
Part Number:
PIC16F627-04/P
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC16F627-04/SO
Manufacturer:
MIC
Quantity:
933
Part Number:
PIC16F627-04/SO
Manufacturer:
MICROCHI
Quantity:
20 000
Part Number:
PIC16F627-04/SS
Manufacturer:
MICROCHIP
Quantity:
13
Part Number:
PIC16F627-04/SS
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC16F627-04I/P
Quantity:
18
Part Number:
PIC16F627-04I/P
Manufacturer:
MICR
Quantity:
20 000
Part Number:
PIC16F627-04I/SO
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
7.5
If the CCP1 module is configured in compare mode to
generate a “special event trigger" (CCP1M3:CCP1M0
= 1011), this signal will reset Timer1.
Timer1 must be configured for either timer or synchro-
nized counter mode to take advantage of this feature. If
Timer1 is running in asynchronous counter mode, this
reset operation may not work.
In the event that a write to Timer1 coincides with a spe-
cial event trigger from CCP1, the write will take prece-
dence.
In this mode of operation, the CCPRxH:CCPRxL regis-
ters pair effectively becomes the period register for
Timer1.
TABLE 7-2:
Address
0Bh/8Bh/
10Bh/18Bh
0Ch
8Ch
0Eh
0Fh
10h
Legend:
Note:
1999 Microchip Technology Inc.
Resetting Timer1 using a CCP Trigger
Output
x = unknown, u = unchanged, - = unimplemented read as '0'. Shaded cells are not used by the Timer1 module.
The special event triggers from the CCP1
module will not set interrupt flag bit
TMR1IF (PIR1<0>).
Name
INTCON
PIR1
PIE1
TMR1L
TMR1H
T1CON
REGISTERS ASSOCIATED WITH TIMER1 AS A TIMER/COUNTER
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
EEIE
Bit 7
EEIF
GIE
CMIE
CMIF
Bit 6
PEIE
T1CKPS1 T1CKPS0 T1OSCEN T1SYNC TMR1CS TMR1ON --00 0000 --uu uuuu
RCIE
RCIF
Bit 5
T0IE
Bit 4
INTE
TXIF
TXIE
Preliminary
RBIE
Bit 3
7.6
TMR1H and TMR1L registers are not reset to 00h on a
POR or any other reset except by the CCP1 special
event triggers.
T1CON register is reset to 00h on a Power-on Reset or
a Brown-out Reset, which shuts off the timer and
leaves a 1:1 prescale. In all other resets, the register is
unaffected.
7.7
The prescaler counter is cleared on writes to the
TMR1H or TMR1L registers.
CCP1IF
CCP1IE
Bit 2
T0IF
Resetting of Timer1 Register Pair
(TMR1H, TMR1L)
Timer1 Prescaler
TMR2IE
TMR2IF
INTF
Bit 1
TMR1IF
TMR1IE
RBIF
Bit 0
PIC16F62X
0000 000x 0000 000u
0000 -000 0000 -000
0000 -000 0000 -000
xxxx xxxx uuuu uuuu
xxxx xxxx uuuu uuuu
Value on
POR
DS40300B-page 53
Value on
all other
resets

Related parts for PIC16F627-04