English
Language : 

E202075_HD404889 Datasheet, PDF (79/202 Pages) Renesas Technology Corp – Low-Voltage AS Microcomputers with On-Chip LCD Circuit
HD404889/HD404899/HD404878/HD404868 Series
Port mode register 4 (PMR4: $00C)
Bit
Read/Write
Initial value on reset
Bit name
3
W
0
PMR43
2
W
0
PMR42
1
W
0
PMR41
0
W
0
PMR40
PMR40 R3/SEG1 to SEG4 pin mode selection
0
R3
1*
SEG1–4
PMR41
0
1*
R4/SEG5 to SEG8 pin mode selection
R4
SEG5–8
PMR42
0
1*
R5/SEG9 to SEG12 pin mode selection
R5
SEG9–12
PMR43 R6/SEG13 to SEG16 pin mode selection
0
R6
1*
SEG13–16
* : When use as a segment output pin, write its port data register (PDR) to '0'
Figure 32 Port Mode Register 4 (PMR4: $00C)
Pull-Up MOS Control
Program-controllable pull-ups MOS are incorporated in all I/O pins.
On/off control of all pull-ups MOS is performed by bit 3 (MIS3) of the miscellaneous register (MIS: $005)
and the port data register (PDR) for each pin, enabling the pull-up MOS to be turned on or off
independently for each pin (table 22, figure 33).
Except for analog input multiplexed pins, the pull-up MOS on/off setting can be made independent of the
setting as an on-chip supporting module pin.
77