Type Alias rp2040_pac::usbctrl_regs::usb_pwr::R
source · pub type R = R<USB_PWR_SPEC>;
Expand description
Register USB_PWR
reader
Aliased Type§
struct R { /* private fields */ }
Implementations§
source§impl R
impl R
sourcepub fn vbus_en_override_en(&self) -> VBUS_EN_OVERRIDE_EN_R
pub fn vbus_en_override_en(&self) -> VBUS_EN_OVERRIDE_EN_R
Bit 1
sourcepub fn vbus_detect(&self) -> VBUS_DETECT_R
pub fn vbus_detect(&self) -> VBUS_DETECT_R
Bit 2
sourcepub fn vbus_detect_override_en(&self) -> VBUS_DETECT_OVERRIDE_EN_R
pub fn vbus_detect_override_en(&self) -> VBUS_DETECT_OVERRIDE_EN_R
Bit 3
sourcepub fn overcurr_detect(&self) -> OVERCURR_DETECT_R
pub fn overcurr_detect(&self) -> OVERCURR_DETECT_R
Bit 4
sourcepub fn overcurr_detect_en(&self) -> OVERCURR_DETECT_EN_R
pub fn overcurr_detect_en(&self) -> OVERCURR_DETECT_EN_R
Bit 5