tmp86c847iug TOSHIBA Semiconductor CORPORATION, tmp86c847iug Datasheet - Page 56

no-image

tmp86c847iug

Manufacturer Part Number
tmp86c847iug
Description
8 Bit Microcontroller
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet
5.1 Port P0 (P07 to P00)
5. I/O Ports
5.1 Port P0 (P07 to P00)
Read only
(0000H)
(0008H)
P0PRD
and timer/counter input/output.
When used as an output port, the respective P0DR bit should be set data. During reset, the output latch is initialized
to “1”.
ister should be read. P00 port (
INT0EN (bit 6 in EINTCR). During reset, P00 port (
P0DR
R/W
Port P0 is an 8-bit input/output port which is also used as an external interrupt input, serial interface input/output
When used as an input port or a secondary function pins, the respective output latch (P0DR) should be set to “1”.
P0 port output latch (P0DR) and P0 port terminal input (P0PRD) are located on their respective address.
When read the output latch data, the P0DR should be read and when read the terminal input data, the P0PRD reg-
INT4
P07
P07
7
7
utput latch data (P0DR)
Port data (P0PRD)
P06
SCK
P06
Control output
6
6
Control input
Data output
ST P
UTEN
P05
P05
SI
5
5
INT0
P04
P04
SO
) can be configured as either an I/O port or as external interrupt input with
4
4
utput latch
Figure 5-2 Port P0
D
TXD
P03
P03
3
3
Q
Page 48
INT0
RXD
P02
P02
2
2
) is configured as an input port.
PWM4
PDO4
PPG4
P01
TC4
P01
1
1
P00
INT0
P00
0
0
(Initial value: 1111 1111)
Note: i = 7
P0i
to
0
TMP86C847IUG

Related parts for tmp86c847iug