[][src]Type Definition lpc55s6x_pac::usbphy::usb1_chrg_det_stat::R

type R = R<u32, USB1_CHRG_DET_STAT>;

Reader of register USB1_CHRG_DET_STAT

Methods

impl R[src]

pub fn plug_contact(&self) -> PLUG_CONTACT_R[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_DETECTED_R[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_STATE_R[src]

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

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

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

pub fn secdet_dcp(&self) -> SECDET_DCP_R[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