Type Alias atsame54n::usb::device::intflag::W

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

Register INTFLAG writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn suspend(&mut self) -> SUSPEND_W<'_, INTFLAG_SPEC, 0>

Bit 0 - Suspend

source

pub fn msof(&mut self) -> MSOF_W<'_, INTFLAG_SPEC, 1>

Bit 1 - Micro Start of Frame in High Speed Mode

source

pub fn sof(&mut self) -> SOF_W<'_, INTFLAG_SPEC, 2>

Bit 2 - Start Of Frame

source

pub fn eorst(&mut self) -> EORST_W<'_, INTFLAG_SPEC, 3>

Bit 3 - End of Reset

source

pub fn wakeup(&mut self) -> WAKEUP_W<'_, INTFLAG_SPEC, 4>

Bit 4 - Wake Up

source

pub fn eorsm(&mut self) -> EORSM_W<'_, INTFLAG_SPEC, 5>

Bit 5 - End Of Resume

source

pub fn uprsm(&mut self) -> UPRSM_W<'_, INTFLAG_SPEC, 6>

Bit 6 - Upstream Resume

source

pub fn ramacer(&mut self) -> RAMACER_W<'_, INTFLAG_SPEC, 7>

Bit 7 - Ram Access

source

pub fn lpmnyet(&mut self) -> LPMNYET_W<'_, INTFLAG_SPEC, 8>

Bit 8 - Link Power Management Not Yet

source

pub fn lpmsusp(&mut self) -> LPMSUSP_W<'_, INTFLAG_SPEC, 9>

Bit 9 - Link Power Management Suspend

source

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

Writes raw bits to the register.

§Safety

Passing incorrect value can cause undefined behaviour. See reference manual