Toshiba TLCS-900/L1 Series Manual page 74

Original cmos 16-bit microcontroller
Hide thumbs Also See for TLCS-900/L1 Series:
Table of Contents

Advertisement

3.5.8
Port C (PC0 to PC5)
Port C0 to C5 are 6-bit general-purpose I/O ports. Each bit can be set individually for
input or output. Resetting sets PC0 to PC5 to be an input ports. It also sets all bits of the
output latch register to 1.
In addition to functioning as general-purpose I/O port pins, PC0 to PC5 can also
function as the I/O for serial channels 0 and 1. A pin can be enabled for I/O by writing 1 to
the corresponding bit of the port C function register (PCFC).
Resetting resets all bits of the registers PCCR and PCFC to 0 and sets all pins to be
input ports .
(1) Port C0, C3 (TXD0/TXD1)
As well as functioning as I/O port pins, port C0 and C3 can also function as serial
channel TXD output pins. In case of use TXD0/TXD1, it is possible to logical invert by
setting the register PC<PC0, 3>.
And port C0 to C3 have a programmable open-drain function which can be
controlled by the register PCODE<ODEPC0, 3>.
S
Output latch
PC write
TXD0, TXD1
Reset
Ditection control
(on bit basis)
PCCR write
Function control
(on bit basis)
PCFC write
A
S
Selector
Logical invert
B
S
B
Selector
PC read
A
Figure 3.5.19 Port C0 and C3
91C824-72
PC0 (TXD0)
PC3 (TXD1)
Open-drain
set possible
PCODE<ODEPC0, 3>
TMP91C824
2008-02-20

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tmp91c824fgJtmp91c824-s

Table of Contents