[−][src]Struct nrf51::qdec::RegisterBlock
Register block
Fields
tasks_start: TASKS_START
0x00 - Start the quadrature decoder.
tasks_stop: TASKS_STOP
0x04 - Stop the quadrature decoder.
tasks_readclracc: TASKS_READCLRACC
0x08 - Transfers the content from ACC registers to ACCREAD registers, and clears the ACC registers.
events_samplerdy: EVENTS_SAMPLERDY
0x100 - A new sample is written to the sample register.
events_reportrdy: EVENTS_REPORTRDY
0x104 - REPORTPER number of samples accumulated in ACC register, and ACC register different than zero.
events_accof: EVENTS_ACCOF
0x108 - ACC or ACCDBL register overflow.
shorts: SHORTS
0x200 - Shortcuts for the QDEC.
intenset: INTENSET
0x304 - Interrupt enable set register.
intenclr: INTENCLR
0x308 - Interrupt enable clear register.
enable: ENABLE
0x500 - Enable the QDEC.
ledpol: LEDPOL
0x504 - LED output pin polarity.
sampleper: SAMPLEPER
0x508 - Sample period.
sample: SAMPLE
0x50c - Motion sample value.
reportper: REPORTPER
0x510 - Number of samples to generate an EVENT_REPORTRDY.
acc: ACC
0x514 - Accumulated valid transitions register.
accread: ACCREAD
0x518 - Snapshot of ACC register. Value generated by the TASKS_READCLEACC task.
pselled: PSELLED
0x51c - Pin select for LED output.
psela: PSELA
0x520 - Pin select for phase A input.
pselb: PSELB
0x524 - Pin select for phase B input.
dbfen: DBFEN
0x528 - Enable debouncer input filters.
ledpre: LEDPRE
0x540 - Time LED is switched ON before the sample.
accdbl: ACCDBL
0x544 - Accumulated double (error) transitions register.
accdblread: ACCDBLREAD
0x548 - Snapshot of ACCDBL register. Value generated by the TASKS_READCLEACC task.
power: POWER
0xffc - Peripheral power control.
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,