Type Alias atsamd51p::usb::host::intenset::W

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

Register INTENSET writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

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

Bit 2 - Host Start Of Frame Interrupt Enable

source

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

Bit 3 - Bus Reset Interrupt Enable

source

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

Bit 4 - Wake Up Interrupt Enable

source

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

Bit 5 - DownStream to the Device Interrupt Enable

source

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

Bit 6 - Upstream Resume fromthe device Interrupt Enable

source

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

Bit 7 - Ram Access Interrupt Enable

source

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

Bit 8 - Link Power Management Interrupt Enable

source

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

Bit 9 - Device Disconnection Interrupt Enable

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