Struct stm32f4xx_hal::pac::gpioa::ospeedr::OSPEEDR0_R
source · [−]pub struct OSPEEDR0_R(_);
Expand description
Field OSPEEDR0
reader - Port x configuration bits (y = 0..15)
Implementations
sourceimpl OSPEEDR0_R
impl OSPEEDR0_R
sourcepub fn variant(&self) -> OSPEEDR0_A
pub fn variant(&self) -> OSPEEDR0_A
Get enumerated values variant
sourcepub fn is_low_speed(&self) -> bool
pub fn is_low_speed(&self) -> bool
Checks if the value of the field is LOWSPEED
sourcepub fn is_medium_speed(&self) -> bool
pub fn is_medium_speed(&self) -> bool
Checks if the value of the field is MEDIUMSPEED
sourcepub fn is_high_speed(&self) -> bool
pub fn is_high_speed(&self) -> bool
Checks if the value of the field is HIGHSPEED
sourcepub fn is_very_high_speed(&self) -> bool
pub fn is_very_high_speed(&self) -> bool
Checks if the value of the field is VERYHIGHSPEED
Methods from Deref<Target = FieldReader<u8, OSPEEDR0_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 OSPEEDR0_R
impl Deref for OSPEEDR0_R
type Target = FieldReader<u8, OSPEEDR0_A>
type Target = FieldReader<u8, OSPEEDR0_A>
The resulting type after dereferencing.
sourcefn deref(&self) -> &<OSPEEDR0_R as Deref>::Target
fn deref(&self) -> &<OSPEEDR0_R as Deref>::Target
Dereferences the value.
Auto Trait Implementations
impl RefUnwindSafe for OSPEEDR0_R
impl Send for OSPEEDR0_R
impl Sync for OSPEEDR0_R
impl Unpin for OSPEEDR0_R
impl UnwindSafe for OSPEEDR0_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