[][src]Enum sam3x8e::uotghs::hstctrl::SPDCONFR

pub enum SPDCONFR {
    NORMAL,
    LOW_POWER,
    HIGH_SPEED,
    FORCED_FS,
}

Possible values of the field SPDCONF

Variants

NORMAL

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

LOW_POWER

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

HIGH_SPEED

Forced high speed.

FORCED_FS

The host remains to full-speed mode whatever the peripheral speed capability.

Methods

impl SPDCONFR[src]

pub fn bits(&self) -> u8[src]

Value of the field as raw bits

pub fn is_normal(&self) -> bool[src]

Checks if the value of the field is NORMAL

pub fn is_low_power(&self) -> bool[src]

Checks if the value of the field is LOW_POWER

pub fn is_high_speed(&self) -> bool[src]

Checks if the value of the field is HIGH_SPEED

pub fn is_forced_fs(&self) -> bool[src]

Checks if the value of the field is FORCED_FS

Trait Implementations

impl Clone for SPDCONFR[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for SPDCONFR[src]

impl PartialEq<SPDCONFR> for SPDCONFR[src]

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests for !=.

impl Copy for SPDCONFR[src]

Auto Trait Implementations

impl Send for SPDCONFR

impl Sync for SPDCONFR

Blanket Implementations

impl<T> From for T[src]

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

🔬 This is a nightly-only experimental API. (try_from)

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]