Struct atsame70q20b::USBHS

source ·
pub struct USBHS { /* private fields */ }
Expand description

USB High-Speed Interface

Implementations§

source§

impl USBHS

source

pub const PTR: *const RegisterBlock = {0x40038000 as *const usbhs::RegisterBlock}

Pointer to the register block

source

pub const fn ptr() -> *const RegisterBlock

Return the pointer to the register block

Methods from Deref<Target = RegisterBlock>§

source

pub fn deveptisr_intrpt_mode(&self) -> &[DEVEPTISR_INTRPT_MODE; 10]

0x130..0x158 - Device Endpoint Interrupt Status Register

source

pub fn deveptisr_blk_mode(&self) -> &[DEVEPTISR_BLK_MODE; 10]

0x130..0x158 - Device Endpoint Interrupt Status Register

source

pub fn deveptisr_iso_mode(&self) -> &[DEVEPTISR_ISO_MODE; 10]

0x130..0x158 - Device Endpoint Interrupt Status Register

source

pub fn deveptisr_ctrl_mode(&self) -> &[DEVEPTISR_CTRL_MODE; 10]

0x130..0x158 - Device Endpoint Interrupt Status Register

source

pub fn devepticr_intrpt_mode(&self) -> &[DEVEPTICR_INTRPT_MODE; 10]

0x160..0x188 - Device Endpoint Interrupt Clear Register

source

pub fn devepticr_blk_mode(&self) -> &[DEVEPTICR_BLK_MODE; 10]

0x160..0x188 - Device Endpoint Interrupt Clear Register

source

pub fn devepticr_iso_mode(&self) -> &[DEVEPTICR_ISO_MODE; 10]

0x160..0x188 - Device Endpoint Interrupt Clear Register

source

pub fn devepticr_ctrl_mode(&self) -> &[DEVEPTICR_CTRL_MODE; 10]

0x160..0x188 - Device Endpoint Interrupt Clear Register

source

pub fn deveptifr_intrpt_mode(&self) -> &[DEVEPTIFR_INTRPT_MODE; 10]

0x190..0x1b8 - Device Endpoint Interrupt Set Register

source

pub fn deveptifr_blk_mode(&self) -> &[DEVEPTIFR_BLK_MODE; 10]

0x190..0x1b8 - Device Endpoint Interrupt Set Register

source

pub fn deveptifr_iso_mode(&self) -> &[DEVEPTIFR_ISO_MODE; 10]

0x190..0x1b8 - Device Endpoint Interrupt Set Register

source

pub fn deveptifr_ctrl_mode(&self) -> &[DEVEPTIFR_CTRL_MODE; 10]

0x190..0x1b8 - Device Endpoint Interrupt Set Register

source

pub fn deveptimr_intrpt_mode(&self) -> &[DEVEPTIMR_INTRPT_MODE; 10]

0x1c0..0x1e8 - Device Endpoint Interrupt Mask Register

source

pub fn deveptimr_blk_mode(&self) -> &[DEVEPTIMR_BLK_MODE; 10]

0x1c0..0x1e8 - Device Endpoint Interrupt Mask Register

source

pub fn deveptimr_iso_mode(&self) -> &[DEVEPTIMR_ISO_MODE; 10]

0x1c0..0x1e8 - Device Endpoint Interrupt Mask Register

source

pub fn deveptimr_ctrl_mode(&self) -> &[DEVEPTIMR_CTRL_MODE; 10]

0x1c0..0x1e8 - Device Endpoint Interrupt Mask Register

source

pub fn deveptier_intrpt_mode(&self) -> &[DEVEPTIER_INTRPT_MODE; 10]

0x1f0..0x218 - Device Endpoint Interrupt Enable Register

source

pub fn deveptier_blk_mode(&self) -> &[DEVEPTIER_BLK_MODE; 10]

0x1f0..0x218 - Device Endpoint Interrupt Enable Register

source

pub fn deveptier_iso_mode(&self) -> &[DEVEPTIER_ISO_MODE; 10]

0x1f0..0x218 - Device Endpoint Interrupt Enable Register

source

pub fn deveptier_ctrl_mode(&self) -> &[DEVEPTIER_CTRL_MODE; 10]

0x1f0..0x218 - Device Endpoint Interrupt Enable Register

source

pub fn deveptidr_intrpt_mode(&self) -> &[DEVEPTIDR_INTRPT_MODE; 10]

0x220..0x248 - Device Endpoint Interrupt Disable Register

source

pub fn deveptidr_blk_mode(&self) -> &[DEVEPTIDR_BLK_MODE; 10]

0x220..0x248 - Device Endpoint Interrupt Disable Register

source

pub fn deveptidr_iso_mode(&self) -> &[DEVEPTIDR_ISO_MODE; 10]

0x220..0x248 - Device Endpoint Interrupt Disable Register

source

pub fn deveptidr_ctrl_mode(&self) -> &[DEVEPTIDR_CTRL_MODE; 10]

0x220..0x248 - Device Endpoint Interrupt Disable Register

