Type Alias esp32s3::usb0::hcchar5::W

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

Register HCCHAR5 writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn h_mps5(&mut self) -> H_MPS5_W<'_, HCCHAR5_SPEC, 0>

Bits 0:10

source

pub fn h_epnum5(&mut self) -> H_EPNUM5_W<'_, HCCHAR5_SPEC, 11>

Bits 11:14

source

pub fn h_epdir5(&mut self) -> H_EPDIR5_W<'_, HCCHAR5_SPEC, 15>

Bit 15

source

pub fn h_lspddev5(&mut self) -> H_LSPDDEV5_W<'_, HCCHAR5_SPEC, 17>

Bit 17

source

pub fn h_eptype5(&mut self) -> H_EPTYPE5_W<'_, HCCHAR5_SPEC, 18>

Bits 18:19

source

pub fn h_ec5(&mut self) -> H_EC5_W<'_, HCCHAR5_SPEC, 21>

Bit 21

source

pub fn h_devaddr5(&mut self) -> H_DEVADDR5_W<'_, HCCHAR5_SPEC, 22>

Bits 22:28

source

pub fn h_oddfrm5(&mut self) -> H_ODDFRM5_W<'_, HCCHAR5_SPEC, 29>

Bit 29

source

pub fn h_chdis5(&mut self) -> H_CHDIS5_W<'_, HCCHAR5_SPEC, 30>

Bit 30

source

pub fn h_chena5(&mut self) -> H_CHENA5_W<'_, HCCHAR5_SPEC, 31>

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