Usb

Struct Usb 

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

Implementations§

Source§

impl Usb

Source

pub const fn usb_altev_reg(&self) -> &'static Reg<UsbAltevReg_SPEC, RW>

Alternate Event Register

Source

pub const fn usb_altmsk_reg(&self) -> &'static Reg<UsbAltmskReg_SPEC, RW>

Alternate Mask Register

Source

pub const fn usb_charger_ctrl_reg( &self, ) -> &'static Reg<UsbChargerCtrlReg_SPEC, RW>

USB Charger Control Register

Source

pub const fn usb_charger_stat_reg( &self, ) -> &'static Reg<UsbChargerStatReg_SPEC, RW>

USB Charger Status Register

Source

pub const fn usb_dma_ctrl_reg(&self) -> &'static Reg<UsbDmaCtrlReg_SPEC, RW>

USB DMA control register

Source

pub const fn usb_ep0_nak_reg(&self) -> &'static Reg<UsbEp0NakReg_SPEC, RW>

EP0 INNAK and OUTNAK Register

Source

pub const fn usb_epc0_reg(&self) -> &'static Reg<UsbEpc0Reg_SPEC, RW>

Endpoint Control 0 Register

Source

pub const fn usb_epc1_reg(&self) -> &'static Reg<UsbEpc1Reg_SPEC, RW>

Endpoint Control Register 1

Source

pub const fn usb_epc2_reg(&self) -> &'static Reg<UsbEpc2Reg_SPEC, RW>

Endpoint Control Register 2

Source

pub const fn usb_epc3_reg(&self) -> &'static Reg<UsbEpc3Reg_SPEC, RW>

Endpoint Control Register 3

Source

pub const fn usb_epc4_reg(&self) -> &'static Reg<UsbEpc4Reg_SPEC, RW>

Endpoint Control Register 4

Source

pub const fn usb_epc5_reg(&self) -> &'static Reg<UsbEpc5Reg_SPEC, RW>

Endpoint Control Register 5

Source

pub const fn usb_epc6_reg(&self) -> &'static Reg<UsbEpc6Reg_SPEC, RW>

Endpoint Control Register 6

Source

pub const fn usb_far_reg(&self) -> &'static Reg<UsbFarReg_SPEC, RW>

Function Address Register

Source

pub const fn usb_fnh_reg(&self) -> &'static Reg<UsbFnhReg_SPEC, RW>

Frame Number High Byte Register

Source

pub const fn usb_fnl_reg(&self) -> &'static Reg<UsbFnlReg_SPEC, RW>

Frame Number Low Byte Register

Source

pub const fn usb_fwev_reg(&self) -> &'static Reg<UsbFwevReg_SPEC, RW>

FIFO Warning Event Register

Source

pub const fn usb_fwmsk_reg(&self) -> &'static Reg<UsbFwmskReg_SPEC, RW>

FIFO Warning Mask Register

Source

pub const fn usb_maev_reg(&self) -> &'static Reg<UsbMaevReg_SPEC, RW>

Main Event Register

Source

pub const fn usb_mamsk_reg(&self) -> &'static Reg<UsbMamskReg_SPEC, RW>

Main Mask Register

Source

pub const fn usb_mctrl_reg(&self) -> &'static Reg<UsbMctrlReg_SPEC, RW>

Main Control Register)

Source

pub const fn usb_nakev_reg(&self) -> &'static Reg<UsbNakevReg_SPEC, RW>

NAK Event Register

Source

pub const fn usb_nakmsk_reg(&self) -> &'static Reg<UsbNakmskReg_SPEC, RW>

NAK Mask Register

Source

pub const fn usb_nfsr_reg(&self) -> &'static Reg<UsbNfsrReg_SPEC, RW>

Node Functional State Register

Source

pub const fn usb_rxc0_reg(&self) -> &'static Reg<UsbRxc0Reg_SPEC, RW>

Receive Command 0 Register

Source

pub const fn usb_rxc1_reg(&self) -> &'static Reg<UsbRxc1Reg_SPEC, RW>

Receive Command Register 1

Source

pub const fn usb_rxc2_reg(&self) -> &'static Reg<UsbRxc2Reg_SPEC, RW>

Receive Command Register 2

Source

pub const fn usb_rxc3_reg(&self) -> &'static Reg<UsbRxc3Reg_SPEC, RW>

Receive Command Register 3

Source

pub const fn usb_rxd0_reg(&self) -> &'static Reg<UsbRxd0Reg_SPEC, RW>

Receive Data 0 Register

Source

pub const fn usb_rxd1_reg(&self) -> &'static Reg<UsbRxd1Reg_SPEC, RW>

