tmp88f846ug TOSHIBA Semiconductor CORPORATION, tmp88f846ug Datasheet - Page 56

no-image

tmp88f846ug

Manufacturer Part Number
tmp88f846ug
Description
8 Bit Microcontroller
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
TMP88F846UG
Manufacturer:
TOSHIBA/东芝
Quantity:
20 000
Part Number:
tmp88f846ug(CZHZB)
Manufacturer:
TOSHIBA/东芝
Quantity:
20 000
Part Number:
tmp88f846ug(ZHZB)
Manufacturer:
TOSHIBA/东芝
Quantity:
20 000
5. Input/Output Ports
5.4 Port P4 (P47 to P40)
P4 Port Input/Output Registers
(01F8AH)
(00004H)
(01F84H)
P4ODE
This port is switched between input and output modes using the P4 port input/output control register (P4CR). When
reset, the P4CR register is initialized to 0, with the P4 port set for input mode. Also, the output latch (P4DR) is ini-
tialized to 0 when reset.
is used to select open-drain or tri-state mode for the port. When reset, the P4ODE register is initialized to 0, with tri-
state mode selected for the port.
P4DR
P4CR
Port P4 is an 8-bit input/output port shared with serial interface input/output and serial PROM mode control input.
The P4 port contains bitwise programmable open-drain control. The P4 port open-drain control register (P4ODE)
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: When using the CTC 16-bit timer (CTC) as an ordinary timer, set P47 (CTC) for output mode.
Control output
Control input
exceeding V
When any other instruction is executed, external pin states is read out.
Data output
CTC
P47
Data input
P4ODE
P4CR
7
7
7
P4CRi
PPG2
P46
DD
6
6
6
P4 port input/output control
(Specify bitwise)
P4 port open-drain control
(Specify bitwise)
.
TXD
P45
SO
5
5
5
utput latch
D
BOOT
RXD
P44
Q
SI
4
4
4
Figure 5-5 Port P4
P43
SCK
3
3
0: Input mode
1: Output mode
3
0: Tri-state
1: Open drain
Page 46
PDU1
P42
2
2
2
PDV1
P41
1
1
1
Note: i = 7
PDW1
P40
0
0
0
P4i
(Initial value: 0000 0000)
(Initial value: 0000 0000)
(Initial value: 0000 0000)
to
External
0
input
Control input
0
1
values
0
0 0
1 0
CR
1
TMP88F846UG
R/W
R/W

Related parts for tmp88f846ug