pub type W = W<CTRLB_SPEC>;
Expand description
Register CTRLB
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
source§impl W
impl W
sourcepub fn resume(&mut self) -> RESUME_W<'_, CTRLB_SPEC, 1>
pub fn resume(&mut self) -> RESUME_W<'_, CTRLB_SPEC, 1>
Bit 1 - Send USB Resume
sourcepub fn spdconf(&mut self) -> SPDCONF_W<'_, CTRLB_SPEC, 2>
pub fn spdconf(&mut self) -> SPDCONF_W<'_, CTRLB_SPEC, 2>
Bits 2:3 - Speed Configuration for Host
sourcepub fn autoresume(&mut self) -> AUTORESUME_W<'_, CTRLB_SPEC, 4>
pub fn autoresume(&mut self) -> AUTORESUME_W<'_, CTRLB_SPEC, 4>
Bit 4 - Auto Resume Enable
sourcepub fn tstj(&mut self) -> TSTJ_W<'_, CTRLB_SPEC, 5>
pub fn tstj(&mut self) -> TSTJ_W<'_, CTRLB_SPEC, 5>
Bit 5 - Test mode J
sourcepub fn tstk(&mut self) -> TSTK_W<'_, CTRLB_SPEC, 6>
pub fn tstk(&mut self) -> TSTK_W<'_, CTRLB_SPEC, 6>
Bit 6 - Test mode K
sourcepub fn sofe(&mut self) -> SOFE_W<'_, CTRLB_SPEC, 8>
pub fn sofe(&mut self) -> SOFE_W<'_, CTRLB_SPEC, 8>
Bit 8 - Start of Frame Generation Enable
sourcepub fn busreset(&mut self) -> BUSRESET_W<'_, CTRLB_SPEC, 9>
pub fn busreset(&mut self) -> BUSRESET_W<'_, CTRLB_SPEC, 9>
Bit 9 - Send USB Reset
sourcepub fn vbusok(&mut self) -> VBUSOK_W<'_, CTRLB_SPEC, 10>
pub fn vbusok(&mut self) -> VBUSOK_W<'_, CTRLB_SPEC, 10>
Bit 10 - VBUS is OK
sourcepub fn l1resume(&mut self) -> L1RESUME_W<'_, CTRLB_SPEC, 11>
pub fn l1resume(&mut self) -> L1RESUME_W<'_, CTRLB_SPEC, 11>
Bit 11 - Send L1 Resume