Download Print this page

Toshiba TLCS-900/H1 Series Manual page 71

Original cmos 32-bit microcontroller
Hide thumbs Also See for TLCS-900/H1 Series:

Advertisement

3.5.2
Port 2 (P20 to P27)
Port 2 is an 8-bit general-purpose I/O port. Bits can be individually set as either inputs or
outputs by control register P2CR and function register P2FC.
In addition to functioning as a general-purpose I/O port, port 2 can also function either as
a data bus (D16 to D23) or keyboard interface pin KO0 to KO7 which can be set to
open-drain output buffer.
AM1
0
0
1
1
External write enable
D16 to D23
Port read data
D16 to D23
External read enable
AM0
Function Setting after Reset is Released
0
Don't use this setting
1
0
Data bus (D16 to D23)
1
P2CR register
P2FC register
P2 register
S
1
0
Selector
Figure 3.5.3 Port 2
92CH21-69
Input port
Input port
P2FC2 register
S
0
1
Open-drain
enable
Selector
TMP92CH21
P20 to P27
(D16 to D23,
KO0 to KO7)
2009-06-19

Advertisement

loading

This manual is also suitable for:

Tmp92ch21fgJtmp92ch21