Port A Pull-Up Mos Control Register (Papcr); Port A Open-Drain Control Register (Paodr) - Hitachi H8S/2628 Hardware Manual

H8s/2628 series 16-bit single-chip microcomputer
Table of Contents

Advertisement

9.6.4

Port A Pull-Up MOS Control Register (PAPCR)

PAPCR is an 8-bit register that controls the input pull-up MOS function.
Bit
Bit Name
Initial Value
7 to
Undefined
4
3
PA3PCR
0
2
PA2PCR
0
1
PA1PCR
0
0
PA0PCR
0
9.6.5

Port A Open-Drain Control Register (PAODR)

PAODR is an 8-bit readable/writable register that specifies the output type of port A.
Bit
Bit Name
Initial Value
7 to
Undefined
4
3
PA3ODR
0
2
PA2ODR
0
1
PA1ODR
0
0
PA0ODR
0
Rev. 1.0, 09/02, page 140 of 568
R/W
Description
Reserved
These bits are read as an undefined value and
cannot be modified.
R/W
When a pin is specified as an input port, setting the
corresponding bit to 1 turns on the input pull-up MOS
R/W
for that pin.
R/W
R/W
R/W
Description
Reserved
These bits are read as an undefined value and
cannot be modified.
R/W
When a pin is specified as an output port, setting the
corresponding bit to 1 specifies pin output to open-
R/W
drain and the input pull-up MOS to the off state.
R/W
Clearing this bit to 0 specifies that to push-pull
output.
R/W

Advertisement

Table of Contents
loading

This manual is also suitable for:

Hd64f2628Hd6432628H8s/2627Hd6432627

Table of Contents