CHAPTER 16:Stepper Motor Controller
396
S6J3200 Series Hardware Manual Document Number: 002-04852 Rev. *G
4.4.
PWM Selection Set Register (PWSS)
The PWM Selection Set Register is used to set the value of the PWS.BS bit.
REGISTER_NAME
SMCi_PWSS
OFFSET
0x00000008
ACCESS_SIZE
B,H
MULTIPLE
1
NUMERIC_TYPE
-
OTHER
-
BIT_OFFSET
15
14
13
12
11
10
9
8
BIT_NAME
Reserved
BSS
Reserved
ACCESS_TYPE
R0,W0
R0,W
R0,W0
PROT_TYPE
Rp/Wp
INITIAL_VALUE
0
0
0
BIT_OFFSET
7
6
5
4
3
2
1
0
BIT_NAME
Reserved
ACCESS_TYPE
R0,W0
PROT_TYPE
Rp/Wp
INITIAL_VALUE
0
[bit15] Reserved: Reserved bit
When writing, always write "0".
When reading, "0" is always read.
[bit14] BSS: Set bit for the Output Update bit
This bit sets the value of PWS.BS bit.
Bit
Description
0
No effect
1
Sets the PWS.BS bit to "1". Reading of this bit returns "0".
Notes:
−
If the PWM Pulse Generators is started(PWC.CE="1"), operate following steps because the PWM
Pulse Generator.Compare Data Value must be initialized.
1.
Set the PWM Compare Register.Compare Data Value(PWC1.D[9:0], PWC2.D[9:0])
2.
Set the PWM Selection Register.Output Selection bits(PWS.BS="1", PWS.P2[2:0],
PWS.M2[2:0], PWS.P1[2:0], PWS.M1[2:0])
3.
Set the PWM Control Register.Count Enable bit(PWC.CE="1")
−
If the PWS.BS bit is "1" , don't change the PWM Compare Register.Compare Data
Value(PWC1.D[9:0], PWC2.D[9:0]) and the PWM Selection Register.Output Selection bits
(PWS.P2[2:0], PWS.M2[2:0], PWS.P1[2:0], PWS.M1[2:0]).
Содержание S6J3200 Series
Страница 1041: ...CHAPTER 28 LCD Controller 1040 S6J3200 Series Hardware Manual Document Number 002 04852 Rev G...
Страница 1044: ...CHAPTER 28 LCD Controller S6J3200 Series Hardware Manual Document Number 002 04852 Rev G 1043...
Страница 1047: ...CHAPTER 28 LCD Controller 1046 S6J3200 Series Hardware Manual Document Number 002 04852 Rev G...
Страница 1050: ...CHAPTER 28 LCD Controller S6J3200 Series Hardware Manual Document Number 002 04852 Rev G 1049...
Страница 1084: ...CHAPTER 28 LCD Controller S6J3200 Series Hardware Manual Document Number 002 04852 Rev G 1083...
Страница 1086: ...CHAPTER 28 LCD Controller S6J3200 Series Hardware Manual Document Number 002 04852 Rev G 1085...
Страница 1088: ...CHAPTER 28 LCD Controller S6J3200 Series Hardware Manual Document Number 002 04852 Rev G 1087...