tmp86c809ng TOSHIBA Semiconductor CORPORATION, tmp86c809ng Datasheet - Page 59

no-image

tmp86c809ng

Manufacturer Part Number
tmp86c809ng
Description
8 Bit Microcontroller Tlcs-870/c Series
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet
5.2 P1 (P16 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 7-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)
P16
Control output
6
6
Controls P1 port input/output
(specified bitwise)
Control input
P1CRi input
OUTEN
P1CRi
STOP
P15
5
5
P14
4
4
Output latch
Output latch
D
D
Figure 5-3 P1 Port
P13
Q
Q
0: Input mode
1: Output mode
3
3
Page 49
P12
DVO
2
2
INT1
P11
1
1
INT0
P10
0
0
(Initial value: ***0 0000)
(Initial value: ***0 0000)
Note: i = 6
P1i
to 0
TMP86C809NG
R/W

Related parts for tmp86c809ng