Usbfs

Struct Usbfs 

Source
pub struct Usbfs { /* private fields */ }

Implementations§

Source§

impl Usbfs

Source

pub const fn syscfg(&self) -> &'static Reg<Syscfg_SPEC, RW>

System Configuration Control Register

Source

pub const fn syssts0(&self) -> &'static Reg<Syssts0_SPEC, R>

System Configuration Status Register 0

Source

pub const fn dvstctr0(&self) -> &'static Reg<Dvstctr0_SPEC, RW>

Device State Control Register 0

Source

pub const fn cfifo(&self) -> &'static Reg<Cfifo_SPEC, RW>

CFIFO Port Register

Source

pub const fn cfifol(&self) -> &'static Reg<Cfifol_SPEC, RW>

CFIFO Port Register

Source

pub const fn cfifosel(&self) -> &'static Reg<Cfifosel_SPEC, RW>

CFIFO Port Select Register

Source

pub const fn cfifoctr(&self) -> &'static Reg<Cfifoctr_SPEC, RW>

CFIFO Port Control Register

Source

pub const fn intenb0(&self) -> &'static Reg<Intenb0_SPEC, RW>

Interrupt Enable Register 0

Source

pub const fn brdyenb(&self) -> &'static Reg<Brdyenb_SPEC, RW>

BRDY Interrupt Enable Register

Source

pub const fn nrdyenb(&self) -> &'static Reg<Nrdyenb_SPEC, RW>

NRDY Interrupt Enable Register

Source

pub const fn bempenb(&self) -> &'static Reg<Bempenb_SPEC, RW>

BEMP Interrupt Enable Register

Source

pub const fn sofcfg(&self) -> &'static Reg<Sofcfg_SPEC, RW>

SOF Output Configuration Register

Source

pub const fn intsts0(&self) -> &'static Reg<Intsts0_SPEC, RW>

Interrupt Status Register 0

Source

pub const fn brdysts(&self) -> &'static Reg<Brdysts_SPEC, RW>

BRDY Interrupt Status Register

Source

pub const fn nrdysts(&self) -> &'static Reg<Nrdysts_SPEC, RW>

NRDY Interrupt Status Register

Source

pub const fn bempsts(&self) -> &'static Reg<Bempsts_SPEC, RW>

BEMP Interrupt Status Register

Source

pub const fn frmnum(&self) -> &'static Reg<Frmnum_SPEC, R>

Frame Number Register

Source

pub const fn dvchgr(&self) -> &'static Reg<Dvchgr_SPEC, RW>

Device State Change Register

Source

pub const fn usbaddr(&self) -> &'static Reg<Usbaddr_SPEC, RW>

USB Address Register

Source

pub const fn usbreq(&self) -> &'static Reg<Usbreq_SPEC, R>

USB Request Type Register

Source

pub const fn usbval(&self) -> &'static Reg<Usbval_SPEC, R>

USB Request Value Register

Source

pub const fn usbindx(&self) -> &'static Reg<Usbindx_SPEC, R>

USB Request Index Register

Source

pub const fn usbleng(&self) -> &'static Reg<Usbleng_SPEC, R>

USB Request Length Register

Source

pub const fn dcpcfg(&self) -> &'static Reg<Dcpcfg_SPEC, RW>

DCP Configuration Register

Source

pub const fn dcpmaxp(&self) -> &'static Reg<Dcpmaxp_SPEC, RW>

DCP Maximum Packet Size Register

Source

pub const fn dcpctr(&self) -> &'static Reg<Dcpctr_SPEC, RW>

DCP Control Register

Source

pub const fn pipesel(&self) -> &'static Reg<Pipesel_SPEC, RW>

Pipe Window Select Register

Source

pub const fn pipecfg(&self) -> &'static Reg<Pipecfg_SPEC, RW>

Pipe Configuration Register

Source

pub const fn pipemaxp(&self) -> &'static Reg<Pipemaxp_SPEC, RW>

Pipe Maximum Packet Size Register

Source

pub const fn pipectr( &self, ) -> &'static ClusterRegisterArray<Reg<Pipectr_SPEC, RW>, 2, 0x2>

PIPE%s Control Registers

Source

pub const fn pipe6ctr(&self) -> &'static Reg<Pipectr_SPEC, RW>

Source

pub const fn pipe7ctr(&self) -> &'static Reg<Pipectr_SPEC, RW>

Source

pub const fn pipetre( &self, ) -> &'static ClusterRegisterArray<Reg<Pipetre_SPEC, RW>, 2, 0x4>

PIPE%s Transaction Counter Enable Register

Source

pub const fn pipe4tre(&self) -> &'static Reg<Pipetre_SPEC, RW>

Source

pub const fn pipe5tre(&self) -> &'static Reg<Pipetre_SPEC, RW>

Source

pub const fn pipetrn( &self, ) -> &'static ClusterRegisterArray<Reg<Pipetrn_SPEC, RW>, 2, 0x4>

PIPE%s Transaction Counter Register

Source

pub const fn pipe4trn(&self) -> &'static Reg<Pipetrn_SPEC, RW>

Source

pub const fn pipe5trn(&self) -> &'static Reg<Pipetrn_SPEC, RW>

Source

pub const fn physectrl(&self) -> &'static Reg<Physectrl_SPEC, RW>

PHY Single-ended Receiver Control Register

Source

pub const fn dpusr0r(&self) -> &'static Reg<Dpusr0R_SPEC, RW>

Deep Software Standby USB Transceiver Control/Pin Monitor Register

Source

pub const fn dpusr1r(&self) -> &'static Reg<Dpusr1R_SPEC, RW>

Deep Software Standby USB Suspend/Resume Interrupt Register

Trait Implementations§

Source§

impl Clone for Usbfs

Source§

fn clone(&self) -> Usbfs

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl PartialEq for Usbfs

Source§

fn eq(&self, other: &Usbfs) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for Usbfs

Source§

impl Eq for Usbfs

Source§

impl Send for Usbfs

USB 2.0 Full-Speed Module

Source§

impl StructuralPartialEq for Usbfs

Source§

impl Sync for Usbfs

Auto Trait Implementations§

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> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. 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>,

Source§

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

Source§

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.