nxp-pac

Crates

git

Versions

mcxn947_cm33_core0

Flavors

Usbphy

Struct Usbphy 

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

USBPHY.

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>

Power Down.

Source

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

Power Down.

Source

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

Power Down.

Source

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

Power Down.

Source

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

TX Control.

Source

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

TX Control.

Source

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

TX Control.

Source

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

TX Control.

Source

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

RX Control.

Source

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

RX Control.

Source

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

RX Control.

Source

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

RX Control.

Source

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

General Purpose Control.

Source

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

General Purpose Control.

Source

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

General Purpose Control.

Source

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

General Purpose Control.

Source

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

Status.

Source

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

Debug 0.

Source

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

Debug 0.

Source

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

Debug 0.

Source

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

Debug 0.

Source

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

Version.

Source

pub const fn ip(self) -> Reg<Ip, RW>

IP Block.

Source

pub const fn ip_set(self) -> Reg<IpSet, RW>

IP Block.

Source

pub const fn ip_clr(self) -> Reg<IpClr, RW>

IP Block.

Source

pub const fn ip_tog(self) -> Reg<IpTog, RW>

IP Block.

Source

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

PLL SIC.

Source

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

PLL SIC.

Source

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

PLL SIC.

Source

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

PLL SIC.

Source

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

VBUS Detect.

Source

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

VBUS Detect.

Source

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

VBUS Detect.

Source

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

VBUS Detect.

Source

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

VBUS Detect Status.

Source

pub const fn usb1_vbus_det_stat_set(self) -> Reg<Usb1VbusDetStatSet, R>

VBUS Detect Status.

Source

pub const fn usb1_vbus_det_stat_clr(self) -> Reg<Usb1VbusDetStatClr, R>

VBUS Detect Status.

Source

pub const fn usb1_vbus_det_stat_tog(self) -> Reg<Usb1VbusDetStatTog, R>

VBUS Detect Status.

Source

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

Charger Detect.

Source

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

Charger Detect.

Source

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

Charger Detect.

Source

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

Charger Detect.

Source

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

Charger Detect Status.

Source

pub const fn usb1_chrg_det_stat_set(self) -> Reg<Usb1ChrgDetStatSet, R>

Charger Detect Status.

Source

pub const fn usb1_chrg_det_stat_clr(self) -> Reg<Usb1ChrgDetStatClr, R>

Charger Detect Status.

Source

pub const fn usb1_chrg_det_stat_tog(self) -> Reg<Usb1ChrgDetStatTog, R>

Charger Detect Status.

Source

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

Analog Control.

Source

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

Analog Control.

Source

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

Analog Control.

Source

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

Analog Control.

Source

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

Trim.

Source

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

Trim.

Source

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

Trim.

Source

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

Trim.

Source

pub const fn pfda(self) -> Reg<Pfda, RW>

PFD A.

Source

pub const fn pfda_set(self) -> Reg<PfdaSet, RW>

PFD A.

Source

pub const fn pfda_clr(self) -> Reg<PfdaClr, RW>

PFD A.

Source

pub const fn pfda_tog(self) -> Reg<PfdaTog, RW>

PFD A.

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.