поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

AN1602 датащи(PDF) 5 Page - STMicroelectronics

номер детали AN1602
подробное описание детали  16-BIT TIMING OPERATIONS USING ST7262 OR ST7263B MCUs
PDF  21 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  STMICROELECTRONICS [STMicroelectronics]
домашняя страница  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN1602 датащи(HTML) 5 Page - STMicroelectronics

  AN1602 Datasheet HTML 1Page - STMicroelectronics AN1602 Datasheet HTML 2Page - STMicroelectronics AN1602 Datasheet HTML 3Page - STMicroelectronics AN1602 Datasheet HTML 4Page - STMicroelectronics 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 Next Button
Zoom Inzoom in Zoom Outzoom out
 5 / 21 page
background image
5/21
16-BIT TIMING OPERATIONS USING ST7262 OR ST7263B MCUs
Ld A , TBUCV
; Load the TBU counter value
Ld TmpTBU1 , A; into TmpTBU1
Ld A , ARTCAR
; Load the ART counter Value
Ld TmpART1 , A
; into TmpART1
Ld A , TBUCV
; Load the TBU counter value into
Ld TmpTBU2 , A; TmpTBU2
Ld A , TmpART1
; Compare ART & ICR
Cp A , IcapReg2
; If ART > ICR then Case 2
jrpl Case2
;
Ld A ,TmpTBU2; Case 1 : TBU = TBU2 - 1
Dec A
;
jra Next2
;
.Case2
Ld A , TmpTBU1
; Case TBU = TBU1
.Next2
Ld PulseEndHR , A; load TBUCV into PulseEndHR
Ld A , IcapReg2
; Load The ART Inp Capt 2 register
Ld PulseEndLR , A; Value into PulseEndLR
Iret
; Exit from Interrupt
.Flag1 Ld A , ARTICR1
; Latch the Input Cap Reg into
Ld IcapReg1 , A; IcapReg1
Ld A , ARTICCSR
; Clear Interrupt
Ld A , TBUCV
; Load the TBU counter value
Ld TmpTBU1 , A; into TmpTBU1
Ld A , ARTCAR
; Load the ART counter Value
Ld TmpART1 , A
; into TmpART1
Ld A , TBUCV
; Load the TBU counter value into
Ld TmpTBU2 , A; TmpTBU2
Ld A , TmpART1
; Compare ART & ICR
Cp A , IcapReg1
;
jrpl Case1
;
Ld A , TmpTBU2; Case : TBU = TBU2 - 1
Dec A
;
jra Next1
;
.Case1
Ld A , TmpTBU1
; Case TBU = TBU1
.Next1
Ld PulseStartHR , A; load TBUCV into PulseEndHR
Ld A , IcapReg1
; Load The ART Inp Capt 2 register
Ld PulseStartLR , A; Value into PulseEndLR
Iret
; Exit from Interrupt
1.1.3 Frequency Measurement
1.1.3.1 Measurement Principles
Frequency measurement is a little bit different from pulse length measurement. To get the fre-
quency, we measure the full signal period which can be defined by the time interval between
two consecutive rising edges (Figure 6)



Html Pages

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


датащи скачать

Go To PDF Page


ссылки URL



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
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