Type Alias atsame54n::gmac::ncr::W

source ·
pub type W = W<NCR_SPEC>;
Expand description

Register NCR writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn lbl(&mut self) -> LBL_W<'_, NCR_SPEC, 1>

Bit 1 - Loop Back Local

source

pub fn rxen(&mut self) -> RXEN_W<'_, NCR_SPEC, 2>

Bit 2 - Receive Enable

source

pub fn txen(&mut self) -> TXEN_W<'_, NCR_SPEC, 3>

Bit 3 - Transmit Enable

source

pub fn mpe(&mut self) -> MPE_W<'_, NCR_SPEC, 4>

Bit 4 - Management Port Enable

source

pub fn clrstat(&mut self) -> CLRSTAT_W<'_, NCR_SPEC, 5>

Bit 5 - Clear Statistics Registers

source

pub fn incstat(&mut self) -> INCSTAT_W<'_, NCR_SPEC, 6>

Bit 6 - Increment Statistics Registers

source

pub fn westat(&mut self) -> WESTAT_W<'_, NCR_SPEC, 7>

Bit 7 - Write Enable for Statistics Registers

source

pub fn bp(&mut self) -> BP_W<'_, NCR_SPEC, 8>

Bit 8 - Back pressure

source

pub fn tstart(&mut self) -> TSTART_W<'_, NCR_SPEC, 9>

Bit 9 - Start Transmission

source

pub fn thalt(&mut self) -> THALT_W<'_, NCR_SPEC, 10>

Bit 10 - Transmit Halt

source

pub fn txpf(&mut self) -> TXPF_W<'_, NCR_SPEC, 11>

Bit 11 - Transmit Pause Frame

source

pub fn txzqpf(&mut self) -> TXZQPF_W<'_, NCR_SPEC, 12>

Bit 12 - Transmit Zero Quantum Pause Frame

source

pub fn srtsm(&mut self) -> SRTSM_W<'_, NCR_SPEC, 15>

Bit 15 - Store Receive Time Stamp to Memory

source

pub fn enpbpr(&mut self) -> ENPBPR_W<'_, NCR_SPEC, 16>

Bit 16 - Enable PFC Priority-based Pause Reception

source

pub fn txpbpf(&mut self) -> TXPBPF_W<'_, NCR_SPEC, 17>

Bit 17 - Transmit PFC Priority-based Pause Frame

source

pub fn fnp(&mut self) -> FNP_W<'_, NCR_SPEC, 18>

Bit 18 - Flush Next Packet

source

pub fn lpi(&mut self) -> LPI_W<'_, NCR_SPEC, 19>

Bit 19 - Low Power Idle Enable

source

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self

Writes raw bits to the register.

§Safety

Passing incorrect value can cause undefined behaviour. See reference manual