Struct atsame54n19a_pac::USB[][src]

pub struct USB { /* fields omitted */ }

Universal Serial Bus


impl USB[src]

pub const fn ptr() -> *const RegisterBlock[src]

Returns a pointer to the register block

Methods from Deref<Target = RegisterBlock>

pub fn host(&self) -> &HOST[src]

0x00 - USB is Host

pub fn host_mut(&self) -> &mut HOST[src]

0x00 - USB is Host

pub fn device(&self) -> &DEVICE[src]

0x00 - USB is Device

pub fn device_mut(&self) -> &mut DEVICE[src]

0x00 - USB is Device

Trait Implementations

impl Deref for USB[src]

type Target = RegisterBlock

The resulting type after dereferencing.

impl Send for USB[src]

Auto Trait Implementations

impl !Sync for USB

impl Unpin for USB

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

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

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

The type returned in the event of a conversion error.