TMP86FS49AFG Toshiba Semiconductor, TMP86FS49AFG Datasheet - Page 72

no-image

TMP86FS49AFG

Manufacturer Part Number
TMP86FS49AFG
Description
8-Bit Microcontroller
Manufacturer
Toshiba Semiconductor
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
TMP86FS49AFG
Manufacturer:
TOSHIBA/东芝
Quantity:
20 000
Company:
Part Number:
TMP86FS49AFG
Quantity:
3 200
Part Number:
TMP86FS49AFG(Z)
Manufacturer:
Toshiba
Quantity:
10 000
5.5 Port P4 (P47 to P40)
5.5 Port P4 (P47 to P40)
www.DataSheet4U.com
latch (P4DR) should be set to "1".
P4OUTCR. When a corresponding bit of P4OUTCR is "0". the output circuit is selected to a sink open drain and
when a corresponding bit of P4OUTCR is "1", the output circuit is selected to a C-MOS output.
(P4OUTCR) should be set to "0" after P4DR is set to "1".
should be read.
Port P4 is an 8-bit input/output port.
Port P4 is also used as a serial interface input/output and an UART input/output.
When used as an input port, a serial interface input/output and an UART input/output, the corresponding output
During reset, the P4DR is initialized to "1", and the P4OUTCR is initialized to "0".
It can be selected whether output circuit of P4 port is a C-MOS output or a sink open drain individually, by setting
When used as an input port, a serial interface input and an UART input, the corresponding output control
P4 port output latch (P4DR) and P4 port terminal input (P4PRD) are located on their respective address.
When read the output latch data, the P4DR should be read. When read the terminal input data, the P4PRD register
Note: i = 7 to 0
Output latch read (P4DR)
Data input (P4PRD)
Data output (P4DR)
P4OUTCRi input
Control output
Control input
P4OUTCRi
Table 5-3 Register Programming for Multi-function Ports (P47 to P40)
OUTEN
Port input UART input or serial interface input
Port “0” output
Port “1” output UART output or serial interface
output
STOP
Function
Output latch
D
Figure 5-6 Port 4
D
Q
Q
Page 56
P4DR
“1”
“0”
“1”
Programmed Value
for each applica-
Programming
P4OUTCR
tions
“0”
TMP86FS49AFG
P4i

Related parts for TMP86FS49AFG