Type Alias rp2040_pac::usbctrl_regs::usb_pwr::W
source · pub type W = W<USB_PWR_SPEC>;
Expand description
Register USB_PWR
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
source§impl W
impl W
sourcepub fn vbus_en(&mut self) -> VBUS_EN_W<'_, USB_PWR_SPEC>
pub fn vbus_en(&mut self) -> VBUS_EN_W<'_, USB_PWR_SPEC>
Bit 0
sourcepub fn vbus_en_override_en(&mut self) -> VBUS_EN_OVERRIDE_EN_W<'_, USB_PWR_SPEC>
pub fn vbus_en_override_en(&mut self) -> VBUS_EN_OVERRIDE_EN_W<'_, USB_PWR_SPEC>
Bit 1
sourcepub fn vbus_detect(&mut self) -> VBUS_DETECT_W<'_, USB_PWR_SPEC>
pub fn vbus_detect(&mut self) -> VBUS_DETECT_W<'_, USB_PWR_SPEC>
Bit 2
sourcepub fn vbus_detect_override_en(
&mut self
) -> VBUS_DETECT_OVERRIDE_EN_W<'_, USB_PWR_SPEC>
pub fn vbus_detect_override_en( &mut self ) -> VBUS_DETECT_OVERRIDE_EN_W<'_, USB_PWR_SPEC>
Bit 3
sourcepub fn overcurr_detect(&mut self) -> OVERCURR_DETECT_W<'_, USB_PWR_SPEC>
pub fn overcurr_detect(&mut self) -> OVERCURR_DETECT_W<'_, USB_PWR_SPEC>
Bit 4
sourcepub fn overcurr_detect_en(&mut self) -> OVERCURR_DETECT_EN_W<'_, USB_PWR_SPEC>
pub fn overcurr_detect_en(&mut self) -> OVERCURR_DETECT_EN_W<'_, USB_PWR_SPEC>
Bit 5