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

X  

AN594 bảng dữ liệu(PDF) 24 Page - STMicroelectronics

tên linh kiện AN594
Giải thích chi tiết về linh kiện  This note describes a technique for driving
PDF  28 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  STMICROELECTRONICS [STMicroelectronics]
Trang chủ  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN594 bảng dữ liệu(HTML) 24 Page - STMicroelectronics

Back Button AN594 Datasheet HTML 20Page - STMicroelectronics AN594 Datasheet HTML 21Page - STMicroelectronics AN594 Datasheet HTML 22Page - STMicroelectronics AN594 Datasheet HTML 23Page - STMicroelectronics AN594 Datasheet HTML 24Page - STMicroelectronics AN594 Datasheet HTML 25Page - STMicroelectronics AN594 Datasheet HTML 26Page - STMicroelectronics AN594 Datasheet HTML 27Page - STMicroelectronics AN594 Datasheet HTML 28Page - STMicroelectronics  
Zoom Inzoom in Zoom Outzoom out
 24 / 28 page
background image
Direct LCD Drive
24/28
;************************************************************************
;*
HEXADECIMAL — > DECIMAL DATA CONVERSION SUBROUTINE
;*
;* task : convert an hexadecimal data in a Binary Coded Decimal data
;*
determine data/rom window address of segments driver byte
;*
;*
;*
hexadecimal data is a stable data varying from 0 to 256
;*
result is a percent decimal data varying from 0 to 99
;*
BCD
Binary Coded Decimal data
;*
;*
for instance, data is duty0
;*
;*
DIG1 = data/rom WDW @ of DIGIT1 segments driver = 01wxyzAB
;*
DIGIT1 = wxyz ( from 0 to 9 ) and
;*
AB are defined by phase operation : AB = 00 for phase1 ...
;*
AB = 11 for phase4
;*
DIG2 = data/rom WDXW @ of DIGIT2 segments driver
;*
similar writing than DIG1
;*
;*************************************************************************
DECCONV
jrr
7,duty0,ET1
; DATA <== duty0
ldi
drwr,039h
; b7 of DATA is 1 : 50 < DATA < 99
jp
ET2
ET1
ldi
drwr,038h
; b7 of DATA is 0 : 00 < DATA < 49
ET2
ld
a,duty0
;
rlc
a
;
rlc
a
;
rlc
a
; calculation of BinCodDec DATA
rlc
a
; address
rlc
a
;
rlc
a
;
rlc
a
;
rlc
a
;
set
6,a
;
res
7,a
;
ld
x,a
;
ld
a,(x)
;
ld
BCD,a
; BCD <= Binary Coded Decimal DATA
andi
a,00fh
; determine DIGIT1 value and the
sla
a
; data/rom address of DIGIT1 segments
sla
a
; driver
addi
a,040h
;
ld
DIG1,a
; DIG1 = data/rom @ of segment driver
ld
a,BCD
; determine DIGIT2 value and the
andi
a,0f0h
; data/rom address of DIGIT2 segments
rlc
a
;
driver
rlc
a
;
rlc
a
;
rlc
a
;
rlc
a
;
sla
a
;
sla
a
;
ANNEX 2: Software of the ST6265x based application (Continued)



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


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