Electronic Components Datasheet Search
  English  ▼

X  

AN594 Datasheet(PDF) 22 Page - STMicroelectronics

Part # AN594
Description  This note describes a technique for driving
PDF  28 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN594 Datasheet(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


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
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