Struct alt_stm32f30x_hal::device::rcc::cfgr3::USART1SW_R
source · [−]pub struct USART1SW_R(_);
Expand description
Field USART1SW
reader - USART1 clock source selection
Implementations
sourceimpl USART1SW_R
impl USART1SW_R
sourcepub fn variant(&self) -> USART1SW_A
pub fn variant(&self) -> USART1SW_A
Get enumerated values variant
Methods from Deref<Target = FieldReader<u8, USART1SW_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 USART1SW_R
impl Deref for USART1SW_R
type Target = FieldReader<u8, USART1SW_A>
type Target = FieldReader<u8, USART1SW_A>
The resulting type after dereferencing.
sourcefn deref(&self) -> &<USART1SW_R as Deref>::Target
fn deref(&self) -> &<USART1SW_R as Deref>::Target
Dereferences the value.
Auto Trait Implementations
impl RefUnwindSafe for USART1SW_R
impl Send for USART1SW_R
impl Sync for USART1SW_R
impl Unpin for USART1SW_R
impl UnwindSafe for USART1SW_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