Product Specs

Table Of Contents
36 QDEC Quadrature decoder
Page
353
Bit number
Id
Reset 0x00000000
31 30
0 0
29
0
28
0
27
0
26
0
25
0
24
0
23 22 21 20
0 0 0 0
19
0
18
0
17
0
16
0
15
0
14
0
13
0
12
0
11
0
10
0
9
0
8
0
7
0
6
0
5
0
4
0
3
0
2
0
1
0
0
A
0
Id RW Field
Value Id
Value
Description
A RW ENABLE Enable or disable the quadrature decoder
When enabled the decoder pins will be active. When disabled
the quadrature decoder pins are not active and can be used as
GPIO .
Disabled 0 Disable
Enabled 1 Enable
36.7.5 LEDPOL
Address offset: 0x504
LED output pin polarity
Bit number
Id
Reset 0x00000000
31 30
0 0
29
0
28
0
27
0
26
0
25
0
24
0
23 22 21 20
0 0 0 0
19
0
18
0
17
0
16
0
15
0
14
0
13
0
12
0
11
0
10
0
9
0
8
0
7
0
6
0
5
0
4
0
3
0
2
0
1
0
0
A
0
Id RW Field
Value Id
Value
Description
A RW LEDPOL
LED output pin polarity
ActiveLow
0
Led active on output pin low
ActiveHigh
1
Led active on output pin high
36.7.6 SAMPLEPER
Address offset: 0x508
Sample period
Bit number
Id
Reset 0x00000000
31 30
0 0
29
0
28
0
27
0
26
0
25
0
24
0
23 22 21 20
0 0 0 0
19
0
18
0
17
0
16
0
15
0
14
0
13
0
12
0
11
0
10
0
9
0
8
0
7
0
6
0
5
0
4
0
3
A
0
2
A
0
1
A
0
0
A
0
Id RW Field
Value Id
Value
Description
A RW SAMPLEPER
Sample period. The SAMPLE register will be updated for every
new sample
128us
0
128 us
256us
1
256 us
512us
2
512 us
1024us
3
1024 us
2048us
4
2048 us
4096us
5
4096 us
8192us
6
8192 us
16384us
7
16384 us
32ms
8
32768 us
65ms
9
65536 us
131ms
10
131072 us
36.7.7 SAMPLE
Address offset: 0x50C
Motion sample value
Bit number
31 30
29
28
27
26
25
24
23 22 21 20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Id
A A
A
A
A
A
A
A
A A A A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
Reset 0x00000000
0 0
0
0
0
0
0
0
0 0 0 0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Id
RW Field
Value Id
Value
Description
A R SAMPLE [-1..2] Last motion sample