Expand description

Quadrature Decoder

Re-exports

pub use psel::PSEL;

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
Cluster Unspecified
Number of samples to be taken before REPORTRDY and DBLRDY events can be generated
Motion sample value
Sample period
Shortcuts between local events and tasks
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 block

Type Definitions

ACC (r) register accessor: an alias for Reg<ACC_SPEC>
ACCDBL (r) register accessor: an alias for Reg<ACCDBL_SPEC>
ACCDBLREAD (r) register accessor: an alias for Reg<ACCDBLREAD_SPEC>
ACCREAD (r) register accessor: an alias for Reg<ACCREAD_SPEC>
DBFEN (rw) register accessor: an alias for Reg<DBFEN_SPEC>
ENABLE (rw) register accessor: an alias for Reg<ENABLE_SPEC>
EVENTS_ACCOF (rw) register accessor: an alias for Reg<EVENTS_ACCOF_SPEC>
EVENTS_DBLRDY (rw) register accessor: an alias for Reg<EVENTS_DBLRDY_SPEC>
EVENTS_REPORTRDY (rw) register accessor: an alias for Reg<EVENTS_REPORTRDY_SPEC>
EVENTS_SAMPLERDY (rw) register accessor: an alias for Reg<EVENTS_SAMPLERDY_SPEC>
EVENTS_STOPPED (rw) register accessor: an alias for Reg<EVENTS_STOPPED_SPEC>
INTENCLR (rw) register accessor: an alias for Reg<INTENCLR_SPEC>
INTENSET (rw) register accessor: an alias for Reg<INTENSET_SPEC>
LEDPOL (rw) register accessor: an alias for Reg<LEDPOL_SPEC>
LEDPRE (rw) register accessor: an alias for Reg<LEDPRE_SPEC>
REPORTPER (rw) register accessor: an alias for Reg<REPORTPER_SPEC>
SAMPLE (r) register accessor: an alias for Reg<SAMPLE_SPEC>
SAMPLEPER (rw) register accessor: an alias for Reg<SAMPLEPER_SPEC>
SHORTS (rw) register accessor: an alias for Reg<SHORTS_SPEC>
TASKS_RDCLRACC (w) register accessor: an alias for Reg<TASKS_RDCLRACC_SPEC>
TASKS_RDCLRDBL (w) register accessor: an alias for Reg<TASKS_RDCLRDBL_SPEC>
TASKS_READCLRACC (w) register accessor: an alias for Reg<TASKS_READCLRACC_SPEC>
TASKS_START (w) register accessor: an alias for Reg<TASKS_START_SPEC>
TASKS_STOP (w) register accessor: an alias for Reg<TASKS_STOP_SPEC>