Type Alias rp2040_pac::usbctrl_regs::usb_muxing::W

source ·
pub type W = W<USB_MUXING_SPEC>;
Expand description

Register USB_MUXING writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn to_phy(&mut self) -> TO_PHY_W<'_, USB_MUXING_SPEC>

Bit 0

source

pub fn to_extphy(&mut self) -> TO_EXTPHY_W<'_, USB_MUXING_SPEC>

Bit 1

source

pub fn to_digital_pad(&mut self) -> TO_DIGITAL_PAD_W<'_, USB_MUXING_SPEC>

Bit 2

source

pub fn softcon(&mut self) -> SOFTCON_W<'_, USB_MUXING_SPEC>

Bit 3

source

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self

Writes raw bits to the register.

§Safety

Passing incorrect value can cause undefined behaviour. See reference manual