Datasheet

RL78/L12 CHAPTER 4 PORT FUNCTIONS
R01UH0330EJ0200 Rev.2.00 113
Dec 13, 2013
4.3.9 LCD port function registers 0 to 4 (PFSEG0 to PFSEG4)
These registers set whether to use pins P10 to P17, P30 to P32, P41 to P43, P50 to P54, P60, P61, P70 to P74, P120,
and P140 to P147 as port pins (other than segment output pins) or segment output pins.
These registers can be set by a 1-bit or 8-bit memory manipulation instruction.
Reset signal generation sets these registers to FFH (PFSEG0 is set to F0H, and PFSEG4 is set to 7FH).
Remark The correspondence between the segment output pins (SEGxx) and the PFSEG register (PFSEGxx bits)
and the existence of SEGxx pins in each product are shown in Table 4-4 Segment Output Pins in Each
Product and Correspondence with PFSEG Register (PFSEG Bits).
Figure 4-9. Format of LCD port function registers 0 to 4 (PFSEG0 to PFSEG4) (64-pin products)
Address: F0300H After reset: F0H R/W
Symbol 7 6 5 4 3 2 1 0
PFSEG0 PFSEG07 PFSEG06 PFSEG05 PFSEG04 0 0 0 0
Address: F0301H After reset: FFH R/W
Symbol 7 6 5 4 3 2 1 0
PFSEG1 PFSEG15 PFSEG14 PFSEG13 PFSEG12 PFSEG11 PFSEG10 PFSEG09 PFSEG08
Address: F0302H After reset: FFH R/W
Symbol 7 6 5 4 3 2 1 0
PFSEG2 PFSEG23 PFSEG22 PFSEG21 PFSEG20 PFSEG19 PFSEG18 PFSEG17 PFSEG16
Address: F0303H After reset: FFH R/W
Symbol 7 6 5 4 3 2 1 0
PFSEG3 PFSEG31 PFSEG30 PFSEG29 PFSEG28 PFSEG27 PFSEG26 PFSEG25 PFSEG24
Address: F0304H After reset: 7FH R/W
Symbol 7 6 5 4 3 2 1 0
PFSEG4 0 PFSEG38 PFSEG37 PFSEG36 PFSEG35 PFSEG34 PFSEG33 PFSEG32
PFSEGxx
(xx = 04
to 38)
Port (other than segment output)/segment outputs specification of Pmn pins
(mn = 10 to 17, 30 to 32, 41 to 43, 50 to 54, 60, 61, 70-74, 120, 140 to 147)
0 Used the Pmn pin as port (other than segment output)
1 Used the Pmn pin as segment output