Type Alias esp32s2::usb0::doepctl6::W

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

Register DOEPCTL6 writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn snp6(&mut self) -> SNP6_W<'_, DOEPCTL6_SPEC>

Bit 20

source

pub fn stall6(&mut self) -> STALL6_W<'_, DOEPCTL6_SPEC>

Bit 21

source

pub fn cnak6(&mut self) -> CNAK6_W<'_, DOEPCTL6_SPEC>

Bit 26

source

pub fn do_snak6(&mut self) -> DO_SNAK6_W<'_, DOEPCTL6_SPEC>

Bit 27

source

pub fn do_setd0pid6(&mut self) -> DO_SETD0PID6_W<'_, DOEPCTL6_SPEC>

Bit 28

source

pub fn do_setd1pid6(&mut self) -> DO_SETD1PID6_W<'_, DOEPCTL6_SPEC>

Bit 29

source

pub fn epena6(&mut self) -> EPENA6_W<'_, DOEPCTL6_SPEC>

Bit 31

source

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

Writes raw bits to the register.

Safety

Passing incorrect value can cause undefined behaviour. See reference manual