Type Alias esp32s3::usb0::dctl::W

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

Register DCTL writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn rmtwkupsig(&mut self) -> RMTWKUPSIG_W<'_, DCTL_SPEC>

Bit 0

source

pub fn sftdiscon(&mut self) -> SFTDISCON_W<'_, DCTL_SPEC>

Bit 1

source

pub fn tstctl(&mut self) -> TSTCTL_W<'_, DCTL_SPEC>

Bits 4:6

source

pub fn sgnpinnak(&mut self) -> SGNPINNAK_W<'_, DCTL_SPEC>

Bit 7

source

pub fn cgnpinnak(&mut self) -> CGNPINNAK_W<'_, DCTL_SPEC>

Bit 8

source

pub fn sgoutnak(&mut self) -> SGOUTNAK_W<'_, DCTL_SPEC>

Bit 9

source

pub fn cgoutnak(&mut self) -> CGOUTNAK_W<'_, DCTL_SPEC>

Bit 10

source

pub fn pwronprgdone(&mut self) -> PWRONPRGDONE_W<'_, DCTL_SPEC>

Bit 11

source

pub fn gmc(&mut self) -> GMC_W<'_, DCTL_SPEC>

Bits 13:14

source

pub fn ignrfrmnum(&mut self) -> IGNRFRMNUM_W<'_, DCTL_SPEC>

Bit 15

source

pub fn nakonbble(&mut self) -> NAKONBBLE_W<'_, DCTL_SPEC>

Bit 16

source

pub fn encountonbna(&mut self) -> ENCOUNTONBNA_W<'_, DCTL_SPEC>

Bit 17

source

pub fn deepsleepbeslreject(&mut self) -> DEEPSLEEPBESLREJECT_W<'_, DCTL_SPEC>

Bit 18

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