Type Alias atsame54n::usb::host::host_pipe::pstatusset::W

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

Register PSTATUSSET writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn dtgl(&mut self) -> DTGL_W<'_, PSTATUSSET_SPEC, 0>

Bit 0 - Data Toggle Set

source

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

Bit 2 - Current Bank Set

source

pub fn pfreeze(&mut self) -> PFREEZE_W<'_, PSTATUSSET_SPEC, 4>

Bit 4 - Pipe Freeze Set

source

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

Bit 6 - Bank 0 Ready Set

source

pub fn bk1rdy(&mut self) -> BK1RDY_W<'_, PSTATUSSET_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