source

pub fn hstpipcfg_ctrl_bulk_mode(&self) -> &[HSTPIPCFG_CTRL_BULK_MODE; 10]

0x500..0x528 - Host Pipe Configuration Register

source

pub fn hstpipcfg(&self) -> &[HSTPIPCFG; 10]

0x500..0x528 - Host Pipe Configuration Register

source

pub fn hstpipisr_intrpt_mode(&self) -> &[HSTPIPISR_INTRPT_MODE; 10]

0x530..0x558 - Host Pipe Status Register

source

pub fn hstpipisr_blk_mode(&self) -> &[HSTPIPISR_BLK_MODE; 10]

0x530..0x558 - Host Pipe Status Register

source

pub fn hstpipisr_iso_mode(&self) -> &[HSTPIPISR_ISO_MODE; 10]

0x530..0x558 - Host Pipe Status Register

source

pub fn hstpipisr_ctrl_mode(&self) -> &[HSTPIPISR_CTRL_MODE; 10]

0x530..0x558 - Host Pipe Status Register

source

pub fn hstpipicr_intrpt_mode(&self) -> &[HSTPIPICR_INTRPT_MODE; 10]

0x560..0x588 - Host Pipe Clear Register

source

pub fn hstpipicr_blk_mode(&self) -> &[HSTPIPICR_BLK_MODE; 10]

0x560..0x588 - Host Pipe Clear Register

source

pub fn hstpipicr_iso_mode(&self) -> &[HSTPIPICR_ISO_MODE; 10]

0x560..0x588 - Host Pipe Clear Register

source

pub fn hstpipicr_ctrl_mode(&self) -> &[HSTPIPICR_CTRL_MODE; 10]

0x560..0x588 - Host Pipe Clear Register

source

pub fn hstpipifr_intrpt_mode(&self) -> &[HSTPIPIFR_INTRPT_MODE; 10]

0x590..0x5b8 - Host Pipe Set Register

source

pub fn hstpipifr_blk_mode(&self) -> &[HSTPIPIFR_BLK_MODE; 10]

0x590..0x5b8 - Host Pipe Set Register

source

pub fn hstpipifr_iso_mode(&self) -> &[HSTPIPIFR_ISO_MODE; 10]

0x590..0x5b8 - Host Pipe Set Register

source

pub fn hstpipifr_ctrl_mode(&self) -> &[HSTPIPIFR_CTRL_MODE; 10]

0x590..0x5b8 - Host Pipe Set Register

source

pub fn hstpipimr_intrpt_mode(&self) -> &[HSTPIPIMR_INTRPT_MODE; 10]

0x5c0..0x5e8 - Host Pipe Mask Register

source

pub fn hstpipimr_blk_mode(&self) -> &[HSTPIPIMR_BLK_MODE; 10]

0x5c0..0x5e8 - Host Pipe Mask Register

source

pub fn hstpipimr_iso_mode(&self) -> &[HSTPIPIMR_ISO_MODE; 10]

0x5c0..0x5e8 - Host Pipe Mask Register

source

pub fn hstpipimr_ctrl_mode(&self) -> &[HSTPIPIMR_CTRL_MODE; 10]

0x5c0..0x5e8 - Host Pipe Mask Register

source

pub fn hstpipier_intrpt_mode(&self) -> &[HSTPIPIER_INTRPT_MODE; 10]

0x5f0..0x618 - Host Pipe Enable Register

source

pub fn hstpipier_blk_mode(&self) -> &[HSTPIPIER_BLK_MODE; 10]

0x5f0..0x618 - Host Pipe Enable Register

source

pub fn hstpipier_iso_mode(&self) -> &[HSTPIPIER_ISO_MODE; 10]

0x5f0..0x618 - Host Pipe Enable Register

source

pub fn hstpipier_ctrl_mode(&self) -> &[HSTPIPIER_CTRL_MODE; 10]

0x5f0..0x618 - Host Pipe Enable Register

source

pub fn hstpipidr_intrpt_mode(&self) -> &[HSTPIPIDR_INTRPT_MODE; 10]

0x620..0x648 - Host Pipe Disable Register

source

pub fn hstpipidr_blk_mode(&self) -> &[HSTPIPIDR_BLK_MODE; 10]

0x620..0x648 - Host Pipe Disable Register

source

pub fn hstpipidr_iso_mode(&self) -> &[HSTPIPIDR_ISO_MODE; 10]

0x620..0x648 - Host Pipe Disable Register

source

pub fn hstpipidr_ctrl_mode(&self) -> &[HSTPIPIDR_CTRL_MODE; 10]

0x620..0x648 - Host Pipe Disable Register

Trait Implementations§

source§

impl Debug for USBHS

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for USBHS

§

type Target = RegisterBlock

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl Send for USBHS

Auto Trait Implementations§

§

impl RefUnwindSafe for USBHS

§

impl !Sync for USBHS

§

impl Unpin for USBHS

§

impl UnwindSafe for USBHS

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

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

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

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

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

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.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.