Type Alias atsame54n::gmac::isr::W

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

Register ISR writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn mfs(&mut self) -> MFS_W<'_, ISR_SPEC, 0>

Bit 0 - Management Frame Sent

source

pub fn rcomp(&mut self) -> RCOMP_W<'_, ISR_SPEC, 1>

Bit 1 - Receive Complete

source

pub fn rxubr(&mut self) -> RXUBR_W<'_, ISR_SPEC, 2>

Bit 2 - RX Used Bit Read

source

pub fn txubr(&mut self) -> TXUBR_W<'_, ISR_SPEC, 3>

Bit 3 - TX Used Bit Read

source

pub fn tur(&mut self) -> TUR_W<'_, ISR_SPEC, 4>

Bit 4 - Transmit Underrun

source

pub fn rlex(&mut self) -> RLEX_W<'_, ISR_SPEC, 5>

Bit 5 - Retry Limit Exceeded

source

pub fn tfc(&mut self) -> TFC_W<'_, ISR_SPEC, 6>

Bit 6 - Transmit Frame Corruption Due to AHB Error

source

pub fn tcomp(&mut self) -> TCOMP_W<'_, ISR_SPEC, 7>

Bit 7 - Transmit Complete

source

pub fn rovr(&mut self) -> ROVR_W<'_, ISR_SPEC, 10>

Bit 10 - Receive Overrun

source

pub fn hresp(&mut self) -> HRESP_W<'_, ISR_SPEC, 11>

Bit 11 - HRESP Not OK

source

pub fn pfnz(&mut self) -> PFNZ_W<'_, ISR_SPEC, 12>

Bit 12 - Pause Frame with Non-zero Pause Quantum Received

source

pub fn ptz(&mut self) -> PTZ_W<'_, ISR_SPEC, 13>

Bit 13 - Pause Time Zero

source

pub fn pftr(&mut self) -> PFTR_W<'_, ISR_SPEC, 14>

Bit 14 - Pause Frame Transmitted

source

pub fn drqfr(&mut self) -> DRQFR_W<'_, ISR_SPEC, 18>

Bit 18 - PTP Delay Request Frame Received

source

pub fn sfr(&mut self) -> SFR_W<'_, ISR_SPEC, 19>

Bit 19 - PTP Sync Frame Received

source

pub fn drqft(&mut self) -> DRQFT_W<'_, ISR_SPEC, 20>

Bit 20 - PTP Delay Request Frame Transmitted

source

pub fn sft(&mut self) -> SFT_W<'_, ISR_SPEC, 21>

Bit 21 - PTP Sync Frame Transmitted

source

pub fn pdrqfr(&mut self) -> PDRQFR_W<'_, ISR_SPEC, 22>

Bit 22 - PDelay Request Frame Received

source

pub fn pdrsfr(&mut self) -> PDRSFR_W<'_, ISR_SPEC, 23>

Bit 23 - PDelay Response Frame Received

source

pub fn pdrqft(&mut self) -> PDRQFT_W<'_, ISR_SPEC, 24>

Bit 24 - PDelay Request Frame Transmitted

source

pub fn pdrsft(&mut self) -> PDRSFT_W<'_, ISR_SPEC, 25>

Bit 25 - PDelay Response Frame Transmitted

source

pub fn sri(&mut self) -> SRI_W<'_, ISR_SPEC, 26>

Bit 26 - TSU Seconds Register Increment

source

pub fn wol(&mut self) -> WOL_W<'_, ISR_SPEC, 28>

Bit 28 - Wake On LAN

source

pub fn tsucmp(&mut self) -> TSUCMP_W<'_, ISR_SPEC, 29>

Bit 29 - Tsu timer comparison

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