Enum stm32f407g_disc::stm32f4::stm32f407::ethernet_mac::macvlantr::VLANTCR
pub enum VLANTCR {
VLANTC16,
VLANTC12,
}
Expand description
Possible values of the field VLANTC
Variants§
VLANTC16
Full 16 bit VLAN identifiers are used for comparison and filtering
VLANTC12
12 bit VLAN identifies are used for comparison and filtering
Implementations§
§impl VLANTCR
impl VLANTCR
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_vlantc16(&self) -> bool
pub fn is_vlantc16(&self) -> bool
Checks if the value of the field is VLANTC16
pub fn is_vlantc12(&self) -> bool
pub fn is_vlantc12(&self) -> bool
Checks if the value of the field is VLANTC12