tmp86c408idmg TOSHIBA Semiconductor CORPORATION, tmp86c408idmg Datasheet - Page 58

no-image

tmp86c408idmg

Manufacturer Part Number
tmp86c408idmg
Description
Cmos 8-bit Microcontroller
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet
5. I/O Ports
5.1 P0 (P07 to P00) Port (High Current)
P0OUTCR
Read only
(000CH)
(000BH)
(0000H)
P0PRD
UART and 16-bit timer counter input/output. When using this port as an input port or for external interrupt input,
SEI serial interface input/output, or UART input/output, set the output latch to 1. When using this port as an output
port, the output latch data (P0DR) is output to the P0 port.
respectively.
P0OUTCR register.
1.
The P0 port has independent data input registers. To inspect the output latch status, read the P0DR register. To
inspect the pin status, read the P0PRD register.
P0DR
R/W
The P0 port is an 8-bit input/output port shared with external interrupt input, SEI serial interface input/output, and
When reset, the output latch (P0DR) and the push-pull control register (P0OUTCR) are initialized to 1 and 0,
The P0 port allows its output circuit to be selected between N-channel open-drain output or push-pull output by the
When using this port as an input port, set the P0OUTCR register's corresponding bit to 0 after setting the P0DR to
P0OUTCR
INT4
Data input (P0PRD)
Data output (P0DR)
TC1
P07
P07
Data input (P0DR)
7
7
7
P0 UTCRi input
Control output
Control input
P0 UTCRi
INT3
PPG
P06
P06
6
6
6
Controls P0 port input/output
(specified bitwise)
ST P
UTEN
P05
P05
SS
5
5
5
MISO
utput latch
utput latch
P04
P04
D
D
4
4
4
Figure 5-2 P0 Port
Q
Q
MOSI
P03
P03
3
3
3
0: Nch open-drain output
1: Push-pull output
Page 48
SCLK
P02
P02
2
2
2
RxD
P01
P01
1
1
1
P00
TxD
P00
0
0
0
(Initial value: 1111 1111)
(Initial value: 0000 0000)
Note: i = 7
P0i
to
0
TMP86C408IDMG
R/W

Related parts for tmp86c408idmg