pub enum MCFHPR {
ALMOSTHALF,
ALMOSTFULL,
}
Expand description
Possible values of the field MCFHP
Variants§
ALMOSTHALF
When MCP is set, MMC counters are preset to almost-half value 0x7FFF_FFF0
ALMOSTFULL
When MCP is set, MMC counters are preset to almost-full value 0xFFFF_FFF0
Implementations§
Source§impl MCFHPR
impl MCFHPR
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)
Sourcepub fn is_almost_half(&self) -> bool
pub fn is_almost_half(&self) -> bool
Checks if the value of the field is ALMOSTHALF
Sourcepub fn is_almost_full(&self) -> bool
pub fn is_almost_full(&self) -> bool
Checks if the value of the field is ALMOSTFULL
Trait Implementations§
impl Copy for MCFHPR
impl StructuralPartialEq for MCFHPR
Auto Trait Implementations§
impl Freeze for MCFHPR
impl RefUnwindSafe for MCFHPR
impl Send for MCFHPR
impl Sync for MCFHPR
impl Unpin for MCFHPR
impl UnwindSafe for MCFHPR
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more