Enum stm32f4xx_hal::stm32::ethernet_mmc::mmccr::MCFHPR
source · 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