24.2.3
PWM1 and PWM2 Select Registers
The PWM1 and PWM2 select registers "0", "1", the PWM pulse, or high impedance for
the external pin output of the stepping motor controller.
■ PWM1 Select Registers
Address:
bit
SMC0: 003552
H
SMC1: 003556
H
SMC2: 00355A
H
SMC3: 00355E
H
SMC4: 003562
H
SMC5: 003566
H
R/W
:
Readable and writable
-
:
Undefined
:
Initial value
Figure 24.2-5 Configuration of the PWM1 Select Registers
7
6
5
4
3
2
-
-
P2
P1 P0 M2 M1 M0
-
- R/W R/W
R/W
R/W
CHAPTER 24 STEPPING MOTOR CONTROLLER
1
0
PWS1n
Initial value
X X 0 0 0 0 0 0
R/W R/W
bit 2
bit 1
M2
M1
0
0
0
0
0
1
1
X
bit 5
bit 4
P2
P1
0
0
0
0
0
1
1
X
B
bit 0
M0
M1 Output Select bits
0
PWM1Mn = "L"
1
PWM1Mn = "H"
X
PWM pulses
X
High impedance
bit 3
P0
P1 Output Select bits
0
PWM1Pn = "L"
1
PWM1Pn ="H"
X
PWM pulses
X
High impedance
n = 0, 1, 2, 3, 4, 5
527