CHAPTER 9 SEGMENT OPTION GENERATOR <winsog>
S5U1C88000C MANUAL II
EPSON
71
WORKBENCH/DEV TOOLS/OLD ASSEMBLER
2. From [SEGMENT DECODE TABLE], select the SEG pin/COM pin to which you want to assign the
memory address/data bit selected in 1 by clicking the appropriate cell. A 3-digit numeric value is
displayed in the cell, showing the selected address (2 high-order digits) and data bit (1 low-order
digit), and the cell changes color to yellow.
Selection example:
If you select an incorrect cell, click the [Delete] button to clear its assignment and reselect from 1.
Two or more cells selected by dragging an area can also be deleted using the [Delete] button.
Before selecting a cell in [SEGMENT DECODE TABLE], always select a cell in [Memory Address/
Data bit].
3. Click the SPEC cell for the segment selected in 2 and then the [Seg] button. The cell shows the
letter S and changes color to red. This means that the segment has been set for a LCD segment
output pin.
If your chip requires selecting segment output and DC output every two pins, the other pin that
comprises a pair is set in the same way.
Selection example:
4. Repeat steps 1 to 2 for all segments used for LCD output. Specification selection in 3 may be
performed later.
If any COM cell in one SEG pin is unused, leave it blank.
Selection example:
(4) Setting DC outputs
When using SEG pins for general-purpose DC output, assign segments according to steps 1 and 2
described in Item (3), "Setting segment outputs". However, output control works in such a way that
the display memory assigned to COM0 is enabled while the display memory assigned to COM1
through COM3 are disabled. Therefore, set a memory address/data bit for only COM0 cell and leave
memory address/data bits for COM1 through COM3 cells blank.
For DC output, you may select an output mode between complementary output and Nch (or Pch)
open-drain output. Select your desired output in SPEC cell using the buttons listed below:
[Comp] button: Complementary output (C)
[Nch-] button: N-channel open-drain output (N)
[Pch-] button:
P-channel open-drain output (P)
If your chip requires selecting an output mode every two pins, the other pin that comprises a pair is
set in the same way.
Selection example:
(5) Setting SEG/COM shared pins
Whether the SEG/COM shared pins output segment signals or common signals is determined by
selecting the function option.
When using the shared pins as SEG pins, allocate display memory addresses/bits as shown above
and leave unused COM cells blank.
When using the shared pins as COM pins, select segment/common shared output ([M] button) as the
output specification and do not allocate memory.
Note: This setting is required only for microcomputers that have SEG/COM shared pins.