Ameba-D User Manual
User Manual All information provided in this document is subject to legal disclaimers. © REALTEK 2019. All rights reserved.
466
Bit
Name
Access
Default Description
31:24 RSVD
N/A
--
Reserved
23:16 VT_DIV
R/W
0
Divider for the velocity timer clock
Velocity Timer Clock = source-clock /( 1)
15:10 RSVD
N/A
--
Reserved
9
VMUC_MODE
R/W
0
The velocity measurement unit of measuring the velocity counter mode control
0: The counter value uses the absolute value from the decoder
1: The counter value uses the same value of the position counter
8
RSVD
N/A
--
Reserved
7
VUPLMT_INT_EN
R/W
0
Velocity upper limit interrupt enable control
0: Disable interrupt
1: Enable interrupt
When a capture event happensand the velocity counter capture is bigger than the
velocity upper limit, this interrupt will be asserted.
6
VLOWLMT_INT_EN R/W
0
Velocity lower limit interrupt enable control
0: Disable interrupt
1: Enable interrupt
When a capture event happens and the velocity counter capture is less than the velocity
low limit this interrupt will be asserted.
5
RSVD
N/A
--
Reserved
4
VCCAP_INT_EN
R/W
0
Velocity counter capture interrupt enable control
0: Disable interrupt
1: Enable interrupt
The velocity counter register and the position counter are captured in capture registers
when the velocity timer reaches zero. This interrupt is asserted when the capture event
is detected, and two capture registers have been loaded.
3
RSVD
N/A
--
Reserved
2
VMUC_RST
R/W
0
Reset the velocity measurement unit of measuring the velocity counter
0: It is not in reset state.
1: Writing 1 to this bit will reset this unit. Reset the velocity counter and reload the
velocity timer.
The position counter reset can only be performed when VMUC_EN = 0. Writing 1 to this
bit while VMUC_EN = 1 will not reset the position counter.
1
RSVD
N/A
--
Reserved
0
VMUC_EN
R/W
0
The velocity measurement unit of measuring the velocity counter enable control
0: Disable
1: Enable
21.3.3.2
REG_VC
Name
: Q-Decoder Velocity Counter Register
Size
: 32 bits
Address offset
: 0x001C
Read/write access
: read
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
RSVD
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
VC
R
Bit
Name
Access
Default
Description
31:16
RSVD
N/A
--
Reserved
15:0
VC
R
0
The velocity accumulation counter
Step is +1, -1 or to be reset to 0.
Realtek confidential files
The document authorized to
SZ99iot
2019-05-15 10:08:03