nxp-pac

Crates

git

Versions

mimxrt685s_cm33

Flavors

Usbphy

Struct Usbphy 

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

Universal System Bus Physical Layer

Implementations§

Source§

impl Usbphy

Source

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

Source

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

Source

pub const fn pwd(self) -> Reg<Pwd, RW>

USB PHY Power-Down Register

Source

pub const fn pwd_set(self) -> Reg<PwdSet, RW>

USB PHY Power-Down Register

Source

pub const fn pwd_clr(self) -> Reg<PwdClr, RW>

USB PHY Power-Down Register

Source

pub const fn pwd_tog(self) -> Reg<PwdTog, RW>

USB PHY Power-Down Register

Source

pub const fn tx(self) -> Reg<Tx, RW>

USB PHY Transmitter Control Register

Source

pub const fn tx_set(self) -> Reg<TxSet, RW>

USB PHY Transmitter Control Register

Source

pub const fn tx_clr(self) -> Reg<TxClr, RW>

USB PHY Transmitter Control Register

Source

pub const fn tx_tog(self) -> Reg<TxTog, RW>

USB PHY Transmitter Control Register

Source

pub const fn rx(self) -> Reg<Rx, RW>

USB PHY Receiver Control Register

Source

pub const fn rx_set(self) -> Reg<RxSet, RW>

USB PHY Receiver Control Register

Source

pub const fn rx_clr(self) -> Reg<RxClr, RW>

USB PHY Receiver Control Register

Source

pub const fn rx_tog(self) -> Reg<RxTog, RW>

USB PHY Receiver Control Register

Source

pub const fn ctrl(self) -> Reg<Ctrl, RW>

USB PHY General Control Register

Source

pub const fn ctrl_set(self) -> Reg<CtrlSet, RW>

USB PHY General Control Register

Source

pub const fn ctrl_clr(self) -> Reg<CtrlClr, RW>

USB PHY General Control Register

Source

pub const fn ctrl_tog(self) -> Reg<CtrlTog, RW>

USB PHY General Control Register

Source

pub const fn status(self) -> Reg<Status, RW>

USB PHY Status Register

Source

pub const fn debug0(self) -> Reg<Debug0, RW>

USB PHY Debug Register 0

Source

pub const fn debug0_set(self) -> Reg<Debug0Set, RW>

USB PHY Debug Register 0

Source

pub const fn debug0_clr(self) -> Reg<Debug0Clr, RW>

USB PHY Debug Register 0

Source

pub const fn debug0_tog(self) -> Reg<Debug0Tog, RW>

USB PHY Debug Register 0

Source

pub const fn debug1(self) -> Reg<Debug1, RW>

UTMI Debug Status Register 1

Source

pub const fn debug1_set(self) -> Reg<Debug1Set, RW>

UTMI Debug Status Register 1

Source

pub const fn debug1_clr(self) -> Reg<Debug1Clr, RW>

UTMI Debug Status Register 1

Source

pub const fn debug1_tog(self) -> Reg<Debug1Tog, RW>

UTMI Debug Status Register 1

Source

pub const fn version(self) -> Reg<Version, R>

UTMI RTL Version

Source

pub const fn pll_sic(self) -> Reg<PllSic, RW>

USB PHY PLL Control/Status Register

Source

pub const fn pll_sic_set(self) -> Reg<PllSicSet, RW>

USB PHY PLL Control/Status Register

Source

pub const fn pll_sic_clr(self) -> Reg<PllSicClr, RW>

USB PHY PLL Control/Status Register

Source

pub const fn pll_sic_tog(self) -> Reg<PllSicTog, RW>

USB PHY PLL Control/Status Register

Source

pub const fn usb1_vbus_detect(self) -> Reg<Usb1VbusDetect, RW>

USB PHY VBUS Detect Control Register

Source

pub const fn usb1_vbus_detect_set(self) -> Reg<Usb1VbusDetectSet, RW>

USB PHY VBUS Detect Control Register

