tmp88cs43fg TOSHIBA Semiconductor CORPORATION, tmp88cs43fg Datasheet - Page 55

no-image

tmp88cs43fg

Manufacturer Part Number
tmp88cs43fg
Description
8 Bit Microcontroller Tlcs-870/x Series
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet
5.1 Port P0 (P03 to P00)
P0 Port Input/Output Registers
(0000AH)
(00000H)
(01F80H)
P0ODE
and output modes using the P0 port input/output control register (P0CR). When reset, the P0CR register is initialized
to 0, with the P0 port set for input mode. Also, the output latch (P0DR) is initialized to 0 when reset.
is used to select open-drain or tri-state mode for the port. When reset, the P0ODE register is initialized to 0, with tri-
state mode selected for the port.
P0DR
P0CR
Port P0 is a 4-bit input/output port shared with serial interface input/output. This port is switched between input
The P0 port contains bitwise programmable open-drain control. The P0 port open-drain control register (P0ODE)
Note 1: Even when open-drain mode is selected, the protective diode remains connected. Therefore, do not apply voltages
Note 2: Read-Modify-Write (RMW) operation executes at open-drain mode is selected, read out the output latch states.
Note 3: *: Don’t care
Control output
Control input
exceeding V
When any other instruction is executed, external pin states is read out.
Data output
P0ODE
Data input
P0CR
7
7
7
P0CRi
DD
6
6
6
P0 port input/output control
(Specify bitwise)
P0 port open-drain control
(Specify bitwise)
.
5
5
5
utput latch
D
Q
4
4
4
Figure 5-2 Port P0
HPWM1
P03
0: Input mode
1: Output mode
0: Tri-state
1: Open-drain
3
3
3
Page 45
HPWM0
P02
2
2
2
TC6O
TXD2
P01
1
1
1
Note: i = 3
RXD2
TC6I
P00
0
0
0
P0i
Read/Write
(Initial value: **** 0000)
TC6O:
(Initial value: **** 0000)
(Initial value: **** 0000)
to
External
0
input
PDO6
,
PWM6
Control input
0
1
values
0
0 0
1 0
CR
,
PPG6
1
TMP88CS43FG
R/W
R/W

Related parts for tmp88cs43fg