C M L - 1 2 C 3 2
J U L Y
2 6 ,
2 0 0 4
Code Execution
?
?
?
?
Use the GO command to use breakpoints when executing under the monitor. Break-
points may not be acknowledged if the CALL command is used.
If using Autostart, make sure program code is loaded at address $8000
When running code stand-alone, initialize ALL peripherals used by the micro, including
the Stack, Serial Port, and pseudo Interrupt vectors, etc.
Either reset the COP watchdog timer in the main program loop or disable it when not
running in monitor or BDM mode. The MCU may enable this by default and if not han-
dled properly the MCU will reset periodically.
LCD Codes
LCD Command Codes control the operation of the LCD panel. The table below gives each
command code, its effect, and its execution time.
LCD COMMAND CODES
Command
Clear Display, Cursor to Home
Cursor to Home
Entry Mode:
Cursor Decrement, Shift off
Cursor Decrement, Shift on
Cursor Increment, Shift off
Cursor Increment, Shift on
Display Control:
Display, Cursor, and Cursor Blink off
Display on, Cursor and Cursor Blink off
Display and Cursor on, Cursor Blink off
Display, Cursor, and Cursor Blink on
LCD Command Codes (continued)
Cursor / Display Shift: (nondestructive move)
Cursor shift left
Cursor shift right
Display shift left
Display shift right
Display Function (default 2x40 size)
Character Generator Ram Address set
Display Ram Address and set cursor location
Code
$01
$02
$04
$05
$06
$07
$08
$0C
$0E
$0F
$10
$14
$18
$1C
$3C
$40-$7F
$80- $FF
Delay
1.65ms
1.65ms
40us
40us
40us
40us
40us
40us
40us
40us
40us
40us
40us
40us
40us
40us
40us
LCD Character Codes are the ASCII representations for the characters displayed on the LCD
panel. Many ASCII characters cannot be displayed and are used for other purposes. The ta-
ble below lists the ASCII codes that can be displayed and the corresponding character pro-
duced.
19
相关PDF资料
CMR-8040 RACK CABLE MANAGMNT OPEN ASSMBLY
COP8SG-EPU BOARD PROTOTYPE/TARGET COP8
CORE1553-DEV-KIT KIT DEVELOPMENT FOR IP CORE1553
CP131-AG LNR PWR SUP 5V 8A, +/-12V 1.7A
CPC1590P MOSFET GATE DVR ISO 8-FLATPACK
CPC5002G ISOLAT DGTL 3.75KVRMS 2CH 8-DIP
CPCI-D-3U-300C PWR SUPLY DC/DC CPCI 300W 3UX8HP
CPD250-4530G PWR SUP 250W 3.3/5/12/-12V QUAD
相关代理商/技术参数
CML12GC 制造商:CML Innovative Technologies 功能描述:LED LAMP GX53 12V GREEN CLEAR
CML12GS 制造商:Visual Communications Company (VCC) 功能描述:ACSENTIO ACCENT LIGHTING, GREEN, 12V 制造商:CML Innovative Technologies 功能描述:LED LAMP GX53 12V GREEN SATIN
CML12RC 制造商:CML Innovative Technologies 功能描述:LED LAMP GX53 12V RED CLEAR
CML12RS 制造商:Visual Communications Company (VCC) 功能描述:ACSENTIO ACCENT LIGHTING, RED, 12V 制造商:CML Innovative Technologies 功能描述:LED LAMP GX53 12V RED SATIN
CML12WC 制造商:CML Innovative Technologies 功能描述:LED LAMP GX53 12V WHITE CLEAR
CML12WS 制造商:Visual Communications Company (VCC) 功能描述:ACSENTIO ACCENT LIGHTING, WHITE, 12V 制造商:CML Innovative Technologies 功能描述:LED LAMP GX53 12V WHITE SATIN
CML12YC 制造商:CML Innovative Technologies 功能描述:LED LAMP GX53 12V YELLOW CLEAR
CML12YS 制造商:Visual Communications Company (VCC) 功能描述:ACSENTIO ACCENT LIGHTING, YELLOW, 12V 制造商:CML Innovative Technologies 功能描述:LED LAMP GX53 12V YELLOW SATIN