| 전자부품 데이터시트 검색엔진 |
|
AN594 데이터시트(PDF) 22 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN594 데이터시트(HTML) 22 Page - STMicroelectronics |
|
22 / 28 page ![]() 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 ;| |
|
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 All Rights Reserved©Alldatasheet.com |
| 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 |