Static mode software example – Texas Instruments MSP430x4xx User Manual
Page 361
LCD_A Controller Operation
19-11
LCD_A Controller
Static Mode Software Example
;
All eight segments of a digit are often located in four
;
display memory bytes with the static display method.
;
a
EQU
001h
b
EQU
010h
c
EQU
002h
d
EQU
020h
e
EQU
004h
f
EQU
040h
g
EQU
008h
h
EQU
080h
;
The register content of Rx should be displayed.
:
The Table represents the ’on’−segments according to the
;
content of Rx.
MOV.B
Table (Rx),RY
; Load segment information
; into temporary memory.
; (Ry) = 0000 0000 hfdb geca
MOV.B
Ry,&LCDn
; Note:
; All bits of an LCD memory
’ byte are written
RRA
Ry
; (Ry) = 0000 0000 0hfd bgec
MOV.B
Ry,&LCDn+1
; Note:
; All bits of an LCD memory
; byte are written
RRA
Ry
; (Ry) = 0000 0000 00hf dbge
MOV.B
Ry,&LCDn+2
; Note:
; All bits of an LCD memory
’ byte are written
RRA
Ry
; (Ry) = 0000 0000 000h fdbg
MOV.B
Ry,&LCDn+3
; Note:
; All bits of an LCD memory
’ byte are written
...........
...........
;
Table DB
a+b+c+d+e+f
; displays ”0”
DB
b+c;
; displays ”1”
...........
...........
DB
...........
- Digital Signal Processor SM320F2812-HT (153 pages)
- MSP430x1xx (440 pages)
- Laser And Motor Drives DRV8811EVM (13 pages)
- TMS320 DSP (88 pages)
- MSP430x11x1 (45 pages)
- TVP5154EVM (55 pages)
- TMS320DM646X DMSOC (64 pages)
- CC2511 (24 pages)
- SN65HVS880 (4 pages)
- TPS650231EVM (14 pages)
- TMS320TCI648x (256 pages)
- TSC2007EVM-PDK (16 pages)
- UCC38500EVM (16 pages)
- TMS320C6000 (62 pages)
- SCAU020 (21 pages)
- TPS40051 (17 pages)
- TNETE2201 (14 pages)
- TMS320C64x DSP (306 pages)
- UCC2891 (21 pages)
- TMS320C3x (757 pages)
- MSP430 (138 pages)
- TMS320C6712D (102 pages)
- TMS320C6454 (225 pages)
- SPRU938B (48 pages)
- TUSB3210 (22 pages)
- TMS320C6457 (43 pages)
- CC2530ZNP (3 pages)
- TMS320C6455 (50 pages)
- TSB12LV26 (91 pages)
- TMS320C6472 (2 pages)
- VLYNQ Port (49 pages)
- TMS380C26 (92 pages)
- MSP-FET430 (95 pages)
- TMS320TCI6486 (160 pages)
- TPS2330 (22 pages)
- DM648 DSP (47 pages)
- TMS320DM36X (134 pages)
- MSC1211 (35 pages)
- SPRAA56 (29 pages)
- DAC7741EVM (28 pages)
- CDCM7005 (34 pages)
- TMS370 (99 pages)
- Adpater (37 pages)
- TMS320C6452 DSP (46 pages)