Motor de Búsqueda de Datasheet de Componentes Electrónicos
  Mexican  ▼
ALLDATASHEET.COM.MX

X  

PIC18F4331 Datasheet(PDF) 181 Page - Microchip Technology

No. de pieza PIC18F4331
Descripción Electrónicos  28/40/44-Pin Enhanced Flash Microcontrollers with nanoWatt Technology, High Performance PWM and A/D
PDF  396 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Fabricante Electrónico  MICROCHIP [Microchip Technology]
Página de inicio  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC18F4331 Datasheet(HTML) 181 Page - Microchip Technology

Back Button PIC18F4331 Datasheet HTML 177Page - Microchip Technology PIC18F4331 Datasheet HTML 178Page - Microchip Technology PIC18F4331 Datasheet HTML 179Page - Microchip Technology PIC18F4331 Datasheet HTML 180Page - Microchip Technology PIC18F4331 Datasheet HTML 181Page - Microchip Technology PIC18F4331 Datasheet HTML 182Page - Microchip Technology PIC18F4331 Datasheet HTML 183Page - Microchip Technology PIC18F4331 Datasheet HTML 184Page - Microchip Technology PIC18F4331 Datasheet HTML 185Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 181 / 396 page
background image
 2003 Microchip Technology Inc.
Preliminary
DS39616B-page 179
PIC18F2331/2431/4331/4431
FIGURE 16-14:
FILTER TIMING DIAGRAM (CLOCK DIVIDER = 1:1)
16.4
IC and QEI Shared Interrupts
The IC and QEI sub-modules can each generate three
distinct interrupt signals; however, they share the use
of the same three interrupt flags in register PIR3. The
meaning of a particular interrupt flag at any given time
depends on which module is active at the time the
interrupt is set. The meaning of the flags in context are
summarized in Table 16-7.
When the IC submodule is active, the three flags
(IC1IF,
IC2QEIF
and
IC3DRIF)
function
as
interrupt-on-capture event flags for their respective
input
capture
channels.
The
channel
must
be
configured for one of the events that will generate an
interrupt (see Section 16.1.7 “IC Interrupts” for more
information).
When the QEI is enabled, the IC1IF interrupt flag
indicates
an
interrupt
caused
by
a
velocity
measurement event, usually an update of the VELR
register. The IC2QEIF interrupt indicates that a position
measurement event has occurred. IC3DRIF indicates
that a direction change has been detected.
TABLE 16-7:
MEANING OF IC AND QEI
INTERRUPT FLAGS
16.5
Operation in Sleep Mode
16.5.1
3X INPUT CAPTURE IN SLEEP
MODE
Since the input capture can operate only when its time
base is configured in a Synchronous mode, the input
capture will not capture any events. This is because the
device’s internal clock has been stopped, and any
internal timers in synchronous modes will not incre-
ment. The prescaler will continue to count the events
(not synchronized).
When the specified capture event occurs, the CAPxIF
interrupt will be set. The Capture Buffer register will be
updated upon wake-up from sleep to the current TMR5
value. If the CAPxIF interrupt is enabled, the device will
wake-up from sleep. This effectively enables all input
capture channels to be used as the external interrupts.
16.5.2
QEI IN SLEEP MODE
All QEI functions are halted in Sleep mode.
CAP1/INDX pin(1)
TCY
Noise glitch(3)
CAP1/INDX input(2)
TGD = 3TCY
Noise glitch(3)
TQEI = 16TCY
Note 1:
Only CAP1/INDX pin input is shown for simplicity. Similar event timing occurs on CAP2/QEA and CAP3/QEB pins.
2:
Noise filtering occurs in shaded portions of CAP1 input.
3:
Filter’s group delay: TGD = 3 TCY.
(input to filter)
(output from filter)
Interrupt
Flag
Meaning
IC Mode
QEI Mode
IC1IF
IC1 capture
event
Velocity register
update
IC2QEIF
IC2 capture
event
Position measurement
update
IC3DRIF
IC3 capture
event
Direction change



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 Descarga

Go To PDF Page


Enlace URL



¿ALLDATASHEET es útil para Ud.?  [ DONATE ] 

Todo acerca de Alldatasheet   |   Publicidad   |   Contáctenos   |   Política de Privacidad   |   Enlace a la hoja de datos    |   Intercambio de Enlaces   |   Lista de Fabricantes
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