Port 6 (P60 - P63) - Toshiba TLCS-90 Series Data Book

8 bit microcontroller
Table of Contents

Advertisement

TOSHIBA
TMP90C840
3.5.7
Port 6 (P60 - P63)
Port 6 is a 4-bit general-purpose I/O port (P6: memory address FFCCH)
whose function is specified by the control register (P67CR: bits 0 - 3
of memory address FFCEH)
for each bit.
The
control
register
is
initialized to "0" by resetting, and Port 6 enters in the input mode.
This port is also serviceable as a stepping motor control port channel
o
(MOO - M03) , so either the general-purpose I/O or the stepping motor
contrbl port can be selected by the control register (SMMOD: bits 0
and 1 of memory address FFCBH).
This port is served as the general-
purpose I/O port by resetting.
Reset
r--
r-____________
~------
__
--~~IDirectionl
LControl
,r----------T----~
writ! P67CR
~
______
~I
FunctionL-
I
Control , -
Write tMMOD
H
~
rt
CD
Shift...
r-----------~----------~I
output
Ir---~----~--~~'
~
Latch
I
>--...---i
g
SA6
PI
I--'
1 - - - - - 4
1
Shift Alternate
L
~
l
Register
r----
lJ
t_
~
~-----------------.
C
Ul
Write P6
L,..-,-.
- - - - - +
-
~\..._-J-
.... - - - - .
Read p6
Fig. 3.5 (12)
Port 6
MPU90-66
Output
Buffer
Port 6
(P60-p63
/MOO-M03)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents