beautypg.com

1 port 1 (p10 to p17) – Toshiba H1 Series User Manual

Page 120

background image

TMP92CZ26A

92CZ26A-117

3.7.1 Port 1 (P10 to P17)

Port1 is an 8-bit general-purpose I/O port. Bits can be individually set as either inputs or

outputs by control register P1CR and function register P1FC.

In addition to functioning as a general-purpose I/O port, port1 can also function as a data

bus (D8 to D15).

Setting the AM1 and AM0 pins as shown below and resetting the device initialize port 1

to the following function pins:

AM1

AM0

Function Setting after reset is released

0
0
1
1

0
1
0
1

Don’t use this setting

Data bus (D8 to D15)

Don’t use this setting

Input port (P10 to P17)














Figure 3.7.1 Port1

P1CR Register

P1FC Register

P1 Register

S

0

1

Selector

S

1

0

Selector

External write enable

D8 to D15

Port read data

D8 to D15

External read enable

P10 to P17
(D8 to D15)

This manual is related to the following products: