BL702/704/706 Reference Manual
Bits
Name Type Reset Description
3 IS R/W 0 input a/b swap
2 RPT R/W 0 rpt option 0: Count time only if sample change 1: Continue
time
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.15 qdec2_value
Address:0x4000a888
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.16 qdec2_int_en
Address:0x4000a890
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
BL702/704/706 Reference Manual 274/ 375
@2021 Bouffalo Lab