Type Alias esp32s3::usb0::hptxfsiz::W

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

Register HPTXFSIZ writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn ptxfstaddr(&mut self) -> PTXFSTADDR_W<'_, HPTXFSIZ_SPEC, 0>

Bits 0:15

source

pub fn ptxfsize(&mut self) -> PTXFSIZE_W<'_, HPTXFSIZ_SPEC, 16>

Bits 16: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