Expand description
Quadrature Decoder
Re-exports§
pub use psel::PSEL;
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
- Cluster 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§
- Register
Block - Register block
Type Aliases§
- ACC
- ACC (r) register accessor: an alias for
Reg<ACC_SPEC>
- ACCDBL
- ACCDBL (r) register accessor: an alias for
Reg<ACCDBL_SPEC>
- ACCDBLREAD
- ACCDBLREAD (r) register accessor: an alias for
Reg<ACCDBLREAD_SPEC>
- ACCREAD
- ACCREAD (r) register accessor: an alias for
Reg<ACCREAD_SPEC>
- DBFEN
- DBFEN (rw) register accessor: an alias for
Reg<DBFEN_SPEC>
- ENABLE
- ENABLE (rw) register accessor: an alias for
Reg<ENABLE_SPEC>
- EVENTS_
ACCOF - EVENTS_ACCOF (rw) register accessor: an alias for
Reg<EVENTS_ACCOF_SPEC>
- EVENTS_
DBLRDY - EVENTS_DBLRDY (rw) register accessor: an alias for
Reg<EVENTS_DBLRDY_SPEC>
- EVENTS_
REPORTRDY - EVENTS_REPORTRDY (rw) register accessor: an alias for
Reg<EVENTS_REPORTRDY_SPEC>
- EVENTS_
SAMPLERDY - EVENTS_SAMPLERDY (rw) register accessor: an alias for
Reg<EVENTS_SAMPLERDY_SPEC>
- EVENTS_
STOPPED - EVENTS_STOPPED (rw) register accessor: an alias for
Reg<EVENTS_STOPPED_SPEC>
- INTENCLR
- INTENCLR (rw) register accessor: an alias for
Reg<INTENCLR_SPEC>
- INTENSET
- INTENSET (rw) register accessor: an alias for
Reg<INTENSET_SPEC>
- LEDPOL
- LEDPOL (rw) register accessor: an alias for
Reg<LEDPOL_SPEC>
- LEDPRE
- LEDPRE (rw) register accessor: an alias for
Reg<LEDPRE_SPEC>
- REPORTPER
- REPORTPER (rw) register accessor: an alias for
Reg<REPORTPER_SPEC>
- SAMPLE
- SAMPLE (r) register accessor: an alias for
Reg<SAMPLE_SPEC>
- SAMPLEPER
- SAMPLEPER (rw) register accessor: an alias for
Reg<SAMPLEPER_SPEC>
- SHORTS
- SHORTS (rw) register accessor: an alias for
Reg<SHORTS_SPEC>
- TASKS_
RDCLRACC - TASKS_RDCLRACC (w) register accessor: an alias for
Reg<TASKS_RDCLRACC_SPEC>
- TASKS_
RDCLRDBL - TASKS_RDCLRDBL (w) register accessor: an alias for
Reg<TASKS_RDCLRDBL_SPEC>
- TASKS_
READCLRACC - TASKS_READCLRACC (w) register accessor: an alias for
Reg<TASKS_READCLRACC_SPEC>
- TASKS_
START - TASKS_START (w) register accessor: an alias for
Reg<TASKS_START_SPEC>
- TASKS_
STOP - TASKS_STOP (w) register accessor: an alias for
Reg<TASKS_STOP_SPEC>