Module nrf52840_pac::qdec

source ·
Expand description

Quadrature Decoder

Modules

Register accumulating the valid transitions
Register accumulating the number of detected double transitions
Snapshot of the ACCDBL, updated by the READCLRACC or RDCLRDBL task
Snapshot of the ACC register, updated by the READCLRACC or RDCLRACC task
Enable input debounce filters
Enable the quadrature decoder
ACC or ACCDBL register overflow
Double displacement(s) detected
Non-null report ready
Event being generated for every new sample value written to the SAMPLE register
QDEC has been stopped
Disable interrupt
Enable interrupt
LED output pin polarity
Time period the LED is switched ON prior to sampling
Register block Unspecified
Number of samples to be taken before REPORTRDY and DBLRDY events can be generated
Motion sample value
Sample period
Shortcut register
Read and clear ACC
Read and clear ACCDBL
Read and clear ACC and ACCDBL
Task starting the quadrature decoder
Task stopping the quadrature decoder

Structs

Register accumulating the valid transitions
Register accumulating the number of detected double transitions
Snapshot of the ACCDBL, updated by the READCLRACC or RDCLRDBL task
Snapshot of the ACC register, updated by the READCLRACC or RDCLRACC task
Enable input debounce filters
Enable the quadrature decoder
ACC or ACCDBL register overflow
Double displacement(s) detected
Non-null report ready
Event being generated for every new sample value written to the SAMPLE register
QDEC has been stopped
Disable interrupt
Enable interrupt
LED output pin polarity
Time period the LED is switched ON prior to sampling
Register block
Number of samples to be taken before REPORTRDY and DBLRDY events can be generated
Register block
Motion sample value
Sample period
Shortcut register
Read and clear ACC
Read and clear ACCDBL
Read and clear ACC and ACCDBL
Task starting the quadrature decoder
Task stopping the quadrature decoder