523
CHAPTER 24 STEPPING MOTOR CONTROLLER
24.2
Stepping Motor Controller Registers
The stepping motor controller "n" has the following five types of registers:
• PWM control n register (PWCn)
• PWM1 compare n register (PWC1n)
• PWM2 compare n register (PWC2n)
• PWM1 select register (PWS1n)
• PWM2 select register (PWS2n)
■
Stepping Motor Controller Registers
Figure 24.2-1 Overview of the Stepping Motor Controller Registers
Initial value
X X X X X X X X
B
PWC1n (lo
w
er)
R/W R/W R/W R/W
R/W
R/W
R/W
R/W
n = 0, 1, 2, 3, 4, 5
H
SMC0: 003550
SMC1: 003554
SMC2: 003558
SMC3: 00355C
SMC4: 003560
H
H
H
H
SMC5: 003564
H
15
14
13
12
11
10
9
8
Initial value
X X X X X X X X
B
R/W R/W R/W R/W
R/W
R/W
R/W
R/W
H
SMC0: 003551
SMC1: 003555
SMC2: 003559
SMC3: 00355D
SMC4: 003561
H
H
H
H
PWC2n (upper)
D7 D6 D5 D4 D3 D2
D1
D0
Initial value
X X 0 0 0 0 0 0
B
PWS1n (lo
w
er)
- - R/W R/W
R/W
R/W
R/W
R/W
H
SMC0: 003552
SMC1: 003556
SMC2: 00355A
SMC3: 00355E
SMC4: 003562
H
H
H
H
SMC5: 003566
H
15
14
13
12
11
10
9
8
Initial value
X 0 0 0 0 0 0 0
B
- R/W R/W R/W
R/W
R/W
R/W
R/W
H
SMC0: 003553
SMC1: 003557
SMC2: 00355B
SMC3: 00355F
SMC4: 003563
H
H
H
H
PWS2n (upper)
SMC5: 003567
H
D7 D6 D5 D4 D3 D2
D1
D0
-
-
P2
P1 P0
M2
M1 M0
-
BS
P2
P1 P0
M2
M1 M0
Initial value
0 0 0 0 0 X X 0
B
R/W R/W R/W R/W
-
R/W
- R/W
Address:
H
SMC0: 000062
SMC1: 000064
SMC2: 000066
SMC3: 000068
SMC4: 00006A
H
H
H
H
PWCn
SMC5: 00006C
H
OE2
OE1
P1
P0
CE
-
-
Reserved
SMC5: 003565
H
7
bit
bit
bit
bit
bit
6
5
4
3
2
1
0
7
6
5
4
3
2
1
0
7
6
5
4
3
2
1
0
X
:
Undefined value
-
:
Undefined
R/W
:
Readable and
w
ritable
Summary of Contents for MB90390 Series
Page 2: ......
Page 4: ......
Page 17: ...xiii APPENDIX D List of Interrupt Vectors 690 INDEX 695 ...
Page 18: ...xiv ...
Page 132: ...104 CHAPTER 5 CLOCKS ...
Page 152: ...124 CHAPTER 6 CLOCK MODULATOR ...
Page 210: ...182 CHAPTER 11 TIME BASE TIMER ...
Page 218: ...190 CHAPTER 12 WATCHDOG TIMER ...
Page 264: ...236 CHAPTER 14 16 BIT RELOAD TIMER WITH EVENT COUNT FUNCTION ...
Page 274: ...246 CHAPTER 15 WATCH TIMER ...
Page 306: ...278 CHAPTER 17 DTP EXTERNAL INTERRUPTS ...
Page 338: ...310 CHAPTER 18 8 10 BIT A D CONVERTER ...
Page 364: ...336 CHAPTER 19 UART0 UART1 ...
Page 398: ...370 CHAPTER 20 UART2 UART3 Figure 20 5 2 ORE Set Timing Receive data RDRF ORE ...
Page 432: ...404 CHAPTER 20 UART2 UART3 ...
Page 482: ...454 CHAPTER 22 SERIAL I O ...
Page 560: ...532 CHAPTER 24 STEPPING MOTOR CONTROLLER ...
Page 582: ...554 CHAPTER 27 ROM MIRRORING MODULE ...
Page 632: ...604 CHAPTER 29 EXAMPLES OF SERIAL PROGRAMMING CONNECTION ...
Page 722: ...694 APPENDIX ...
Page 723: ...695 INDEX The index follows on the next page This is listed in alphabetic order ...
Page 740: ......