BL702/704/706 Reference Manual
Bits
Name Type Reset Description
1 SPL R/W 0 spl option 0: Stop sample if rpt_rdy 1: Continue sample
0 ACC R/W 1 acc option 0: Stop accumulate if overflow 1: Continue ac-
cumulate
14.4.3 qdec0_value
Address:0x4000a808
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RSVD SPLVAL RSVD ACC2VAL
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ACC1VAL
Bits
Name Type Reset Description
31:30 RSVD
29:28 SPLVAL R 0 Sample value. Direction of last change
00: no change
01: clockwise
11: counter-clockwise
10: Error
27:20 RSVD
19:16 ACC2VAL R 0 Double error accumulation (0 15)
15:0 ACC1VAL R 0 Sample accumulation (-32768 32767)
clockwise +1, counter-clockwise -1
14.4.4 qdec0_int_en
Address:0x4000a810
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
RSVD OFEN DREN SREN RREN
Bits
Name Type Reset Description
31:4 RSVD
BL702/704/706 Reference Manual 267/ 375
@2021 Bouffalo Lab