nxp-pac

Crates

git

Versions

lpc55s69_cm33_core1

Flavors

Usbhsh

Struct Usbhsh 

Source
pub struct Usbhsh { /* private fields */ }
Expand description

USB1 High-speed Host Controller

Implementations§

Source§

impl Usbhsh

Source

pub const unsafe fn from_ptr(ptr: *mut ()) -> Self

Source

pub const fn as_ptr(&self) -> *mut ()

Source

pub const fn caplength_chipid(self) -> Reg<CaplengthChipid, R>

This register contains the offset value towards the start of the operational register space and the version number of the IP block

Source

pub const fn hcsparams(self) -> Reg<Hcsparams, R>

Host Controller Structural Parameters

Source

pub const fn fladj_frindex(self) -> Reg<FladjFrindex, RW>

Frame Length Adjustment

Source

pub const fn atlptd(self) -> Reg<Atlptd, RW>

Memory base address where ATL PTD0 is stored

Source

pub const fn isoptd(self) -> Reg<Isoptd, RW>

Memory base address where ISO PTD0 is stored

Source

pub const fn intptd(self) -> Reg<Intptd, RW>

Memory base address where INT PTD0 is stored

Source

pub const fn datapayload(self) -> Reg<Datapayload, RW>

Memory base address that indicates the start of the data payload buffers

Source

pub const fn usbcmd(self) -> Reg<Usbcmd, RW>

USB Command register

Source

pub const fn usbsts(self) -> Reg<Usbsts, RW>

USB Interrupt Status register

Source

pub const fn usbintr(self) -> Reg<Usbintr, RW>

USB Interrupt Enable register

Source

pub const fn portsc1(self) -> Reg<Portsc1, RW>

Port Status and Control register

Source

pub const fn atlptdd(self) -> Reg<Atlptdd, RW>

Done map for each ATL PTD

Source

pub const fn atlptds(self) -> Reg<Atlptds, RW>

Skip map for each ATL PTD

Source

pub const fn isoptdd(self) -> Reg<Isoptdd, RW>

Done map for each ISO PTD

Source

pub const fn isoptds(self) -> Reg<Isoptds, RW>

Skip map for each ISO PTD

Source

pub const fn intptdd(self) -> Reg<Intptdd, RW>

Done map for each INT PTD

Source

pub const fn intptds(self) -> Reg<Intptds, RW>

Skip map for each INT PTD

Source

pub const fn lastptd(self) -> Reg<Lastptd, RW>

Marks the last PTD in the list for ISO, INT and ATL

Source

pub const fn portmode(self) -> Reg<Portmode, RW>

Controls the port if it is attached to the host block or the device block

Trait Implementations§

Source§

impl Clone for Usbhsh

Source§

fn clone(&self) -> Usbhsh

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 Usbhsh

Source§

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

Source§

impl Eq for Usbhsh

Source§

impl Send for Usbhsh

Source§

impl StructuralPartialEq for Usbhsh

Source§

impl Sync for Usbhsh

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.