DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

PIC16C923-08I/SP View Datasheet(PDF) - Microchip Technology

Part Name
Description
Manufacturer
PIC16C923-08I/SP
Microchip
Microchip Technology 
PIC16C923-08I/SP Datasheet PDF : 189 Pages
First Prev 51 52 53 54 55 56 57 58 59 60 Next Last
PIC16C9XX
8.5 Resetting Timer1 using the CCP
Trigger Output
If the CCP1 module is configured in compare mode to
generate a “special event trigger" (CCP1M3:CCP1M0
= 1011), this signal will reset Timer1.
Note:
The special event trigger from the CCP1
module will not set interrupt flag bit
TMR1IF (PIR1<0>).
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 CCPR1H:CCPR1L regis-
ters pair effectively becomes the period register for
Timer1.
8.6 Resetting of Timer1 Register Pair
(TMR1H:TMR1L)
TMR1H and TMR1L registers are not reset on a POR
or any other reset except by the CCP1 special event
trigger.
T1CON register is reset to 00h on a Power-on Reset. In
any other reset, the register is unaffected.
8.7 Timer1 Prescaler
The prescaler counter is cleared on writes to the
TMR1H or TMR1L registers.
TABLE 8-2: REGISTERS ASSOCIATED WITH TIMER1 AS A TIMER/COUNTER
Address Name
Bit 7 Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Value on
Power-on
Reset
0Bh, 8Bh, INTCON
10Bh, 18Bh
0Ch
PIR1
8Ch
PIE1
0Eh
TMR1L
0Fh
TMR1H
10h
T1CON
GIE PEIE
T0IE
INTE
RBIE
T0IF
INTF
LCDIF ADIF(1)
LCDIE ADIE(1)
SSPIF CCP1IF TMR2IF
SSPIE CCP1IE TMR2IE
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
RBIF
TMR1IF
TMR1IE
TMR1ON
0000 000x
00-- 0000
00-- 0000
xxxx xxxx
xxxx xxxx
--00 0000
Legend: x = unknown, u = unchanged, - = unimplemented read as '0'. Shaded cells are not used by theTimer1 module.
Note 1: Bits ADIE and ADIF are reserved on the PIC16C923, always maintain these bits clear.
Value on
all other
resets
0000 000u
00-- 0000
00-- 0000
uuuu uuuu
uuuu uuuu
--uu uuuu
DS30444E - page 54
© 1997 Microchip Technology Inc.

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]