Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

PIC18LF4331 Datasheet(PDF) 155 Page - Microchip Technology

Part # PIC18LF4331
Description  28/40/44-Pin Enhanced Flash Microcontrollers with nanoWatt Technology, High-Performance PWM and A/D
PDF  392 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC18LF4331 Datasheet(HTML) 155 Page - Microchip Technology

Back Button PIC18LF4331 Datasheet HTML 151Page - Microchip Technology PIC18LF4331 Datasheet HTML 152Page - Microchip Technology PIC18LF4331 Datasheet HTML 153Page - Microchip Technology PIC18LF4331 Datasheet HTML 154Page - Microchip Technology PIC18LF4331 Datasheet HTML 155Page - Microchip Technology PIC18LF4331 Datasheet HTML 156Page - Microchip Technology PIC18LF4331 Datasheet HTML 157Page - Microchip Technology PIC18LF4331 Datasheet HTML 158Page - Microchip Technology PIC18LF4331 Datasheet HTML 159Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 155 / 392 page
background image
 2010 Microchip Technology Inc.
DS39616D-page 155
PIC18F2331/2431/4331/4431
The three input capture channels are controlled
through
the
Input
Capture
Control
registers,
CAP1CON, CAP2CON and CAP3CON. Each channel
is configured independently with its dedicated register.
The implementation of the registers is identical except
for the Special Event Trigger (see Section 17.1.8
“Special Event Trigger (CAP1 Only)”
). The typical
Capture Control register is shown in Register 17-1.
Note:
Throughout this section, references to
registers and bit names that may be asso-
ciated with a specific capture channel will
be referred to generically by the use of the
term ‘x’ in place of the channel number.
For example, ‘CAPxREN’ may refer to the
Capture Reset Enable bit in CAP1CON,
CAP2CON or CAP3CON.
REGISTER 17-1:
CAPxCON: INPUT CAPTURE x CONTROL REGISTER
U-0
R/W-0
U-0
U-0
R/W-0
R/W-0
R/W-0
R/W-0
—
CAPxREN
—
—
CAPxM3
CAPxM2
CAPxM1
CAPxM0
bit 7
bit 0
Legend:
R = Readable bit
W = Writable bit
U = Unimplemented bit, read as ‘0’
-n = Value at POR
‘1’ = Bit is set
‘0’ = Bit is cleared
x = Bit is unknown
bit 7
Unimplemented:
Read as ‘0’
bit 6
CAPxREN:
Time Base Reset Enable bit
1
= Enabled
0
= Disable selected time base Reset on capture
bit 5-4
Unimplemented:
Read as ‘0’
bit 3-0
CAPxM<3:0>:
Input Capture x (ICx) Mode Select bits
1111
= Special Event Trigger mode; the trigger occurs on every rising edge on CAP1 input(1)
1110
= Special Event Trigger mode; the trigger occurs on every falling edge on CAP1 input(1)
1101
= Unused
1100
= Unused
1011
= Unused
1010
= Unused
1001
= Unused
1000
= Capture on every CAPx input state change
0111
= Pulse-Width Measurement mode, every rising to falling edge
0110
= Pulse-Width Measurement mode, every falling to rising edge
0101
= Frequency Measurement mode, every rising edge
0100
= Capture mode, every 16th rising edge
0011
= Capture mode, every 4th rising edge
0010
= Capture mode, every rising edge
0001
= Capture mode, every falling edge
0000
= Input Capture x (ICx) off
Note 1:
Special Event Trigger is only available on CAP1. For CAP2 and CAP3, this configuration is unused.



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