Port 7 (P70 - P73) - Toshiba TLCS-90 Series Data Book

8 bit microcontroller
Table of Contents

Advertisement

TOSHIBA
TMP90C840
3.5.8
Port 7 (P70 - P73)
r-"'"
H
::l
rt
Port 7 is a 4-bit general-purpose I/O port (P7: memory address FFCDH)
whose I/O function is specified by the control register (P67CR: bits 4
- 7 of memory address FFCEH).
The control register is initialized to
"a" by resetting, whereby Port 7 turns to the input mode.
This port is also serviceable as a stepping motor control port channel
I (MIa - MI3), so either the general-purpose I/O or the stepping motor
control port can be selected by the control register (SMMOD:
bits 4
and 5 of memory address FFCBH).
It is served as the general-purpose
I/O port by resetting.
Reset
~ ____________ 4-__________ +--1IDirectionl~
________
~~
__
~
IControl
I
writ! P67CR
,
r-______
~IFunctionL-
I Control , -
t
Write SMMOD
l
1' . . . . . . .
J
Output I
Port 7
Shift~
r-.f
Latch
I
(P70-P73
Output
/MIO-M13)
Buffer
~
,w
SA7
::l
PI
I
Shift Alternate
I-' t - - - - - I
o
I
Register
~
t~
________________
~
tl1
C
Ul

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents