TMP86FS49AFG Toshiba Semiconductor, TMP86FS49AFG Datasheet - Page 68

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.2 Port P1 (P17 to P10)
5.2 Port P1 (P17 to P10)
www.DataSheet4U.com
should be set to "0".
of P1CR should be set to "1".
Port P1 is an 8-bit input/output port which can be configured as an input or output in one-bit unit.
Port P1 is also used as a timer/counter input/output, an external interrupt input and a divider output.
Input/output mode is specified by the P1 control register (P1CR).
During reset, the P1CR is initialized to "0" and port P1 becomes an input mode. And the P1DR is initialized to "0".
When used as an input port, a timer/counter input and an external interrupt input, the corresponding bit of P1CR
When used as an output port, the corresponding bit of P1CR should be set to "1".
When used as a timer/counter output and a divider output, P1DR is set to "1" beforehand and the corresponding bit
When P1CR is "1", the content of the corresponding output latch is read by reading P1DR.
Note: Asterisk (*) indicates “1” or “0” either of which can be selected.
Note: i = 7 to 0
Note: The port set to an input mode reads the terminal input data. Therefore, when the input and output modes are used
together, the content of the output latch which is specified as input mode might be changed by executing a bit
Manipulation instruction.
Data output (P1DR)
Data input (P1DR)
Control output
Control input
P1CRi input
Table 5-2 Register Programming for Multi-function Ports
Port input, timer/counter input or external interrupt
input
Port “0” output
Port “1” output, a timer output or a divider output
OUTEN
P1CRi
STOP
Figure 5-3 Port 1 and P1CR
Output latch
D
D
Function
Q
Q
Page 52
P1DR
Programmed Value
“0”
“1”
*
P1CR
“0”
“1”
“1”
P1i
TMP86FS49AFG

Related parts for TMP86FS49AFG