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

X  

AN1602 bảng dữ liệu(PDF) 9 Page - STMicroelectronics

tên linh kiện AN1602
Giải thích chi tiết về linh kiện  16-BIT TIMING OPERATIONS USING ST7262 OR ST7263B MCUs
PDF  21 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  STMICROELECTRONICS [STMicroelectronics]
Trang chủ  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN1602 bảng dữ liệu(HTML) 9 Page - STMicroelectronics

Back Button AN1602 Datasheet HTML 5Page - STMicroelectronics AN1602 Datasheet HTML 6Page - STMicroelectronics AN1602 Datasheet HTML 7Page - STMicroelectronics AN1602 Datasheet HTML 8Page - STMicroelectronics AN1602 Datasheet HTML 9Page - STMicroelectronics AN1602 Datasheet HTML 10Page - STMicroelectronics AN1602 Datasheet HTML 11Page - STMicroelectronics AN1602 Datasheet HTML 12Page - STMicroelectronics AN1602 Datasheet HTML 13Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 9 / 21 page
background image
9/21
16-BIT TIMING OPERATIONS USING ST7262 OR ST7263B MCUs
& TIC2LR registers. These two registers act together as one 16-bit register that holds the
counter value to be stored in PulseEnd (PulseEndHR & PulseEndLR).
1.2.2.2 Example of input capture interrupt routine
.Input_Capt_Rt
Btjt TSR , #7 , Flag1
; Test Rising or falling edge ?
.Flag2
; Falling Edge
Ld
A , TSR
; Clear Interrupt Flag
Ld
A , TIC2HR
; Load TIC2R ( HR & LR ) into
Ld
PulseEndHR , A; PulseEnd ( HR & LR )
Ld
A , TIC2LR
;
Ld
PulseEndLR , A;
Iret
;
.Flag1
; Rising Edge
Ld
A , TSR
;Load TIC1R ( HR & LR ) into
Ld
A , TIC1HR
; PulseStart ( HR & LR )
Ld
PulseStartHR , A;
Ld
A , TIC1LR
;
Ld
PulseStartLR , A;
Iret
;
1.2.3 Frequency Measurement
1.2.3.1 Measurement principles
To measure frequency we will use the same technique we used for the ST7262 (see Section
1.1.3). We need only one input capture pin configured to detect rising edges and two 16-bit
variables to hold the 16-bit timer value at each input capture occurrence (StartPeriod) and
(EndPeriod). We will need also FirstEdge which indicates the first rising edge or the second
edge.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21


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