[][src]Enum sam3x8e::uotghs::sr::SPEEDR

pub enum SPEEDR {
    FULL_SPEED,
    HIGH_SPEED,
    LOW_SPEED,
    _Reserved(u8),
}

Possible values of the field SPEED

Variants

FULL_SPEED

Full-Speed mode

HIGH_SPEED

High-Speed mode

LOW_SPEED

Low-Speed mode

_Reserved(u8)

Reserved

Methods

impl SPEEDR[src]

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

Value of the field as raw bits

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

Checks if the value of the field is FULL_SPEED

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

Checks if the value of the field is HIGH_SPEED

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

Checks if the value of the field is LOW_SPEED

Trait Implementations

impl Clone for SPEEDR[src]

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

Performs copy-assignment from source. Read more

impl Debug for SPEEDR[src]

impl PartialEq<SPEEDR> for SPEEDR[src]

impl Copy for SPEEDR[src]

Auto Trait Implementations

impl Send for SPEEDR

impl Sync for SPEEDR

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]