[][src]Struct lpc55s6x_pac::usbphy::usb1_chrg_det_stat::R

pub struct R { /* fields omitted */ }

Value read from the register

Methods

impl R[src]

pub fn bits(&self) -> u32[src]

Value of the register as raw bits

pub fn plug_contact(&self) -> PLUG_CONTACTR[src]

Bit 0 - Battery Charging Data Contact Detection phase output During the Data Contact Detection phase per the USB Battery Charging Specification Revision 1

pub fn chrg_detected(&self) -> CHRG_DETECTEDR[src]

Bit 1 - Battery Charging Primary Detection phase output During the USB Battery Charging Primary Detection phase using the USBHSDCD module, this bit field indicates whether a Standard Downstream Port or Charging Port was detected

pub fn dm_state(&self) -> DM_STATER[src]

Bit 2 - Single ended receiver output for the USB_DM pin, from charger detection circuits.

pub fn dp_state(&self) -> DP_STATER[src]

Bit 3 - Single ended receiver output for the USB_DP pin, from charger detection circuits.

pub fn secdet_dcp(&self) -> SECDET_DCPR[src]

Bit 4 - Battery Charging Secondary Detection phase output During the USB Battery Charging Secondary Detection phase using the USBHSDCD module, this bit field indicates which kind of Charging Port was detected

Auto Trait Implementations

impl Send for R

impl Sync for R

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T[src]

type Output = T

Should always be Self