Struct alt_stm32f30x_hal::pac::crc::cr::POLYSIZE_R
source · [−]pub struct POLYSIZE_R(_);
Expand description
Field POLYSIZE
reader - Polynomial size
Implementations
sourceimpl POLYSIZE_R
impl POLYSIZE_R
sourcepub fn variant(&self) -> POLYSIZE_A
pub fn variant(&self) -> POLYSIZE_A
Get enumerated values variant
sourcepub fn is_polysize32(&self) -> bool
pub fn is_polysize32(&self) -> bool
Checks if the value of the field is POLYSIZE32
sourcepub fn is_polysize16(&self) -> bool
pub fn is_polysize16(&self) -> bool
Checks if the value of the field is POLYSIZE16
sourcepub fn is_polysize8(&self) -> bool
pub fn is_polysize8(&self) -> bool
Checks if the value of the field is POLYSIZE8
sourcepub fn is_polysize7(&self) -> bool
pub fn is_polysize7(&self) -> bool
Checks if the value of the field is POLYSIZE7
Methods from Deref<Target = FieldReader<u8, POLYSIZE_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 POLYSIZE_R
impl Deref for POLYSIZE_R
type Target = FieldReader<u8, POLYSIZE_A>
type Target = FieldReader<u8, POLYSIZE_A>
The resulting type after dereferencing.
sourcefn deref(&self) -> &<POLYSIZE_R as Deref>::Target
fn deref(&self) -> &<POLYSIZE_R as Deref>::Target
Dereferences the value.
Auto Trait Implementations
impl RefUnwindSafe for POLYSIZE_R
impl Send for POLYSIZE_R
impl Sync for POLYSIZE_R
impl Unpin for POLYSIZE_R
impl UnwindSafe for POLYSIZE_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