tmp88ps42ng TOSHIBA Semiconductor CORPORATION, tmp88ps42ng Datasheet - Page 166

no-image

tmp88ps42ng

Manufacturer Part Number
tmp88ps42ng
Description
8 Bit Microcontroller Tlcs-870/x Series
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet
driver)
13. Motor Control Circuit (PMD: Programmable motor
13.6.1.2 List of PMD Related Control Registers
Name
P3DR
P4DR
P3CR
P4CR
Name
P5DR
P1DR
P5CR
P1CR
(1)
EMG1
EMG2
PDU1
PDU2
Input/output Pins and Input/output Control Registers
PMD1 Input/Output Pins (P3, P4) and Port Input/Output Control Registers (P3CR, P4CR)
PMD2 Input/Output Pins (P5, P1) and Port Input/Output Control Registers (P5CR, P1CR)
Note: When using these pins as PMD function or input port, set the Output Latch (P*DR) to 1.
Example of the PMD Pin Port Setting
CL1
CL2
U1
U2
Address
01F89H
01F8AH
Address
01F8BH
0000BH
00003H
00004H
00005H
00001H
Input/Output
Input/Output
Output
Output
Input
Input
Input
Input
Input
Input
2, 1, 0
5, 6, 7
5 to 0
2 to 0
7 to 0
2 to 7
5 to 7
7 to 0
Bit
Bit
7
6
0
1
R or W
R or W
P3DR
P5DR
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
1
1
*
*
*
*
Page 156
Overload protection (
EMG input (
U1/V1/W1/X1/Y1/Z1 outputs.
Position signal inputs (PDU1, PDV1, PDW1).
P3 port input/output control (can be set bitwise).
0: Input mode
1: Output mode
P0 port input/output control (can be set bitwise).
0: Input mode
1: Output mode
Overload protection (
EMG input (
U2/V2/W2/X2/Y2/Z2 outputs.
Position signal inputs (PDU2, PDV2, PDW2).
P3 port input/output control (can be set bitwise).
0: Input mode
1: Output mode
P0 port input/output control (can be set bitwise).
0: Input mode
1: Output mode
P3CR
P5CR
0
0
1
0
0
1
EMG1
EMG2
)
)
CL1
CL2
)
)
P4DR
P1DR
*
*
Description
Description
P4CR
P1CR
0
0
TMP88PS42NG

Related parts for tmp88ps42ng