Module nrf52::qdec
[−]
[src]
Quadrature Decoder
Modules
acc |
Register accumulating the valid transitions |
accdbl |
Register accumulating the number of detected double transitions |
accdblread |
Snapshot of the ACCDBL, updated by the READCLRACC or RDCLRDBL task |
accread |
Snapshot of the ACC register, updated by the READCLRACC or RDCLRACC task |
dbfen |
Enable input debounce filters |
enable |
Enable the quadrature decoder |
events_accof |
ACC or ACCDBL register overflow |
events_dblrdy |
Double displacement(s) detected |
events_reportrdy |
Non-null report ready |
events_samplerdy |
Event being generated for every new sample value written to the SAMPLE register |
events_stopped |
QDEC has been stopped |
intenclr |
Disable interrupt |
intenset |
Enable interrupt |
ledpol |
LED output pin polarity |
ledpre |
Time period the LED is switched ON prior to sampling |
psel |
Register block Unspecified |
reportper |
Number of samples to be taken before REPORTRDY and DBLRDY events can be generated |
sample |
Motion sample value |
sampleper |
Sample period |
shorts |
Shortcut register |
tasks_rdclracc |
Read and clear ACC |
tasks_rdclrdbl |
Read and clear ACCDBL |
tasks_readclracc |
Read and clear ACC and ACCDBL |
tasks_start |
Task starting the quadrature decoder |
tasks_stop |
Task stopping the quadrature decoder |
Structs
ACC |
Register accumulating the valid transitions |
ACCDBL |
Register accumulating the number of detected double transitions |
ACCDBLREAD |
Snapshot of the ACCDBL, updated by the READCLRACC or RDCLRDBL task |
ACCREAD |
Snapshot of the ACC register, updated by the READCLRACC or RDCLRACC task |
DBFEN |
Enable input debounce filters |
ENABLE |
Enable the quadrature decoder |
EVENTS_ACCOF |
ACC or ACCDBL register overflow |
EVENTS_DBLRDY |
Double displacement(s) detected |
EVENTS_REPORTRDY |
Non-null report ready |
EVENTS_SAMPLERDY |
Event being generated for every new sample value written to the SAMPLE register |
EVENTS_STOPPED |
QDEC has been stopped |
INTENCLR |
Disable interrupt |
INTENSET |
Enable interrupt |
LEDPOL |
LED output pin polarity |
LEDPRE |
Time period the LED is switched ON prior to sampling |
PSEL |
Register block |
REPORTPER |
Number of samples to be taken before REPORTRDY and DBLRDY events can be generated |
RegisterBlock |
Register block |
SAMPLE |
Motion sample value |
SAMPLEPER |
Sample period |
SHORTS |
Shortcut register |
TASKS_RDCLRACC |
Read and clear ACC |
TASKS_RDCLRDBL |
Read and clear ACCDBL |
TASKS_READCLRACC |
Read and clear ACC and ACCDBL |
TASKS_START |
Task starting the quadrature decoder |
TASKS_STOP |
Task stopping the quadrature decoder |