Type Alias atsame54n::usb::host::intenclr::W

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

Register INTENCLR writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn hsof(&mut self) -> HSOF_W<'_, INTENCLR_SPEC, 2>

Bit 2 - Host Start Of Frame Interrupt Disable

source

pub fn rst(&mut self) -> RST_W<'_, INTENCLR_SPEC, 3>

Bit 3 - BUS Reset Interrupt Disable

source

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

Bit 4 - Wake Up Interrupt Disable

source

pub fn dnrsm(&mut self) -> DNRSM_W<'_, INTENCLR_SPEC, 5>

Bit 5 - DownStream to Device Interrupt Disable

source

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

Bit 6 - Upstream Resume from Device Interrupt Disable

source

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

Bit 7 - Ram Access Interrupt Disable

source

pub fn dconn(&mut self) -> DCONN_W<'_, INTENCLR_SPEC, 8>

Bit 8 - Device Connection Interrupt Disable

source

pub fn ddisc(&mut self) -> DDISC_W<'_, INTENCLR_SPEC, 9>

Bit 9 - Device Disconnection Interrupt Disable

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