Ameba-D User Manual
User Manual All information provided in this document is subject to legal disclaimers. © REALTEK 2019. All rights reserved.
470
0: Unmask
1: Mask
This interrupt will be asserted when the rotation counter overflow occurs (0xFFF
0).
5
PC_INT_M
R/W
0
Position counter comparing interrupt mask
0: Unmask
1: Mask
This interrupt is asserted when the position counter is equal to the value of ‘PCC‘.
4
DR_INT_M
R/W
0
Direction changed interrupt mask
0: Unmask
1: Mask
This interrupt is asserted when the movement direction changes.
3
IL_INT_M
R/W
0
Illegal state interrupt mask
0: Unmask
1: Mask
This interrupt is asserted when the quadrature decoder state error detected (PHA
and PHB change its state concurrently).
2
UF_INT_M
R/W
0
Position counter underflow interrupt mask
0: Unmask
1: Mask
This interrupt is asserted when the position counter underflow is occurred.
1
OF_INT_M
R/W
0
Position counter overflow interrupt mask
0: Unmask
1: Mask
This interrupt is asserted when the position counter overflow is occurred.
0
CT_INT_M
R/W
0
Counter value changed interrupt mask
0: Unmask
1: Mask
This interrupt is asserted when the position counter is updated.
21.3.4.2
REG_ISR
Name
: Q-Decoder Interrupt Status Register
Size
: 32 bits
Address offset
: 0x0040
Read/write access
: read/write
31
30
29
28
27
26
25
24
RSVD
23
22
21
20
19
18
17
16
RSVD
15
14
13
12
11
10
9
8
RC_INT_S
RSVD
VUPLMT_INT_S
VLOWLMT_INT_S
RSVD
VCCAP_INT_S
PCE_INT_S
IDX_INT_S
R/W
R/W
R/W
R/W
R/W
R/W
7
6
5
4
3
2
1
0
RUF_INT_S
ROF_INT_S
PC_INT_S
DR_INT_S
IL_INT_S
UF_INT_S
OF_ INT_S
CT_INT_S
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Bit
Name
Access
Default
Description
31:16 RSVD
N/A
--
Reserved
15
RC_INT_S
R/WC
0
0: No interrupt
1: Interrupt pending
14
RSVD
N/A
--
Reserved
13
VUPLMT_INT_S
R/WC
0
0: No interrupt
1: Interrupt pending
Realtek confidential files
The document authorized to
SZ99iot
2019-05-15 10:08:03