Port 0 (Poo - P07) - Toshiba TLCS-90 Series Data Book

8 bit microcontroller
Table of Contents

Advertisement

TOSHIBA
TMP90C840
Table 3.5
Functions of Ports
Port I Pin name INa. ofl Direction IDirection set unitl
Pin name for
name I
I pins I
I
I internal function
Port 0 I POO - P071
8
I
I/O
I
Byte
I
DO - D7
I
------1----------1------1-----------1------------------1-------------------1
Port 11 PIO - P171
8
I
I/O
I
Byte
I
AO - A7
I
------1----------1------1-----------1------------------1-------------------1
Port 21 P20 - P271
8
1
I/O
1
Bit
1 A8 - AIS
1
------1----------1------1-----------1------------------1-------------------1
Port 31 P30
1
1
1
Input
1 RxD
1
1 P31
1
I
1
Input
1 RxD
1
1 P32
1
1
1
Output
1 TxD/RTS/SCLK
1 P33
1
I
1
Output
1 TxD
1 P34
1
1
1
Input
1 CTS
1 P3S
I
I
lOut put
I
RD
1 P36
I
I
1
Output
1 WR
I P37
1
1
1
Input
1 WAIT
------1----------1------1----------- ------------------1-------------------
1 Port 41 P40 - P431
4
1
Output
1 A16 - Al9
1------1----------1------1----------- ------------------1-------------------
IPort SI PSO - PSSI
6
I
Input
I
ANO - ANS
1------1----------1------1----------- ------------------1-------------------
1 Port 61 P60 - P631
4
1
I/O
Bit
1 MOO - M03/T01
1------1----------1------1----------- ------------------1-------------------
1 Port .71 P70 - P731
4
1
I/O
Bit
1 MIO - Ml3/T03
1------1----------1------1----------- ------------------1-------------------1
1 Port 81 P80
1
I
1
Input
1
INTO
1
1
1 P81
1
1
1
Input
1 INTI/TI4
1
1
1 p82
1
1
1
Input
1
INT2/TIS
1
1
1 P83
1
I
1
Output
1 T03/T04
1
These port pins function as the general-purpose input/output ports by
reset t ing.
The port pins, for wh ich input or output is programmably
selectable, function as input ports by resetting.
A separate program is
required to use them for an internal function.
The TMP90C841 functions in the same way as the TMP90C840 except:
a
Port 0 always functions as a data bus (DO to D7).
a
Port I always functions as Address bus (AO to A7).
a
Port 2 always functions as Address bus (A8 to AlS).
a
P3S, P36 and P37 of Port 3 always function as RD, WR and WAIT
pins, respectively.
3.S.1
Port 0 (POO - P07)
Port 0 is an 8-bit general-purpose I/O port (PO: memory address FFCOH)
whose I/O function is specified by the control register (POC: bit 0 of
memory address FFC2H) for each byte.
By resetting all bits of the
control register are initialized to "0", whereby Port 0 turns to the
input
mode,
and
the
contents
of
the
output
latch
register
are
undefined.
MPU90-SS

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents