Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

PIC18C242-E/SP Datasheet(PDF) 107 Page - Microchip Technology

Part # PIC18C242-E/SP
Description  High-Performance Microcontrollers with 10-Bit A/D
PDF  296 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC18C242-E/SP Datasheet(HTML) 107 Page - Microchip Technology

Back Button PIC18C242-E/SP Datasheet HTML 103Page - Microchip Technology PIC18C242-E/SP Datasheet HTML 104Page - Microchip Technology PIC18C242-E/SP Datasheet HTML 105Page - Microchip Technology PIC18C242-E/SP Datasheet HTML 106Page - Microchip Technology PIC18C242-E/SP Datasheet HTML 107Page - Microchip Technology PIC18C242-E/SP Datasheet HTML 108Page - Microchip Technology PIC18C242-E/SP Datasheet HTML 109Page - Microchip Technology PIC18C242-E/SP Datasheet HTML 110Page - Microchip Technology PIC18C242-E/SP Datasheet HTML 111Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 107 / 296 page
background image
PIC18CXX2
© 7/99 Microchip Technology Inc.
Preliminary
DS39026B-page 107
12.2
Timer1 Oscillator
The Timer1 oscillator may be used as the clock source
for Timer3. The Timer1 oscillator is enabled by setting
the T1OSCEN (T1CON<3>) bit. The oscillator is a low
power oscillator rated up to 200 KHz. See Section 10.0
for further details.
12.3
Timer3 Interrupt
The TMR3 Register pair (TMR3H:TMR3L) increments
from 0000h to FFFFh and rolls over to 0000h. The
TMR3 Interrupt, if enabled, is generated on overflow
which is latched in interrupt flag bit TMR3IF (PIR2<1>).
This interrupt can be enabled/disabled by setting/clear-
ing TMR3 interrupt enable bit TMR3IE (PIE2<1>).
12.4
Resetting Timer3 Using a CCP Trigger
Output
If the CCP module is configured in compare mode to
generate a “special event trigger" (CCP1M3:CCP1M0
= 1011), this signal will reset Timer3.
Timer3 must be configured for either timer or synchro-
nized counter mode to take advantage of this feature. If
Timer3 is running in asynchronous counter mode, this
reset operation may not work. In the event that a write
to Timer3 coincides with a special event trigger from
CCP1, the write will take precedence. In this mode of
operation, the CCPR1H:CCPR1L registers pair effec-
tively becomes the period register for Timer3.
TABLE 12-1:
REGISTERS ASSOCIATED WITH TIMER3 AS A TIMER/COUNTER
Note:
The special event triggers from the CCP
module will not set interrupt flag bit
TMR3IF (PIR1<0>).
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Value on
POR,
BOR
Value on
all other
resets
INTCON
GIE/
GIEH
PEIE/
GIEL
TMR0IE
INT0IE
RBIE
TMR0IF
INT0IF
RBIF
0000 000x
0000 000u
PIR2
—
—
—
—
BCLIF
LVDIF
TMR3IF
CCP2IF
0000 0000
0000 0000
PIE2
—
—
—
—
BCLIE
LVDIE
TMR3IE
CCP2IE
0000 0000
0000 0000
IPR2
—
—
—
—
BCLIP
LVDIP
TMR3IP
CCP2IP
0000 0000
0000 0000
TMR3L
Holding register for the Least Significant Byte of the 16-bit TMR3 register
xxxx xxxx
uuuu uuuu
TMR3H
Holding register for the Most Significant Byte of the 16-bit TMR3 register
xxxx xxxx
uuuu uuuu
T1CON
—
—
T1CKPS1
T1CKPS0
T1OSCEN
T1SYNC
TMR1CS
TMR1ON
--00 0000
--uu uuuu
T3CON
—
T3CKPS2
T3CKPS1
T3CKPS0
T3CCP1
T3SYNC
TMR3CS
TMR3ON
-000 0000
-uuu uuuu
Legend: x = unknown, u = unchanged, - = unimplemented read as ’0’. Shaded cells are not used by the Timer1 module.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com