English
Language : 

HD64F2145 Datasheet, PDF (254/829 Pages) Renesas Technology Corp – Hitachi 16-Bit Single-Chip Microcomputer
8.15.6 Input Pull-Up MOS in Ports E and F
Port E and port F have an on-chip input pull-up MOS function that can be controlled by software.
This input pull-up MOS function can be switched on or off on a bit-by-bit basis.
Table 8.10 is a summary of the input pull-up MOS states.
Table 8.10 Input Pull-Up MOS States (Port E and port F)
Mode
Reset
Hardware
Standby Mode
Software
Standby Mode
Other
Operations
1, 2, 3
Off
Off
On/Off
On/Off
Legend
Off: Input pull-up MOS is always off.
On/Off: On when PEDDR = 0 and PEODR = 1 (PFDDR = 0 and PFODR = 1); otherwise off.
8.16 Port G
Port G is an 8-bit I/O port. Port G pin functions are the same in all operating modes. The output
type of port G is NMOS open-drain.
• Port G data direction register (PGDDR)
• Port G output data register (PGODR)
• Port G input data register (PGPIN)
• Port G Nch-OD control register (PGNOCR)
8.16.1 Port G Data Direction Register (PGDDR)
PGDDR selects input or output for the pins of port G on a bit-by-bit basis.
Bit Bit Name Initial Value R/W Description
7
PG7DDR 0
W
0: Port G pin is an input pin
6
PG6DDR 0
W
1: Port G pin is an output pin
5
PG5DDR 0
4
PG4DDR 0
W
PGDDR has the same address as PGPIN, and if
W
read, the port G pin states will be returned.
3
PG3DDR 0
W
2
PG2DDR 0
W
1
PG1DDR 0
W
0
PG0DDR 0
W
Rev. 2.0, 08/02, page 214 of 788