nxp-pac

Crates

git

Versions

lpc55s69_cm33_core0

Flavors

Usbfsh

Struct Usbfsh 

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

USB0 Full-speed Host controller

Implementations§

Source§

impl Usbfsh

Source

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

Source

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

Source

pub const fn hcrevision(self) -> Reg<Hcrevision, R>

BCD representation of the version of the HCI specification that is implemented by the Host Controller (HC)

Source

pub const fn hccontrol(self) -> Reg<Hccontrol, RW>

Defines the operating modes of the HC

Source

pub const fn hccommandstatus(self) -> Reg<Hccommandstatus, RW>

This register is used to receive the commands from the Host Controller Driver (HCD)

Source

pub const fn hcinterruptstatus(self) -> Reg<Hcinterruptstatus, RW>

Indicates the status on various events that cause hardware interrupts by setting the appropriate bits

Source

pub const fn hcinterruptenable(self) -> Reg<Hcinterruptenable, RW>

Controls the bits in the HcInterruptStatus register and indicates which events will generate a hardware interrupt

Source

pub const fn hcinterruptdisable(self) -> Reg<Hcinterruptdisable, RW>

The bits in this register are used to disable corresponding bits in the HCInterruptStatus register and in turn disable that event leading to hardware interrupt

Source

pub const fn hchcca(self) -> Reg<Hchcca, RW>

Contains the physical address of the host controller communication area

Source

pub const fn hcperiodcurrented(self) -> Reg<Hcperiodcurrented, RW>

Contains the physical address of the current isochronous or interrupt endpoint descriptor

Source

pub const fn hccontrolheaded(self) -> Reg<Hccontrolheaded, RW>

Contains the physical address of the first endpoint descriptor of the control list

Source

pub const fn hccontrolcurrented(self) -> Reg<Hccontrolcurrented, RW>

Contains the physical address of the current endpoint descriptor of the control list

Source

pub const fn hcbulkheaded(self) -> Reg<Hcbulkheaded, RW>

Contains the physical address of the first endpoint descriptor of the bulk list

Source

pub const fn hcbulkcurrented(self) -> Reg<Hcbulkcurrented, RW>

Contains the physical address of the current endpoint descriptor of the bulk list

Source

pub const fn hcdonehead(self) -> Reg<Hcdonehead, RW>

Contains the physical address of the last transfer descriptor added to the ‘Done’ queue

Source

pub const fn hcfminterval(self) -> Reg<Hcfminterval, RW>

Defines the bit time interval in a frame and the full speed maximum packet size which would not cause an overrun

Source

pub const fn hcfmremaining(self) -> Reg<Hcfmremaining, RW>

A 14-bit counter showing the bit time remaining in the current frame

Source

pub const fn hcfmnumber(self) -> Reg<Hcfmnumber, RW>

Contains a 16-bit counter and provides the timing reference among events happening in the HC and the HCD

Source

pub const fn hcperiodicstart(self) -> Reg<Hcperiodicstart, RW>

Contains a programmable 14-bit value which determines the earliest time HC should start processing a periodic list

Source

pub const fn hclsthreshold(self) -> Reg<Hclsthreshold, RW>

Contains 11-bit value which is used by the HC to determine whether to commit to transfer a maximum of 8-byte LS packet before EOF

Source

pub const fn hcrhdescriptora(self) -> Reg<Hcrhdescriptora, RW>

First of the two registers which describes the characteristics of the root hub

Source

pub const fn hcrhdescriptorb(self) -> Reg<Hcrhdescriptorb, RW>

Second of the two registers which describes the characteristics of the Root Hub

Source

pub const fn hcrhstatus(self) -> Reg<Hcrhstatus, RW>

This register is divided into two parts

Source

pub const fn hcrhportstatus(self) -> Reg<Hcrhportstatus, RW>

Controls and reports the port events on a per-port basis

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 Usbfsh

Source§

fn clone(&self) -> Usbfsh

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 Usbfsh

Source§

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

Source§

impl Eq for Usbfsh

Source§

impl Send for Usbfsh

Source§

impl StructuralPartialEq for Usbfsh

Source§

impl Sync for Usbfsh

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.