参数资料
型号: AY0438-L
厂商: Microchip Technology Inc.
英文描述: 32-Segment CMOS LCD Driver
中文描述: 32段LCD驱动器的CMOS
文件页数: 6/11页
文件大小: 148K
代理商: AY0438-L
AY0438
DS70010I-page 6
1995 Microchip Technology Inc.
retlw B'01111101' ;decode for 6
retlw B'00000111' ;decode for 7
retlw B'01111111' ;decode for 8
retlw B'01101111' ;decode for 9
;
;
start
clrf PORTB
bsf STATUS,RP0 ;set portb 0,1&2 as outputs
movlw B'11111000' ; /
movwf PORTB ; /
bcf OPTION,RBPU ;enable pull-up for switch
bcf STATUS,RP0
wait
btfsc UPDATELCD ;see if update switch is low
goto wait ;no then wait
bcf LOAD ;make sure load is disabled
movf LSD,w ;get least significant value
clrf PCLATH ;PCH = 0
call DecodeValue ;decode the value
call Send8 ;serially output the seg values
movf SCNDSD,w ;get 2nd significant digit
call DecodeValue ;decode it
call Send8 ;serially output it
movf THRDSD,w ;get 3rd significant digit
call DecodeValue ;decode it
call Send8
movf MSD,w ;get Most significant value
call DecodeValue ;decode it
call Send8 ;serially send it
bsf LOAD ;toggle the LOAD line
bcf LOAD ;to enable the latches
KeyReleased
btfss UPDATELCD ;wait for key to be released
goto KeyReleased
goto wait ;repeat loop.
;
;Send8, sends the 8 bits in the W register
Send8
movwf temp ;save in temp
movlw .8 ;init count
movwf count ;to 8
sendloop
bcf DATAIN ;make sure DATAIN is low
rrf temp ;rotate value through carry
btfsc STATUS,C ;if bit clear then skip
bsf DATAIN ;else set data bit
bsf CLK ;toggle clock
bcf CLK ; /
decfsz count ;see if 8 done
goto sendloop ;no then do all
return ;else return
end
相关PDF资料
PDF描述
AY0438-P 32-Segment CMOS LCD Driver
AY0438-S 32-Segment CMOS LCD Driver
AY0438IL 32-Segment CMOS LCD Driver
AY0438IP 32-Segment CMOS LCD Driver
AY0438IS 32-Segment CMOS LCD Driver
相关代理商/技术参数
参数描述
AY0438P 制造商:MICROCHIP 制造商全称:Microchip Technology 功能描述:32-Segment CMOS LCD Driver
AY0438-P 制造商:MICROCHIP 制造商全称:Microchip Technology 功能描述:32-Segment CMOS LCD Driver
AY0438S 制造商:MICROCHIP 制造商全称:Microchip Technology 功能描述:32-Segment CMOS LCD Driver
AY0438-S 制造商:MICROCHIP 制造商全称:Microchip Technology 功能描述:32-Segment CMOS LCD Driver
AY0438T/L 功能描述:LCD 驱动器 LCD Driver RoHS:否 制造商:Maxim Integrated 数位数量:4.5 片段数量:30 最大时钟频率:19 KHz 工作电源电压:3 V to 3.6 V 最大工作温度:+ 85 C 最小工作温度:- 20 C 封装 / 箱体:PDIP-40 封装:Tube