Bank 1-R5 ~R7 (I/O Port Control Register); Bank 1-R8 (I/O Port Control Register) - IBM EM78P221/2N Specification

Ibm 8-bit microcontroller product specification
Table of Contents

Advertisement

Bit 1 (ICIF): Port 6 input status change interrupt flag. Set when Port 6 input changes.
Bit 0 (TCIF): TCC overflow interrupt flag. Set when TCC overflows. Reset by software.

6.2.15 Bank 1-R5 ~R7 (I/O Port Control Register)

Bits 7~0:
Bank 1-R5, R6 and R7 registers are all readable and writable.

6.2.16 Bank 1-R8 (I/O Port Control Register)

Bit 7
Bits 7~2: not used, fixed to 0 all the time
Bits 1~0 (C81~C80): 0 = defines the relative I/O pin as output
With Simulator]:
[With EM78P221/2N]: P80 is General input or output, but P81 is input or open-drain
Product Specification (V1.0) 10.19.2007
(This specification is subject to change without further notice)
Reset by software.
0 = no interrupt occurs
1 = with interrupt request
0 = no interrupt occurs
1 = with interrupt request
■ Bank 0-RF <2, 1, 0> can be cleared by instruction but cannot be set.
■ Bank1-RF <2, 1, 0> is an interrupt mask register.
■ Interrupt results from "logic AND" of Bank 0-RF <2, 1, 0> and Bank 1-RF <2, 1, 0>
with instruction "ENI".
0 = defines the relative I/O pin as output
1 = puts the relative I/O pin into high impedance
Bit 6
0
0
1 = puts the relative I/O pin into high impedance
P80 and P81 are General I/O pins
output pin.
8-Bit Microcontroller with OTP ROM
NOTE
Bit 5
Bit 4
Bit 3
0
0
EM78P221/2N
Bit 2
Bit 1
0
0
C81
Bit 0
C80
• 13

Advertisement

Table of Contents
loading

Table of Contents