tmp88cs43fg TOSHIBA Semiconductor CORPORATION, tmp88cs43fg Datasheet - Page 62

no-image

tmp88cs43fg

Manufacturer Part Number
tmp88cs43fg
Description
8 Bit Microcontroller Tlcs-870/x Series
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet
5. Input/Output Ports
P6 Port Input/Output Registers
(01F8CH)
(00006H)
P6DR
P6CR
Note 1: The pins used for analog input cannot be set for output mode (P6CR = 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 DBOUT1 output, set the P6DR (P67) 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-
DBOUT1
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 eight bits to the output latches.)
AIN7
P67
P6CR
7
7
AIN6
P66
6
6
P6 port input/output control
(Specify bitwise)
AIN5
P65
5
5
AIN4
P64
4
4
AIN3
P63
3
3
0
1
Page 52
Inputs fixed to 0
AINDS = 1 (when not using AD)
AIN2
P62
P6DR = “0”
2
2
AIN1
P61
1
1
P6DR = “1”
Input mode
AIN0
P60
0
0
Output mode
Read/Write
(Initial value: 0000 0000)
(Initial value: 0000 0000)
mode (Note2)
Analog Input
P6DR = “0”
AINDS = 0 (when using AD)
P6DR = “1”
Input mode
TMP88CS43FG
R/W

Related parts for tmp88cs43fg