TMP86FS49AFG Toshiba Semiconductor, TMP86FS49AFG Datasheet - Page 78

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.8 Port P7 (P77 to P70)
5.8 Port P7 (P77 to P70)
www.DataSheet4U.com
And the P7DR is initialized to "0".
P7CR2 should be set to "1".
of P7CR2 should be set to "0".
Port P7 is an 8-bit input/output port which can be configured as an input or output in one-bit unit.
Port P7 is also used as an analog input.
Input/output mode is specified by the P7 control register (P7CR1) and P7 input control register (P7CR2).
During reset, the P7CR1 is initialized to "0" the P7CR2 is initialized to "1" and port P7 becomes an input mode.
When used as an output port, the corresponding bit of P7CR1 should be set to "1".
When used as an input port, the corresponding bit of P7CR1 should be set to "0" and then, the corresponding bit of
When used as an analog input, the corresponding bit of P7CR1 should be set to "0" and then, the corresponding bit
When P7CR1 is "1", the content of the corresponding output latch is read by reading P7DR.
Note: Asterisk (*) indicates “1” or “0” either of which can be selected.
Table 5-6 Register Programming for Multi-function Ports
Port input external interrupt input or key-on wakeup
input
Analog input
Port “0” output
Port “1” output
Table 5-7 Values Read from P7DR and Register Programming
P7CR1
“0”
“0”
“1”
Conditions
Function
P7CR2
“0”
“1”
“0”
“1”
Page 62
Values Read from P7DR
Output latch contents
Terminal input data
P7DR
“0”
“1”
*
*
“0”
Programmed Value
P7CR1
“0”
“0”
“1”
“1”
P7CR2
“1”
“0”
*
*
TMP86FS49AFG

Related parts for TMP86FS49AFG