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) 166 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) 166 Page - Microchip Technology

Back Button PIC18F4331 Datasheet HTML 162Page - Microchip Technology PIC18F4331 Datasheet HTML 163Page - Microchip Technology PIC18F4331 Datasheet HTML 164Page - Microchip Technology 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 Next Button
Zoom Inzoom in Zoom Outzoom out
 166 / 396 page
background image
PIC18F2331/2431/4331/4431
DS39616B-page 164
Preliminary
 2003 Microchip Technology Inc.
16.1.1
EDGE CAPTURE MODE
In this mode, the value of the time base is captured
either on every rising edge, every falling edge, every
4th rising edge, or every 16th rising edge. The edge
present on the input capture pin (CAP1, CAP2 or
CAP3) is sampled by the synchronizing latch. The
signal is used to load the input capture buffer (ICxBUF
register) on the following Q1 clock (see Figure 16-4).
Consequently, Timer5 is either reset to ‘0’ (Q1
immediately following the capture event) or left free
running, depending on the setting of Capture Reset
Enable, CAPxREN, in the CAPxCON register.
FIGURE 16-4:
EDGE CAPTURE MODE TIMING
Note 1: Input
capture
prescalers
are
reset
(cleared) when the Input Capture module
is disabled (CAPxM = 0000).
2: When the Input Capture mode is changed
without first disabling the module and
entering the new Input Capture mode, a
false interrupt (or special event trigger on
IC1) may be generated. The user should
either (1) disable the Input Capture before
entering another mode or (2) disable IC
interrupts to avoid false interrupts during
IC mode changes.
3: During IC mode changes, the prescaler
count will not be cleared, therefore the
first capture in the new IC mode may be
from the non-zero prescaler.
Note:
On the first capture edge following the
setting of the Input Capture mode (i.e.,
MOVWF CAP1CON), Timer5 contents are
always captured into the corresponding
input capture buffer (i.e., CAPxBUF).
Timer5 can optionally be reset; however,
this is dependent on the setting of the
Capture Reset Enable bit (CAPxREN),
see Figure 16-4.
CAP1 pin(2)
0000
0002
0000
0001
0002
TMR5(1)
CAP1BUF(3)
0002
0014
0013
0012
0015
ABCD
0001
0003
TMR5 reset(4)
MOVWF CAP1CON
BCF CAP1CON, CAP1REN
Note 5
0016
Instruction
Note 1:
TMR5 is a synchronous time base input to the Input Capture, prescaler = 1:1. It increments on Q1 rising edge.
2:
IC1 is configured in Edge Capture mode (CAP1M3:CAP1M0 = 0010) with the time base reset upon edge capture
(CAP1REN = 1) and no noise filter.
3:
TMR5 value is latched by CAP1BUF on TCY. In the event that a write to TMR5 coincides with an input capture event,
the write will always take precedence. All input capture buffers, CAP1BUF, CAP2BUF and CAP3BUF, are updated with
the incremented value of the time base on the next TCY clock edge when the capture event takes place (see Note 4
when Reset occurs).
4:
TMR5 Reset is normally an asynchronous reset signal to TMR5. When used with the input capture, it is active immedi-
ately after the time base value is captured.
5:
TMR5 Reset pulse is disabled by clearing CAP1REN bit (e.g, BCF CAP1CON, CAP1REN).
OSC
Execution
Q1Q2 Q3 Q4 Q1Q2Q3Q4 Q1Q2Q3 Q4 Q1Q2Q3Q4 Q1Q2 Q3 Q4 Q1Q2Q3Q4Q1Q2Q3Q4 Q1Q2 Q3 Q4 Q1Q2Q3Q4 Q1Q2Q3Q4



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