pub struct Usbhs { /* private fields */ }Expand description
MCXA5 USB HS controller. One port, eight IN/OUT endpoint pairs. Host/device aliases share addresses; select the interpretation for USBMODE.CM.
Implementations§
Source§impl Usbhs
impl Usbhs
pub const unsafe fn from_ptr(ptr: *mut ()) -> Self
pub const fn as_ptr(&self) -> *mut ()
Sourcepub const fn gptimer0ld(self) -> Reg<Gptimer0ld, RW>
pub const fn gptimer0ld(self) -> Reg<Gptimer0ld, RW>
General Purpose Timer 0 Load.
Sourcepub const fn gptimer0ctrl(self) -> Reg<Gptimer0ctrl, RW>
pub const fn gptimer0ctrl(self) -> Reg<Gptimer0ctrl, RW>
General Purpose Timer 0 Controller.
Sourcepub const fn gptimer1ld(self) -> Reg<Gptimer1ld, RW>
pub const fn gptimer1ld(self) -> Reg<Gptimer1ld, RW>
General Purpose Timer 1 Load.
Sourcepub const fn gptimer1ctrl(self) -> Reg<Gptimer1ctrl, RW>
pub const fn gptimer1ctrl(self) -> Reg<Gptimer1ctrl, RW>
General Purpose Timer 1 Controller.
Sourcepub const fn hciversion(self) -> Reg<Hciversion, R>
pub const fn hciversion(self) -> Reg<Hciversion, R>
Host Controller Interface Version.
Sourcepub const fn dciversion(self) -> Reg<Dciversion, R>
pub const fn dciversion(self) -> Reg<Dciversion, R>
Device Controller Interface Version.
Sourcepub const fn deviceaddr(self) -> Reg<Deviceaddr, RW>
pub const fn deviceaddr(self) -> Reg<Deviceaddr, RW>
Device Address.
Sourcepub const fn periodiclistbase(self) -> Reg<Periodiclistbase, RW>
pub const fn periodiclistbase(self) -> Reg<Periodiclistbase, RW>
Frame List Base Address.
Sourcepub const fn asynclistaddr(self) -> Reg<Asynclistaddr, RW>
pub const fn asynclistaddr(self) -> Reg<Asynclistaddr, RW>
Next Asynchronous Address.
Sourcepub const fn endptlistaddr(self) -> Reg<Endptlistaddr, RW>
pub const fn endptlistaddr(self) -> Reg<Endptlistaddr, RW>
Endpoint List Address.
Sourcepub const fn txfilltuning(self) -> Reg<Txfilltuning, RW>
pub const fn txfilltuning(self) -> Reg<Txfilltuning, RW>
TX FIFO Fill Tuning.
Sourcepub const fn endptnaken(self) -> Reg<Endptnaken, RW>
pub const fn endptnaken(self) -> Reg<Endptnaken, RW>
Endpoint NAK Enable.
Sourcepub const fn configflag(self) -> Reg<Configflag, R>
pub const fn configflag(self) -> Reg<Configflag, R>
Configure Flag.
Sourcepub const fn endptsetupstat(self) -> Reg<Endptsetupstat, RW>
pub const fn endptsetupstat(self) -> Reg<Endptsetupstat, RW>
Endpoint Setup Status.
Sourcepub const fn endptprime(self) -> Reg<Endptprime, RW>
pub const fn endptprime(self) -> Reg<Endptprime, RW>
Endpoint Prime.
Sourcepub const fn endptflush(self) -> Reg<Endptflush, RW>
pub const fn endptflush(self) -> Reg<Endptflush, RW>
Endpoint Flush.
Sourcepub const fn endptcomplete(self) -> Reg<Endptcomplete, RW>
pub const fn endptcomplete(self) -> Reg<Endptcomplete, RW>
Endpoint Complete.
Sourcepub const fn endptctrl0(self) -> Reg<Endptctrl0, RW>
pub const fn endptctrl0(self) -> Reg<Endptctrl0, RW>
Endpoint Control 0.
Trait Implementations§
impl Copy for Usbhs
impl Eq for Usbhs
impl Send for Usbhs
impl StructuralPartialEq for Usbhs
impl Sync for Usbhs
Auto Trait Implementations§
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more