Type Alias esp32s3::usb0::doepctl5::W

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

Register DOEPCTL5 writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn snp5(&mut self) -> SNP5_W<'_, DOEPCTL5_SPEC>

Bit 20

source

pub fn stall5(&mut self) -> STALL5_W<'_, DOEPCTL5_SPEC>

Bit 21

source

pub fn cnak5(&mut self) -> CNAK5_W<'_, DOEPCTL5_SPEC>

Bit 26

source

pub fn do_snak5(&mut self) -> DO_SNAK5_W<'_, DOEPCTL5_SPEC>

Bit 27

source

pub fn do_setd0pid5(&mut self) -> DO_SETD0PID5_W<'_, DOEPCTL5_SPEC>

Bit 28

source

pub fn do_setd1pid5(&mut self) -> DO_SETD1PID5_W<'_, DOEPCTL5_SPEC>

Bit 29

source

pub fn epena5(&mut self) -> EPENA5_W<'_, DOEPCTL5_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