Type Alias atsame54n::usb::device::device_endpoint::epstatusset::W

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

Register EPSTATUSSET writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn dtglout(&mut self) -> DTGLOUT_W<'_, EPSTATUSSET_SPEC, 0>

Bit 0 - Data Toggle OUT Set

source

pub fn dtglin(&mut self) -> DTGLIN_W<'_, EPSTATUSSET_SPEC, 1>

Bit 1 - Data Toggle IN Set

source

pub fn curbk(&mut self) -> CURBK_W<'_, EPSTATUSSET_SPEC, 2>

Bit 2 - Current Bank Set

source

pub fn stallrq0(&mut self) -> STALLRQ0_W<'_, EPSTATUSSET_SPEC, 4>

Bit 4 - Stall 0 Request Set

source

pub fn stallrq1(&mut self) -> STALLRQ1_W<'_, EPSTATUSSET_SPEC, 5>

Bit 5 - Stall 1 Request Set

source

pub fn bk0rdy(&mut self) -> BK0RDY_W<'_, EPSTATUSSET_SPEC, 6>

Bit 6 - Bank 0 Ready Set

source

pub fn bk1rdy(&mut self) -> BK1RDY_W<'_, EPSTATUSSET_SPEC, 7>

Bit 7 - Bank 1 Ready Set

source

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

Writes raw bits to the register.

§Safety

Passing incorrect value can cause undefined behaviour. See reference manual