EasyManua.ls Logo

Bouffalo Lab BL702 - Page 269

Default Icon
375 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
BL702/704/706 Reference Manual
Bits
Name Type Reset Description
2 DRCL W1C 0 double error interrupt clear
1 SRCL W1C 0 sample interrupt clear
0 RRCL W1C 0 report interrupt clear
14.4.7 qdec1_ctrl0
Address:0x4000a840
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RSVD RPT
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RPT SPL DEGCNT DEG
EN
LED
POL
LED
EN
QDEC
EN
Bits
Name Type Reset Description
31:28 RSVD
27:12 RPT R/W 16’d10 ”RPT” report period in [samples/report]. Specifies the num-
ber of samples to be accumulated in the ACC1 register be-
fore the RPT_RDY and DBL_RDY events can be generated
”RPT_US” report period in [us/report] = SP * RP
11:8 SPL R/W 4’h2 ”SPL” sample period in [us/sample]. The SAMPLE register
will be updated for every new sample (at 1MHz)
0: 32 us
1: 64
2: 128
3: 256
4: 512
5: 1 ms
6: 2
7: 4
8: 8
9: 16
A: 32
B: 65
C: 131
7:4 DEGCNT R/W 0 deglitch strength
3 DEGEN R/W 0 deglitch enable
2 LEDPOL R/W 1 qdec led polarity
BL702/704/706 Reference Manual 269/ 375
@2021 Bouffalo Lab
guest@bouffalolab

Table of Contents