Enum stm32f407g_disc::stm32f4::stm32f407::ethernet_mmc::mmccr::MCFHPR
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§
§impl MCFHPR
impl MCFHPR
pub fn bit_is_clear(&self) -> bool
pub fn bit_is_clear(&self) -> bool
Returns true
if the bit is clear (0)
pub fn bit_is_set(&self) -> bool
pub fn bit_is_set(&self) -> bool
Returns true
if the bit is set (1)
pub fn is_almost_half(&self) -> bool
pub fn is_almost_half(&self) -> bool
Checks if the value of the field is ALMOSTHALF
pub fn is_almost_full(&self) -> bool
pub fn is_almost_full(&self) -> bool
Checks if the value of the field is ALMOSTFULL