tmp88fw45afg TOSHIBA Semiconductor CORPORATION, tmp88fw45afg Datasheet - Page 73

no-image

tmp88fw45afg

Manufacturer Part Number
tmp88fw45afg
Description
8 Bit Microcontroller Tlcs-870/x Series
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet
P7 Port Input/Output Registers
(01F8DH)
(00007H)
P7DR
P7CR
Note 1: The pins used for analog input cannot be set for output mode (P7CR = 1) because they become shorted with external
Note 2: When a read instruction is executed on bits of this port which are set for analog input mode, data "0" is read in.
Note 3: For DBOUT2 output, set the P7DR (P77) output latch to 1.
Note 4: When using this port in input mode (including analog input), do not use bit manipulating or other read-modify-write in-
DBOUT2
AIN15
P77
signals.
structions. When a read instruction is executed on the bits of this port that are set for input, the contents of the pins are
read in, so that if a read-modify-write instruction is executed, their output latches may be rewritten, making the pins unable
to accept input. (A read-modify-write instruction first reads data from all of the eight bits and after modifying them (bit
manipulation), writes data for all of the 8 bits to the output latches.)
P7CR
7
7
AIN14
P76
6
6
P7 port input/output control
(Specify bit wise)
AIN13
P75
5
5
AIN12
P74
4
4
AIN11
P73
3
3
0
1
Page 59
Inputs fixed to 0
AIN10
AINDS = 1 (when not using AD)
P72
P7DR = “0”
2
2
AIN9
P71
1
1
P7DR = “1”
Input mode
AIN8
P70
0
0
Output mode
Read/Write
(Initial value: 0000 0000)
(Initial value: 0000 0000)
mode (Note2)
Analog Input
P7DR = “0”
AINDS = 0 (when using AD)
TMP88FW45AFG
P7DR = “1”
Input mode
R/W

Related parts for tmp88fw45afg