[][src]Struct atsame70j20b::usbhs::usbhs_devctrl::SPDCONF_W

pub struct SPDCONF_W<'a> { /* fields omitted */ }

Write proxy for field SPDCONF

Implementations

impl<'a> SPDCONF_W<'a>[src]

pub fn variant(self, variant: SPDCONF_A) -> &'a mut W[src]

Writes variant to the field

pub fn normal(self) -> &'a mut W[src]

The peripheral starts in Full-speed mode and performs a high-speed reset to switch to High-speed mode if the host is high-speed-capable.

pub fn low_power(self) -> &'a mut W[src]

For a better consumption, if high speed is not needed.

pub fn high_speed(self) -> &'a mut W[src]

Forced high speed.

pub fn forced_fs(self) -> &'a mut W[src]

The peripheral remains in Full-speed mode whatever the host speed capability.

pub fn bits(self, value: u8) -> &'a mut W[src]

Writes raw bits to the field

Auto Trait Implementations

impl<'a> Send for SPDCONF_W<'a>

impl<'a> !Sync for SPDCONF_W<'a>

impl<'a> Unpin for SPDCONF_W<'a>

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.