전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

X  

AN594 데이터시트(PDF) 22 Page - STMicroelectronics

부품명 AN594
상세설명  This note describes a technique for driving
PDF  28 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  STMICROELECTRONICS [STMicroelectronics]
홈페이지  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN594 데이터시트(HTML) 22 Page - STMicroelectronics

Back Button AN594 Datasheet HTML 18Page - STMicroelectronics AN594 Datasheet HTML 19Page - STMicroelectronics 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 Next Button
Zoom Inzoom in Zoom Outzoom out
 22 / 28 page
background image
Direct LCD Drive
22/28
ANNEX 2: Software of the ST6265x based application (Continued)
jrr
1,LCDCTL,LOOP2
; determine phase2 operation
jrr
2,LCDCTL,LOOP3
; determine phase3 operation
;*************************
PHASE 4
*********************************
LOOP4
inc
DIG1
; increment DIG1 & DIG2 for phase 4
inc
DIG2
;
call
DATALCD
; calculate phase4 segments driver byte
ldi
pbbuf,00000011b
; pb buffer load
ldi
pb
,00000011b
; pb1 in High Impedance (HI) & pb0 to 0
ldi
pbdir,00110001b
;
ldi
pbbuf,00000010b
; pb buffer load
ldi
pb
,00000010b
;
ld
pa,a
; load segment driver byte on port a
ld
a,AUX3
;|
ld
x,a
;|
ld
a,AUX2
;|return to main tasks with context ;
ld
drwr,a
;| ( AUX2 <== drwr in main program )
;
ld
a,AUX1
;|
clr
LCDCTL
; end of loop4 & full LCD sequence
reti
;*************************
PHASE 3
********************************
LOOP3
inc
DIG1
; increment DIG1 & DIG2 for phase 3
inc
DIG2
call
DATALCD
; calculate phase3 segments driver byte
ldi
pbopt,00110000b
; pb0 in HI & pb1 to 0
ldi
pbdir,00110010b
;
ldi
pbbuf,00000001b
; pb buffer load
ldi
pb,
00000001b
;
ld
pa ,a
; load segment driver byte on port a
;
ld
a,AUX3
;|
;
ld
x,a
;|
;
ld
a,AUX2
;|return to main tasks with context
;
ld
drwr,a
;| ( AUX2 <== drwr in main program )
;
ld
a,AUX1
;|
set
2,LCDCTL
; end of loop3
reti
;*************************
PHASE 2
*********************************
LOOP2
inc
DIG1
; increment DIG1 & DIG2 for phase 2
inc
DIG2
call
DATALCD
; calculate phase2 segments driver byte
ldi
pbopt,00110000b
; pb1 in HI & pb0 to 1
ldi
pbdir,00110001b
;
ldi
pbopt,00110001b
;
ld
pa,a
; load segment driver byte on port a
;
ld
a,AUX3
;|
;
ld
x,a
;|
;
ld
a,AUX2
;|return to main tasks with context
;
ld
drwr,a
;| ( AUX2 <== drwr in main program )
;
ld
a,AUX1
;|



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


데이터시트 다운로드

Go To PDF Page


링크 URL



ALLDATASHEET 가 귀하에 도움이 되셨나요?  [ DONATE ] 

Alldatasheet는?   |   광고문의   |   운영자에게 연락하기   |   개인정보취급방침   |   링크 투 데이터시트    |   링크교환   |   제조사별 검색
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