No. 20S071-01
STC-HD213DV / STC-HD213DV-CS / STC-HD213SDI / STC-HD213SDI-CS /
STC-HD213DVN / STC-HD213DVN-CS / STC-HD213SDIN / STC-HD213SDIN-CS
Product Specifications and User
91/94
8.6 OSCD (On Screen Character Display) Command
2 Byte Command
Note: The data have to send as follow order D15-D8, D7-D0.
Function D15
D14
D13
D12
D11
D10
D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
Video RAM Batch
Clear Command
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Display Control
Command
0 0 0 0 1 0 0 0 DO
0 FC
FA 0 0 BL1
BL0
Character Size
Control Command
0 0 0 1 0 1 V4 V3 V2 V1 V0 H4 H3 H2 H1 H0
Write Address
Control Command
0 0 0 1 1 1 0 AD8
AD7
AD6
AD5
AD4
AD3
AD2
AD1
AD0
Character Size
Control Command
0 0 1 0 0 0 SV1
SV0
SH1
SH0
0 0 AR3
AR2
AR1
AR0
Video RAM Batch Clear Command
Clear the all character data (12Lines 28digits) on Video RAM.
Display, Framing color , Framing, Blinking, Frame Color and character size wii set as default (00H) on all lines.
Display Control Command
DO: Display (0:Display ON, 1:Display OFF)
FC: Frame color (0:Black, 1:White)
FA: Framing (0:ON, 1:OFF)
BL1, BL0: Blinking Frequency
(00: Blinking OFF, 01: Blinking Frequency approximately 2 Hz, 02: Blinking Frequency approximately 1 Hz,
03: Blinking Frequency approximately 0.5 Hz)
Character Size Control Command
Sets the start position. 32 steps / 8 dots unit on horizontal. 32 steps / 4 lines unit on vertical.
H4, H3, H2, H1, H0: 8 dots unit (0 to 31)
V4, V3, V2, V1, V0: 4 lines unit (0 to 31)
Write Address Control Command
AD8, AD7, AD6, AD5, AD4, AD3, AD2, AD1, AD0: Address (0 to 335)
Sets the address to write character.
The address consists of RAW 0 (Column 0 to 27), RAW 1 (Column 56 to 83) … RAW11 (Column 308 to 335).
Character Size Control Command
Sets the character size for each row.
SV1, SV0: Size on Vertical (00: x1, 01: x2, 02: x3, 03: x4)
SH1, SH0: Size on Horizontal (00: x1, 01: x2, 02: x3, 03: x4)
AR3, AR2, AR1, AR0: Number of row (0 to 11)