Enum stm32f407g_disc::stm32f4::stm32f407::ethernet_mac::macffr::PCFR
pub enum PCFR {
PREVENTALL,
FORWARDALLEXCEPTPAUSE,
FORWARDALL,
FORWARDALLFILTERED,
}
Expand description
Possible values of the field PCF
Variants§
PREVENTALL
MAC prevents all control frames from reaching the application
FORWARDALLEXCEPTPAUSE
MAC forwards all control frames to application except Pause
FORWARDALL
MAC forwards all control frames to application even if they fail the address filter
FORWARDALLFILTERED
MAC forwards control frames that pass the address filter
Implementations§
§impl PCFR
impl PCFR
pub fn is_prevent_all(&self) -> bool
pub fn is_prevent_all(&self) -> bool
Checks if the value of the field is PREVENTALL
pub fn is_forward_all_except_pause(&self) -> bool
pub fn is_forward_all_except_pause(&self) -> bool
Checks if the value of the field is FORWARDALLEXCEPTPAUSE
pub fn is_forward_all(&self) -> bool
pub fn is_forward_all(&self) -> bool
Checks if the value of the field is FORWARDALL
pub fn is_forward_all_filtered(&self) -> bool
pub fn is_forward_all_filtered(&self) -> bool
Checks if the value of the field is FORWARDALLFILTERED