tmp88cs43fg TOSHIBA Semiconductor CORPORATION, tmp88cs43fg Datasheet - Page 64

no-image

tmp88cs43fg

Manufacturer Part Number
tmp88cs43fg
Description
8 Bit Microcontroller Tlcs-870/x Series
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet
5. Input/Output Ports
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 sig-
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 instruc-
DBOUT2
nals.
tions. 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 manip-
ulation), writes data for all of the 8 bits to the output latches.)
AIN15
P77
P7CR
7
7
AIN14
P76
6
6
P7 port input/output control
(Specify bitwise)
AIN13
P75
5
5
AIN12
P74
4
4
AIN11
P73
3
3
0
1
Page 54
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)
P7DR = “1”
Input mode
TMP88CS43FG
R/W

Related parts for tmp88cs43fg