Struct alt_stm32f30x_hal::device::syscfg::cfgr1::ENCODER_MODE_R
source · [−]pub struct ENCODER_MODE_R(_);
Expand description
Field ENCODER_MODE
reader - Encoder mode
Implementations
sourceimpl ENCODER_MODE_R
impl ENCODER_MODE_R
sourcepub fn variant(&self) -> ENCODER_MODE_A
pub fn variant(&self) -> ENCODER_MODE_A
Get enumerated values variant
sourcepub fn is_no_redirection(&self) -> bool
pub fn is_no_redirection(&self) -> bool
Checks if the value of the field is NOREDIRECTION
sourcepub fn is_map_tim2tim15(&self) -> bool
pub fn is_map_tim2tim15(&self) -> bool
Checks if the value of the field is MAPTIM2TIM15
sourcepub fn is_map_tim3tim15(&self) -> bool
pub fn is_map_tim3tim15(&self) -> bool
Checks if the value of the field is MAPTIM3TIM15
sourcepub fn is_map_tim4tim15(&self) -> bool
pub fn is_map_tim4tim15(&self) -> bool
Checks if the value of the field is MAPTIM4TIM15
Methods from Deref<Target = FieldReader<u8, ENCODER_MODE_A>>
sourcepub fn bit_is_clear(&self) -> bool
pub fn bit_is_clear(&self) -> bool
Returns true
if the bit is clear (0).
sourcepub fn bit_is_set(&self) -> bool
pub fn bit_is_set(&self) -> bool
Returns true
if the bit is set (1).
Trait Implementations
sourceimpl Deref for ENCODER_MODE_R
impl Deref for ENCODER_MODE_R
type Target = FieldReader<u8, ENCODER_MODE_A>
type Target = FieldReader<u8, ENCODER_MODE_A>
The resulting type after dereferencing.
sourcefn deref(&self) -> &<ENCODER_MODE_R as Deref>::Target
fn deref(&self) -> &<ENCODER_MODE_R as Deref>::Target
Dereferences the value.
Auto Trait Implementations
impl RefUnwindSafe for ENCODER_MODE_R
impl Send for ENCODER_MODE_R
impl Sync for ENCODER_MODE_R
impl Unpin for ENCODER_MODE_R
impl UnwindSafe for ENCODER_MODE_R
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more