Module nrf51::qdec
[−]
[src]
Rotary decoder.
Modules
acc |
Accumulated valid transitions register. |
accdbl |
Accumulated double (error) transitions register. |
accdblread |
Snapshot of ACCDBL register. Value generated by the TASKS_READCLEACC task. |
accread |
Snapshot of ACC register. Value generated by the TASKS_READCLEACC task. |
dbfen |
Enable debouncer input filters. |
enable |
Enable the QDEC. |
events_accof |
ACC or ACCDBL register overflow. |
events_reportrdy |
REPORTPER number of samples accumulated in ACC register, and ACC register different than zero. |
events_samplerdy |
A new sample is written to the sample register. |
intenclr |
Interrupt enable clear register. |
intenset |
Interrupt enable set register. |
ledpol |
LED output pin polarity. |
ledpre |
Time LED is switched ON before the sample. |
power |
Peripheral power control. |
psela |
Pin select for phase A input. |
pselb |
Pin select for phase B input. |
pselled |
Pin select for LED output. |
reportper |
Number of samples to generate an EVENT_REPORTRDY. |
sample |
Motion sample value. |
sampleper |
Sample period. |
shorts |
Shortcuts for the QDEC. |
tasks_readclracc |
Transfers the content from ACC registers to ACCREAD registers, and clears the ACC registers. |
tasks_start |
Start the quadrature decoder. |
tasks_stop |
Stop the quadrature decoder. |
Structs
Acc |
Accumulated valid transitions register. |
Accdbl |
Accumulated double (error) transitions register. |
Accdblread |
Snapshot of ACCDBL register. Value generated by the TASKS_READCLEACC task. |
Accread |
Snapshot of ACC register. Value generated by the TASKS_READCLEACC task. |
Dbfen |
Enable debouncer input filters. |
Enable |
Enable the QDEC. |
EventsAccof |
ACC or ACCDBL register overflow. |
EventsReportrdy |
REPORTPER number of samples accumulated in ACC register, and ACC register different than zero. |
EventsSamplerdy |
A new sample is written to the sample register. |
Intenclr |
Interrupt enable clear register. |
Intenset |
Interrupt enable set register. |
Ledpol |
LED output pin polarity. |
Ledpre |
Time LED is switched ON before the sample. |
Power |
Peripheral power control. |
Psela |
Pin select for phase A input. |
Pselb |
Pin select for phase B input. |
Pselled |
Pin select for LED output. |
RegisterBlock |
Register block |
Reportper |
Number of samples to generate an EVENT_REPORTRDY. |
Sample |
Motion sample value. |
Sampleper |
Sample period. |
Shorts |
Shortcuts for the QDEC. |
TasksReadclracc |
Transfers the content from ACC registers to ACCREAD registers, and clears the ACC registers. |
TasksStart |
Start the quadrature decoder. |
TasksStop |
Stop the quadrature decoder. |