
HT9580
19
April 28, 2000
Preliminary
The HT9580 has three general purpose I/O
ports. The I/O cell structures are configurable.
Details are shown in the table.
Port A
Port A is a general-purpose I/O port. The PAC
register controls the data directions for port A.
When set as input data type, this port has
wake-up capability and the input cell struc-
tures are schmitt trigger types. While in a
HALT condition, a falling edge signal on Port
A can wake-up the
C. In addition, the input
cell structures can be configured as pull-high or
non-pull-high.Whensetasanoutputdatatype,
the output structures are CMOS outputs.
1
0
PA
The pin output
logic high
The pin output
logic low
PAC
As input pin
As output pin
PAWUE
The pin has
wake-up
capability
The pin has no
wake-up
capability
PAIM
CMOS input
structure
with pull-high
resistor
CMOS input
structure with-
out pull-high
resistor
Port B
Port B is a general-purpose I/O port controlled
by the PBC register. The PBIM register con-
trols the input cell structures: normal CMOS
inputs or CMOS inputs with pull-high resis-
tors.
1
0
PB
Pin output
logic high
Pin output
logic low
PBC
Input pin
Output pin
PBIM
CMOS input
structure with
pull-high
resistor
CMOS input
structure without
pull-high resistor
Port C
This is a general-purpose I/O port contolled by
the PCC register. The PCIM register controls
the input cell structures: normal CMOS inputs
or CMOS inputs with pull-high resistors.
1
0
PC
The pin output
logic high
The pin output
logic low
PCC
As input pin
As output pin
PCIM
CMOS input
structure
with pull-high
resistor
CMOS input
structure
withoutpull-high
resistor
I/O port configuration registers
Address
Register
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
State on
POR
000BH
PA data
X
X
PA5
PA4
PA3
PA2
PA1
PA0
uu11 1111
000CH
PB data
PB7
PB6
PB5
PB4
PB3
PB2
PB1
PB0
1111 1111
000DH
PC data
X
X
X
X
X
X
PC1
PC0
uuuu uu11
000EH
PAC
X
X
PAC5
PAC4
PAC3
PAC2
PAC1
PAC0
uu11 1111
000FH
PBC
PBC7
PBC6
PBC5
PBC4
PBC3
PBC2
PBC1
PBC0
1111 1111
0010H
PCC
X
X
X
X
X
X
PCC1
PCC0
uuuu uu11
0011H
PA WUE
X
X
PAWUE5
PAWUE4
PAWUE3
PAWUE2
PAWUE1
PAWUE0
uu00 0000
0012H
PA IM
X
X
PAIM5
PAIM4
PAIM3
PAIM2
PAIM1
PAIM0
uu11 1111
0013H
PB IM
PBIM7
PBIM6
PBIM5
PBIM4
PBIM3
PBIM2
PBIM1
PBIM0
1111 1111
0014H
PC IM
X
X
X
X
X
X
PCIM1
PCIM0
uuuu uu11