English
Language : 

PIC18F2331 Datasheet, PDF (171/396 Pages) Microchip Technology – 28/40/44-Pin Enhanced Flash Microcontrollers with nanoWatt Technology, High Performance PWM and A/D
PIC18F2331/2431/4331/4431
TABLE 16-3: INPUT CAPTURE TIME BASE RESET SUMMARY
Pin CAPxM
Mode
Timer
Reset Timer
on Capture
Description
CAP1 0001-0100 Edge Capture
0101 Period Measurement
TMR5
TMR5
optional(1)
optional(1)
Simple edge Capture mode (includes a
selectable prescaler)
Captures Timer5 on period boundaries
0110-0111 Pulse Width
Measurement
1000
Input Capture on State
Change
1110-1111 Special Event Trigger
(rising or falling edge)
TMR5
TMR5
TMR5
CAP2 0001-0100 Edge Capture
TMR5
0101 Period Measurement TMR5
always Captures Timer5 on pulse boundaries
optional(1) Captures Timer5 on state change
optional(2)
optional(1)
optional(1)
Used as a special event trigger to be used
with the Timer5 or other peripheral
modules
Simple edge Capture mode (includes a
selectable prescaler
Captures Timer5 on period boundaries
CAP3
0110-0111 Pulse Width
Measurement
1000
Input Capture on State
Change
0001-0100 Edge Capture
TMR5
TMR5
TMR5
0101 Period Measurement TMR5
always Captures Timer5 on pulse boundaries
optional(1) Captures Timer5 on state change
optional(1)
optional(1)
Simple edge Capture mode (includes a
selectable prescaler
Captures Timer5 on period boundaries
0110-0111 Pulse Width
Measurement
1000
Input Capture on State
Change
TMR5
TMR5
always Captures Timer5 on pulse boundaries
optional(1) Captures Timer5 on state change
Note 1: Timer5 may be reset on capture events only when CAPxRE = 1.
2: Trigger mode will not reset Timer5 unless RESEN = 0 in the T5CON register.
 2003 Microchip Technology Inc.
Preliminary
DS39616B-page 169