tmp86c408idmg TOSHIBA Semiconductor CORPORATION, tmp86c408idmg Datasheet - Page 59

no-image

tmp86c408idmg

Manufacturer Part Number
tmp86c408idmg
Description
Cmos 8-bit Microcontroller
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet
5.2 P1 (P14 to P10) Port
(0001H)
(0009H)
Control Register (P1CR) is used to specify this port for input or output. When reset, the P1CR register is initialized
to 0, with the P1 port set for input mode. The P1 port output latch is initialized to 0.
its input pins for input mode. For the output pins, first set their output latches to 1 before setting the pins for output
mode.
ing or falling edge.) The P10 pin can be used as an input/output port or an external interrupt input by selecting its
function with the External Interrupt Control Register (INT0EN). When reset, the P10 pin is chosen to be an input
port.
P1DR
P1CR
R/W
The P1 port is a 5-bit input/output port that can be specified for input or output bitwise. The P1 Port Input/output
The P1 port is shared with external interrupt input and divider output. When using the P1 port as function pin, set
Note that the P11 pin is an external interrupt input. (When used as an output port, its interrupt latch is set at the ris-
P1CR
7
7
Data output (P1DR)
Data input (P1DR)
Control output
Control input
P1CRi input
6
6
Controls P1 port input/output
(specified bitwise)
P1CRi
UTEN
ST P
5
5
P14
utput latch
utput latch
4
4
D
D
Figure 5-3 P1 Port
Q
Q
P13
0: Input mode
1: Output mode
3
3
Page 49
P12
DVO
2
2
INT1
P11
1
1
INT0
P10
0
0
Note: i = 4
(Initial value: ***0 0000)
(Initial value: ***0 0000)
P1i
to 0
TMP86C408IDMG
R/W

Related parts for tmp86c408idmg