[][src]Struct atsamd21e18a::USB

pub struct USB { /* fields omitted */ }
[]

Universal Serial Bus

Methods

impl USB[src][]

pub 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

Blanket Implementations

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

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, 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][]