Enum stm32f4xx_hal::stm32::ethernet_mac::macffr::PCFR
source · 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§
source§impl PCFR
impl PCFR
sourcepub fn is_prevent_all(&self) -> bool
pub fn is_prevent_all(&self) -> bool
Checks if the value of the field is PREVENTALL
sourcepub 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
sourcepub fn is_forward_all(&self) -> bool
pub fn is_forward_all(&self) -> bool
Checks if the value of the field is FORWARDALL
sourcepub fn is_forward_all_filtered(&self) -> bool
pub fn is_forward_all_filtered(&self) -> bool
Checks if the value of the field is FORWARDALLFILTERED