Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

PIC18LF4331-E/ML Datasheet(PDF) 160 Page - Microchip Technology

Part # PIC18LF4331-E/ML
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-E/ML Datasheet(HTML) 160 Page - Microchip Technology

Back Button PIC18LF4331-E/ML Datasheet HTML 156Page - Microchip Technology PIC18LF4331-E/ML Datasheet HTML 157Page - Microchip Technology PIC18LF4331-E/ML Datasheet HTML 158Page - Microchip Technology PIC18LF4331-E/ML Datasheet HTML 159Page - Microchip Technology PIC18LF4331-E/ML Datasheet HTML 160Page - Microchip Technology PIC18LF4331-E/ML Datasheet HTML 161Page - Microchip Technology PIC18LF4331-E/ML Datasheet HTML 162Page - Microchip Technology PIC18LF4331-E/ML Datasheet HTML 163Page - Microchip Technology PIC18LF4331-E/ML Datasheet HTML 164Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 160 / 392 page
background image
PIC18F2331/2431/4331/4431
DS39616D-page 160
 2010 Microchip Technology Inc.
17.1.8
SPECIAL EVENT TRIGGER
(CAP1 ONLY)
The
Special
Event
Trigger
mode
of
IC1
(CAP1M<3:0> = 1110 or 1111) enables the Special
Event Trigger signal. The trigger signal can be used as
the Special Event Trigger Reset input to TMR5,
resetting the timer when the specific event happens on
IC1. The events are summarized in Table 17-2.
TABLE 17-2:
SPECIAL EVENT TRIGGER
17.1.9
OPERATING MODES SUMMARY
Table 17-3 shows a summary of the input capture
configuration when used in conjunction with the TMR5
timer resource.
17.1.10
OTHER OPERATING MODES
Although the IC and QEI submodules are mutually
exclusive, the IC can be reconfigured to work with the
QEI module to perform specific functions. In effect, the
QEI “borrows” hardware from the IC to perform these
operations.
For velocity measurement, the QEI uses dedicated
hardware in channel IC1. The CAP1BUF registers are
remapped, becoming the VELR registers. Its operation
and use are described in Section 17.2.6 “Velocity
Measurement”
.
While in QEI mode, the CAP2BUF and CAP3BUF reg-
isters of channel IC2 and IC3 are used for position
determination. They are remapped as the POSCNT
and MAXCNT Buffer registers, respectively.
TABLE 17-3:
INPUT CAPTURE TIME BASE RESET SUMMARY
CAP1M<3:0>
Description
1110
The trigger occurs on every falling
edge on the CAP1 input.
1111
The trigger occurs on every rising
edge on the CAP1 input.
Pin
CAPxM
Mode
Timer
Reset Timer
on Capture
Description
CAP1 0001-0100 Edge Capture
TMR5
optional(1)
Simple Edge Capture mode (includes a
selectable prescaler).
0101
Period Measurement
TMR5
optional(1)
Captures Timer5 on period boundaries.
0110-0111
Pulse-Width
Measurement
TMR5
always
Captures Timer5 on pulse boundaries.
1000
Input Capture on State
Change
TMR5
optional(1)
Captures Timer5 on state change.
1110-1111
Special Event Trigger
(rising or falling edge)
TMR5
optional(2)
Used as a Special Event Trigger to be
used with the Timer5 or other peripheral
modules.
CAP2 0001-0100 Edge Capture
TMR5
optional(1)
Simple Edge Capture mode (includes a
selectable prescaler).
0101
Period Measurement
TMR5
optional(1)
Captures Timer5 on period boundaries.
0110-0111
Pulse-Width
Measurement
TMR5
always
Captures Timer5 on pulse boundaries.
1000
Input Capture on State
Change
TMR5
optional(1)
Captures Timer5 on state change.
CAP3 0001-0100 Edge Capture
TMR5
optional(1)
Simple Edge Capture mode (includes a
selectable prescaler).
0101
Period Measurement
TMR5
optional(1)
Captures Timer5 on period boundaries.
0110-0111
Pulse-Width
Measurement
TMR5
always
Captures Timer5 on pulse boundaries.
1000
Input Capture on State
Change
TMR5
optional(1)
Captures Timer5 on state change.
Note 1:
Timer5 may be reset on capture events only when CAPxREN = 1.
2:
Trigger mode will not reset Timer5 unless RESEN = 0 in the T5CON register.



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