Receive Data Register,1

Source

pub const fn usb_rxd2_reg(&self) -> &'static Reg<UsbRxd2Reg_SPEC, RW>

Receive Data Register 2

Source

pub const fn usb_rxd3_reg(&self) -> &'static Reg<UsbRxd3Reg_SPEC, RW>

Receive Data Register 3

Source

pub const fn usb_rxev_reg(&self) -> &'static Reg<UsbRxevReg_SPEC, RW>

Receive Event Register

Source

pub const fn usb_rxmsk_reg(&self) -> &'static Reg<UsbRxmskReg_SPEC, RW>

Receive Mask Register

Source

pub const fn usb_rxs0_reg(&self) -> &'static Reg<UsbRxs0Reg_SPEC, RW>

Receive Status 0 Register

Source

pub const fn usb_rxs1_reg(&self) -> &'static Reg<UsbRxs1Reg_SPEC, RW>

Receive Status Register 1

Source

pub const fn usb_rxs2_reg(&self) -> &'static Reg<UsbRxs2Reg_SPEC, RW>

Receive Status Register 2

Source

pub const fn usb_rxs3_reg(&self) -> &'static Reg<UsbRxs3Reg_SPEC, RW>

Receive Status Register 3

Source

pub const fn usb_tcr_reg(&self) -> &'static Reg<UsbTcrReg_SPEC, RW>

Transceiver configuration Register

Source

pub const fn usb_txc0_reg(&self) -> &'static Reg<UsbTxc0Reg_SPEC, RW>

Transmit command 0 Register

Source

pub const fn usb_txc1_reg(&self) -> &'static Reg<UsbTxc1Reg_SPEC, RW>

Transmit Command Register 1

Source

pub const fn usb_txc2_reg(&self) -> &'static Reg<UsbTxc2Reg_SPEC, RW>

Transmit Command Register 2

Source

pub const fn usb_txc3_reg(&self) -> &'static Reg<UsbTxc3Reg_SPEC, RW>

Transmit Command Register 3

Source

pub const fn usb_txd0_reg(&self) -> &'static Reg<UsbTxd0Reg_SPEC, RW>

Transmit Data 0 Register

Source

pub const fn usb_txd1_reg(&self) -> &'static Reg<UsbTxd1Reg_SPEC, RW>

Transmit Data Register 1

Source

pub const fn usb_txd2_reg(&self) -> &'static Reg<UsbTxd2Reg_SPEC, RW>

Transmit Data Register 2

Source

pub const fn usb_txd3_reg(&self) -> &'static Reg<UsbTxd3Reg_SPEC, RW>

Transmit Data Register 3

Source

pub const fn usb_txev_reg(&self) -> &'static Reg<UsbTxevReg_SPEC, RW>

Transmit Event Register

Source

pub const fn usb_txmsk_reg(&self) -> &'static Reg<UsbTxmskReg_SPEC, RW>

Transmit Mask Register

Source

pub const fn usb_txs0_reg(&self) -> &'static Reg<UsbTxs0Reg_SPEC, RW>

Transmit Status 0 Register

Source

pub const fn usb_txs1_reg(&self) -> &'static Reg<UsbTxs1Reg_SPEC, RW>

Transmit Status Register 1

Source

pub const fn usb_txs2_reg(&self) -> &'static Reg<UsbTxs2Reg_SPEC, RW>

Transmit Status Register 2

Source

pub const fn usb_txs3_reg(&self) -> &'static Reg<UsbTxs3Reg_SPEC, RW>

Transmit Status Register 3

Source

pub const fn usb_utr_reg(&self) -> &'static Reg<UsbUtrReg_SPEC, RW>

USB test Register (for test purpose only)

Source

pub const fn usb_ux20cdr_reg(&self) -> &'static Reg<UsbUx20CdrReg_SPEC, RW>

Transceiver 2.0 Configuration and Diagnostics Register(for test purpose only)

Source

pub const fn usb_xcvdiag_reg(&self) -> &'static Reg<UsbXcvdiagReg_SPEC, RW>

Transceiver diagnostic Register (for test purpose only)

Trait Implementations§

Source§

impl Clone for Usb

Source§

fn clone(&self) -> Usb

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 Usb

Source§

fn eq(&self, other: &Usb) -> 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 Usb

Source§

impl Eq for Usb

Source§

impl Send for Usb

USB registers

Source§

impl StructuralPartialEq for Usb

Source§

impl Sync for Usb

Auto Trait Implementations§

§

impl Freeze for Usb

§

impl RefUnwindSafe for Usb

§

impl Unpin for Usb

§

impl UnwindSafe for Usb

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.