Module nrf51822::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. |
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. |
RegisterBlock |
Register block |
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. |