Type Alias R

Source
pub type R = R<EMACADDR2HIGH_SPEC>;
Expand description

Register EMACADDR2HIGH reader

Aliased Type§

pub struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn mac_address2_hi(&self) -> MAC_ADDRESS2_HI_R

Bits 0:15 - This field contains the upper 16 bits Bits[47:32] of the third 6-byte MAC address.

Source

pub fn mask_byte_control2(&self) -> MASK_BYTE_CONTROL2_R

Bits 24:29 - These bits are mask control bits for comparison of each of the EMACADDR2 bytes. When set high the MAC does not compare the corresponding byte of received DA or SA with the contents of EMACADDR2 registers. Each bit controls the masking of the bytes as follows: Bit[29]: EMACADDR2 High [15:8]. Bit[28]: EMACADDR2 High [7:0]. Bit[27]: EMACADDR2 Low [31:24]. Bit[24]: EMACADDR2 Low [7:0].You can filter a group of addresses (known as group address filtering) by masking one or more bytes of the address.

Source

pub fn source_address2(&self) -> SOURCE_ADDRESS2_R

Bit 30 - When this bit is set the EMACADDR2[47:0] is used to compare with the SA fields of the received frame. When this bit is reset the EMACADDR2[47:0] is used to compare with the DA fields of the received frame.

Source

pub fn address_enable2(&self) -> ADDRESS_ENABLE2_R

Bit 31 - When this bit is set the address filter module uses the third MAC address for perfect filtering. When this bit is reset the address filter module ignores the address for filtering.