Type Alias atsame54n::gmac::dcfgr::W

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

Register DCFGR writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn fbldo(&mut self) -> FBLDO_W<'_, DCFGR_SPEC, 0>

Bits 0:4 - Fixed Burst Length for DMA Data Operations:

source

pub fn esma(&mut self) -> ESMA_W<'_, DCFGR_SPEC, 6>

Bit 6 - Endian Swap Mode Enable for Management Descriptor Accesses

source

pub fn espa(&mut self) -> ESPA_W<'_, DCFGR_SPEC, 7>

Bit 7 - Endian Swap Mode Enable for Packet Data Accesses

source

pub fn rxbms(&mut self) -> RXBMS_W<'_, DCFGR_SPEC, 8>

Bits 8:9 - Receiver Packet Buffer Memory Size Select

source

pub fn txpbms(&mut self) -> TXPBMS_W<'_, DCFGR_SPEC, 10>

Bit 10 - Transmitter Packet Buffer Memory Size Select

source

pub fn txcoen(&mut self) -> TXCOEN_W<'_, DCFGR_SPEC, 11>

Bit 11 - Transmitter Checksum Generation Offload Enable

source

pub fn drbs(&mut self) -> DRBS_W<'_, DCFGR_SPEC, 16>

Bits 16:23 - DMA Receive Buffer Size

source

pub fn ddrp(&mut self) -> DDRP_W<'_, DCFGR_SPEC, 24>

Bit 24 - DMA Discard Receive Packets

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