[][src]Struct efm32gg11b820::usb::ctrl::W

pub struct W { /* fields omitted */ }

Value to write to the register

Methods

impl W[src]

pub fn reset_value() -> W[src]

Reset value of the register

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self[src]

Writes raw bits to the register

pub fn vbusenap(&mut self) -> _VBUSENAPW[src]

Bit 0 - VBUSEN Active Polarity

pub fn selfpowered(&mut self) -> _SELFPOWEREDW[src]

Bit 3 - PHY Power

pub fn lemoscctrl(&mut self) -> _LEMOSCCTRLW[src]

Bits 4:5 - Low Energy Mode Oscillator Control

pub fn lemphyctrl(&mut self) -> _LEMPHYCTRLW[src]

Bit 7 - Low Energy Mode USB PHY Control

pub fn lemidleen(&mut self) -> _LEMIDLEENW[src]

Bit 9 - Low Energy Mode on Bus Idle Enable

pub fn idcden(&mut self) -> _IDCDENW[src]

Bit 12 - ID Pull-up Enable

pub fn otgclkcdis(&mut self) -> _OTGCLKCDISW[src]

Bit 25 - OTG CLKC Disable

pub fn otgidindis(&mut self) -> _OTGIDINDISW[src]

Bit 26 - OTG ID Input Disable

pub fn otgphyctrldis(&mut self) -> _OTGPHYCTRLDISW[src]

Bit 27 - OTG Control Signals to PHY Disable

pub fn dcden(&mut self) -> _DCDENW[src]

Bits 28:29 - Data Contact Detection Enable

pub fn pden(&mut self) -> _PDENW[src]

Bit 30 - Primary Detection Enable

pub fn sden(&mut self) -> _SDENW[src]

Bit 31 - Secondary Detection Enable

Auto Trait Implementations

impl Send for W

impl Sync for W

Blanket Implementations

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> From for T[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same for T

type Output = T

Should always be Self