Type Alias esp32s3::usb0::hcfg::W

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

Register HCFG writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn h_fslspclksel(&mut self) -> H_FSLSPCLKSEL_W<'_, HCFG_SPEC>

Bits 0:1

source

pub fn h_fslssupp(&mut self) -> H_FSLSSUPP_W<'_, HCFG_SPEC>

Bit 2

source

pub fn h_ena32khzs(&mut self) -> H_ENA32KHZS_W<'_, HCFG_SPEC>

Bit 7

source

pub fn h_descdma(&mut self) -> H_DESCDMA_W<'_, HCFG_SPEC>

Bit 23

source

pub fn h_frlisten(&mut self) -> H_FRLISTEN_W<'_, HCFG_SPEC>

Bits 24:25

source

pub fn h_perschedena(&mut self) -> H_PERSCHEDENA_W<'_, HCFG_SPEC>

Bit 26

source

pub fn h_modechtimen(&mut self) -> H_MODECHTIMEN_W<'_, HCFG_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