4 sog62xx operation procedure, 1 creating segment option source file – Epson S1C62 Family User Manual

Page 90

Advertising
background image

SEGMENT OPTION GENERATOR SOG62XX

VI-4

EPSON

S1C62 FAMILY

DEVELOPMENT TOOL REFERENCE MANUAL

Note

The high-order address of the segment
memory may vary depending on the model.

4 SOG62XX OPERATION PROCEDURE

4.1 Creating Segment Option Source File

The SOG62XX needs, as an input file, a segment option source file containing the specifications for the
segment output ports. Using the editor, generate this source file by referencing the contents of the option
list. Use the following file name. For "YYY", enter the string distributed by Seiko Epson.

C2XXYYY.SEG

Write the output specifications (SEG output, DC complementary output, or DC open drain output) and the
segment memory-SEG ports correspondence data (data that associates segment memory addresses to SEG
ports) in the file. Comments may also be written in the file. The description procedure is explained by
using a sample segment option source file.

Note

In the following examples, there are cases of models where the common output is 4 terminals and
the 900H–AFFH is set in the display memory area. You should be aware of the fact that the number
of output ports and the display memory address may vary depending on the model.

; C2XXYYY.SEG
; LCD SEGMENT DECODE TABLE

Comment

;
0 901 900 932 A20 S ;1st DIGIT
1 912 911 910 923 S
2 913 920 921 922 S
3 A00 902 930 931 S
4 AE0 --- --- --- C ;DC OUTPUT
5 AF0 --- --- --- C
: : : : : :

Segment memory-SEG ports

Output

Comment

correspondence data

specification data

Comment

A statement beginning with a semicolon (";") is considered a comment. Such items as date, summary,
and version may be written in such a line.

Segment memory-SEG ports correspondence data

This data indicates correspondence between segment memory addresses and segment ports. The
arrangement is the same as that of the option list, so write the data in the following format while
referencing the option list.

0_901_900_932_A20
:_:::_:::_:::_:::

Segment memory data bit (D)

0–3

Segment memory low-order address (L)

0–F

COM3

Segment memory high-order address (H)

9–A*

Segment memory data bit (D)

0–3

Segment memory low-order address (L)

0–F

COM2

Segment memory high-order address (H)

9–A*

Segment memory data bit (D)

0–3

Segment memory low-order address (L)

0–F

COM1

Segment memory high-order address (H)

9–A*

Segment memory data bit (D)

0–3

Segment memory low-order address (L)

0–F

COM0

Segment memory high-order address (H)

9–A*

SEG port number

Advertising