Type Alias atsame54n::gmac::rsr::W

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

Register RSR writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn bna(&mut self) -> BNA_W<'_, RSR_SPEC, 0>

Bit 0 - Buffer Not Available

source

pub fn rec(&mut self) -> REC_W<'_, RSR_SPEC, 1>

Bit 1 - Frame Received

source

pub fn rxovr(&mut self) -> RXOVR_W<'_, RSR_SPEC, 2>

Bit 2 - Receive Overrun

source

pub fn hno(&mut self) -> HNO_W<'_, RSR_SPEC, 3>

Bit 3 - HRESP Not OK

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