[−][src]Struct stm32f1xx_hal::qei::QeiOptions
Quadrature Encoder Interface (QEI) options
The Default
implementation provides a configuration for a 4-count pulse which counts from
0-65535. The counter wraps back to 0 on overflow.
Fields
slave_mode: SlaveMode
Encoder slave mode
auto_reload_value: u16
Autoreload value
This value allows the maximum count to be configured, up to 65535. Setting a lower value will overflow the counter to 0 sooner.
Trait Implementations
impl Clone for QeiOptions
[src]
fn clone(&self) -> QeiOptions
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for QeiOptions
[src]
impl Debug for QeiOptions
[src]
impl Default for QeiOptions
[src]
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>,