CHAPTER 16:Stepper Motor Controller
S6J3200 Series Hardware Manual Document Number: 002-04852 Rev. *G
391
4.2.2.
PWM2 Compare Register(PWC2)
REGISTER_NAME
SMCi_PWC2
OFFSET
0x00000004
ACCESS_SIZE
B, H
MULTIPLE
1
NUMERIC_TYPE
-
OTHER
-
BIT_OFFSET
15
14
13
12
11
10
9
8
BIT_NAME
Reserved
D[9:8]
ACCESS_TYPE
R0,W0
R/W
PROT_TYPE
Rp/Wp
INITIAL_VALUE
0
X
BIT_OFFSET
7
6
5
4
3
2
1
0
BIT_NAME
D[7:0]
ACCESS_TYPE
R/W
PROT_TYPE
Rp/Wp
INITIAL_VALUE
X
[bit15:10] Reserved: Reserved bits
When writing, always write "0".
When reading, "0" is always read.
[bit9:0] D[9:0]: PWM2 Compare Data Value
The PWM2 Compare Data Value D[9:0] bits are used to set the PWM2 duty cycle. When the Operation
Mode Switching bit is set to 8-bit operation mode (PWC.SC= "0"), the compare data value is taken from
D[7:0] bits and D[9:8] bits are "don't care". When the Operation Mode Switching bit is set to 10-bit
operation mode (PWC.SC= "1"), the compare data value is taken from D[9:0] bits.
D[9:0]
Description
0x(0)00
0%
…
Set the PWM pulse width
0x(3)FF
(99.9%) 99.6%
Notes:
−
PWM Pulse Generator.Compare Data Value is updated at the end of PWM cycle, after PWS.BS bit
is set to "1".
−
When PWC.SC bit is set to "0" (PWM Pulse Generators are operating in 8-bit mode), PWC1.D[9:8],
D[9:8] bits are "don't care".
−
The software must always make a 16-bit write access to PWM1 and PWM2 Compare Registers
(PWC1, PWC2) to ensure consistency of data. However, 8-bit write access to PWM1 or PWM2
Compare Register (PWC1, PWC2) is possible and will not result in error response.
Содержание 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...