công cụ tìm kiếm bảng dữ liệu linh kiện điện tử
  Vietnamese  ▼
ALLDATASHEET.VN

X  

PIC18F4331 bảng dữ liệu(PDF) 169 Page - Microchip Technology

tên linh kiện PIC18F4331
Giải thích chi tiết về linh kiện  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
nhà sản xuất  MICROCHIP [Microchip Technology]
Trang chủ  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC18F4331 bảng dữ liệu(HTML) 169 Page - Microchip Technology

Back Button PIC18F4331 Datasheet HTML 165Page - Microchip Technology PIC18F4331 Datasheet HTML 166Page - Microchip Technology PIC18F4331 Datasheet HTML 167Page - Microchip Technology PIC18F4331 Datasheet HTML 168Page - Microchip Technology PIC18F4331 Datasheet HTML 169Page - Microchip Technology PIC18F4331 Datasheet HTML 170Page - Microchip Technology PIC18F4331 Datasheet HTML 171Page - Microchip Technology PIC18F4331 Datasheet HTML 172Page - Microchip Technology PIC18F4331 Datasheet HTML 173Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 169 / 396 page
background image
 2003 Microchip Technology Inc.
Preliminary
DS39616B-page 167
PIC18F2331/2431/4331/4431
16.1.5
ENTERING INPUT CAPTURE MODE
AND CAPTURE TIMING
The following is a summary of functional operation
upon entering any of the Input Capture modes:
1.
After the module is configured for one of the
capture modes by setting the Mode Select bits
(CAPxM3:CAPxM0), the first detected edge
captures Timer5 value and stores it in the CAPx-
BUF register. The timer is then reset (depending
on the setting of CAPxREN bit) and starts to
increment
according
to
its
settings,
see
Figure 16-4, Figure 16-5 and Figure 16-6.
2.
On all edges, the capture logic performs the fol-
lowing:
a)
Input Capture mode is decoded and the
active edge is identified
b)
The CAPxREN bit is checked to determine
whether Timer5 is reset or not.
c)
On every active edge, the Timer5 value is
recorded in the input capture buffer (CAPx-
BUF).
d)
Reset Timer5 after capturing the value of
the timer when CAPxREN bit is enabled.
Timer5 is reset on every active capture
edge in this case.
e)
On all continuing capture edge events
repeat steps 1 through 4 until the Opera-
tional mode is terminated either by user
firmware, POR or BOR.
f)
The timer value is not affected when switch-
ing into and out of various input capture
modes.
16.1.6
TIMER5 RESET
Every Input Capture trigger can optionally reset
(TMR5). Capture Reset Enable bit, CAPxREN, gates
the automatic Reset of the time base of the capture
event with this enable Reset signal. All capture events
reset the selected timer when CAPxREN is set. Resets
are
disabled
when
CAPxREN
is
cleared
(see
Figure 16-4, Figure 16-5 and Figure 16-6).
16.1.7
IC INTERRUPTS
There are four operating modes for which the IC
module can generate an interrupt and set one of the
Interrupt
Capture
flag
bits
(IC1IF,
IC2QEIF
or
IC3DRIF). The interrupt flag that is set depends on the
channel in which the event occurs. The modes are:
• Edge capture (CAPxM3:CAPxM0 = 0001, 0010,
0011
or 0100)
• Period measurement event
(CAPxM3:CAPxM0 = 0101)
• Pulse width measurement event
(CAPxM3:CAPxM0 = 0110 or 0111)
• State change event (CAPxM3:CAPxM0 = 1000)
The timing of interrupt and special trigger events is
shown in Figure 16-7. Any active edge is detected on
the rising edge of Q2 and propagated on the rising
edge of Q4 rising edge. If an active edge happens to
occur any later than this (on the falling edge of Q2, for
example), then it will be recognized on the next Q2
rising edge.
Note:
The CAPxREN bit has no effect in Pulse
Width Measurement mode.
Note:
The special event trigger is generated only
in the Special Event Trigger mode on
CAP1 input (CAP1M2:CAP1M0> = 1110
and 1111). IC1IF interrupt is not set in this
mode.



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


bảng dữ liệu tải về

Go To PDF Page


Link URL



Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không?  [ DONATE ] 

Alldatasheet là   |   Quảng cáo   |   Liên lạc với chúng tôi   |   Chính sách bảo mật   |   Liên kết đến bảng dữ liệu    |   Trao đổi link   |   Tìm kiếm theo nhà sản xuất
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