Pwm Control 0 Register - Fujitsu MB90390 Series Hardware Manual

Table of Contents

Advertisement

CHAPTER 24 STEPPING MOTOR CONTROLLER
24.2.1

PWM Control 0 register

The PWM control 0 register starts and stops the stepping motor controller, controls
interrupts, and sets the external output pins. Its function is equal to all other SMC
modules.
■ PWM Control 0 Register
Address:
bit
SMC0: 000062
H
SMC1: 000064
H
SMC2: 000066
H
SMC3: 000068
H
SMC4: 00006A
H
SMC5: 00006C
H
R/W
:
X
:
-
:
:
524
Figure 24.2-2 Configuration of the PWM Control 0 Register
7
6
5
4
3
2
OE2
OE1
P1
P0
CE
-
R/W R/W R/W R/W
R/W
-
Readable and writable
Undefined value
Undefined
Initial value
1
0
PWCn
-
Reserved
Initial value
0 0 0 0 0 X X 0
-
R/W
bit 0
Reserved
0
This is a reserved bit. Always write "0" to it.
1
bit 4
CE
0
PWM generator stopped
1
PWM generator operating
bit 5
bit 4
P1
P0
0
0
0
1
1
0
1
1
bit 6
OE1
0
Output is general Purpose Pin
1
PWM1Pn and PWM1Mn output enable
bit 7
OE2
0
Output is general Purpose Pin
1
PWM2Pn and PWM2Mn output enable
B
Reserved bit
Count enable bit
Operation Clock select bits
Machine clock
1/2 Machine clock
1/4 Machine clock
1/8 Machine clock
Output enable 1 bit
Output enable 2 bit
n = 0, 1, 2, 3, 4, 5

Advertisement

Table of Contents
loading

Table of Contents