Epson S1C88650 Technical Manual page 56

Hewlett-packard cmos 8-bit single chip microcomputer technical manual
Table of Contents

Advertisement

5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Input Ports)
Address Bit
Name
00FF20 D7
PK01
K00–K07 interrupt priority register
D6
PK00
D5
PSIF1
Serial interface interrupt priority register
D4
PSIF0
D3
D2
D1
PTM1
Clock timer interrupt priority register
D0
PTM0
00FF24
D7
EK07
K07 interrupt enable
D6
EK06
K06 interrupt enable
D5
EK05
K05 interrupt enable
D4
EK04
K04 interrupt enable
D3
EK03
K03 interrupt enable
D2
EK02
K02 interrupt enable
D1
EK01
K01 interrupt enable
D0
EK00
K00 interrupt enable
00FF28
D7
FK07
K07 interrupt factor flag
D6
FK06
K06 interrupt factor flag
D5
FK05
K05 interrupt factor flag
D4
FK04
K04 interrupt factor flag
D3
FK03
K03 interrupt factor flag
D2
FK02
K02 interrupt factor flag
D1
FK01
K01 interrupt factor flag
D0
FK00
K00 interrupt factor flag
K00D–K07D: 00FF54H
Input data of input port terminal K0x can be read
out.
When "1" is read:
When "0" is read:
Writing:
The terminal voltage of each of the input port K00–
K07 can be directly read out as either a "1" for
HIGH (V
) level or a "0" for LOW (V
DD
This bit is exclusively for readout and are not
usable for write operations.
48
Table 5.5.5.1(b) Input port control bits
Function
HIGH level
LOW level
Invalid
) level.
SS
1
PK01
PK00
Priority
PSIF1
PSIF0
1
1
Level 3
1
0
Level 2
0
1
Level 1
0
0
Level 0
PTM1
PTM0
Priority level
1
1
Level 3
1
0
Level 2
0
1
Level 1
0
0
Level 0
Interrupt
Interrupt
enable
disable
(R)
Interrupt
No interrupt
factor is
factor is
generated
generated
(W)
Reset
No operation
PULK00–PULK07: 00FF56H
Controls the input pull-up resistor.
When "1" is written: Pull-up ON
When "0" is written: Pull-up OFF
Reading:
PULK0x is the pull-up control register
corresponding to the input port K0x that turns the
pull-up resistor built into the input port ON and
OFF.
When "Gate direct" is selected by mask option, the
corresponding pull-up control register is
disconnected from the input line, so it can be used
as a general-purpose register.
When "1" is written to PULK0x, the corresponding
input port K0x is pulled up to high. When "0" is
written, the input port is not pulled up.
At initial reset, this register is set to "1" (Pull-up
ON).
EPSON
0
SR R/W
Comment
0
R/W
level
0
R/W
Constantly "0" when
being read
0
R/W
0
R/W
(R)
0
R/W
(W)
Valid
S1C88650 TECHNICAL MANUAL

Advertisement

Table of Contents
loading

Table of Contents