Source

pub const fn usb1_vbus_detect_clr(self) -> Reg<Usb1VbusDetectClr, RW>

USB PHY VBUS Detect Control Register

Source

pub const fn usb1_vbus_detect_tog(self) -> Reg<Usb1VbusDetectTog, RW>

USB PHY VBUS Detect Control Register

Source

pub const fn usb1_vbus_det_stat(self) -> Reg<Usb1VbusDetStat, R>

USB PHY VBUS Detector Status Register

Source

pub const fn usb1_chrg_detect(self) -> Reg<Usb1ChrgDetect, RW>

USB PHY Charger Detect Control Register

Source

pub const fn usb1_chrg_detect_set(self) -> Reg<Usb1ChrgDetectSet, RW>

USB PHY Charger Detect Control Register

Source

pub const fn usb1_chrg_detect_clr(self) -> Reg<Usb1ChrgDetectClr, RW>

USB PHY Charger Detect Control Register

Source

pub const fn usb1_chrg_detect_tog(self) -> Reg<Usb1ChrgDetectTog, RW>

USB PHY Charger Detect Control Register

Source

pub const fn usb1_chrg_det_stat(self) -> Reg<Usb1ChrgDetStat, R>

USB PHY Charger Detect Status Register

Source

pub const fn anactrl(self) -> Reg<Anactrl, RW>

USB PHY Analog Control Register

Source

pub const fn anactrl_set(self) -> Reg<AnactrlSet, RW>

USB PHY Analog Control Register

Source

pub const fn anactrl_clr(self) -> Reg<AnactrlClr, RW>

USB PHY Analog Control Register

Source

pub const fn anactrl_tog(self) -> Reg<AnactrlTog, RW>

USB PHY Analog Control Register

Source

pub const fn usb1_loopback(self) -> Reg<Usb1Loopback, RW>

USB PHY Loopback Control/Status Register

Source

pub const fn usb1_loopback_set(self) -> Reg<Usb1LoopbackSet, RW>

USB PHY Loopback Control/Status Register

Source

pub const fn usb1_loopback_clr(self) -> Reg<Usb1LoopbackClr, RW>

USB PHY Loopback Control/Status Register

Source

pub const fn usb1_loopback_tog(self) -> Reg<Usb1LoopbackTog, RW>

USB PHY Loopback Control/Status Register

Source

pub const fn usb1_loopback_hsfscnt(self) -> Reg<Usb1LoopbackHsfscnt, RW>

USB PHY Loopback Packet Number Select Register

Source

pub const fn usb1_loopback_hsfscnt_set(self) -> Reg<Usb1LoopbackHsfscntSet, RW>

USB PHY Loopback Packet Number Select Register

Source

pub const fn usb1_loopback_hsfscnt_clr(self) -> Reg<Usb1LoopbackHsfscntClr, RW>

USB PHY Loopback Packet Number Select Register

Source

pub const fn usb1_loopback_hsfscnt_tog(self) -> Reg<Usb1LoopbackHsfscntTog, RW>

USB PHY Loopback Packet Number Select Register

Source

pub const fn trim_override_en(self) -> Reg<TrimOverrideEn, RW>

USB PHY Trim Override Enable Register

Source

pub const fn trim_override_en_set(self) -> Reg<TrimOverrideEnSet, RW>

USB PHY Trim Override Enable Register

Source

pub const fn trim_override_en_clr(self) -> Reg<TrimOverrideEnClr, RW>

USB PHY Trim Override Enable Register

Source

pub const fn trim_override_en_tog(self) -> Reg<TrimOverrideEnTog, RW>

USB PHY Trim Override Enable Register

Trait Implementations§

Source§

impl Clone for Usbphy

Source§

fn clone(&self) -> Usbphy

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 Usbphy

Source§

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

Source§

impl Eq for Usbphy

Source§

impl Send for Usbphy

Source§

impl StructuralPartialEq for Usbphy

Source§

impl Sync for Usbphy

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.