Struct lpc55_pac::usbhsh::portmode::W [−][src]
pub struct W(_);
Register PORTMODE
writer
Implementations
impl W
[src]
impl W
[src]pub fn dev_enable(&mut self) -> DEV_ENABLE_W<'_>
[src]
Bit 16 - If this bit is set to one, one of the ports will behave as a USB device.
pub fn sw_ctrl_pdcom(&mut self) -> SW_CTRL_PDCOM_W<'_>
[src]
Bit 18 - This bit indicates if the PHY power-down input is controlled by software or by hardware.
pub fn sw_pdcom(&mut self) -> SW_PDCOM_W<'_>
[src]
Bit 19 - This bit is only used when SW_CTRL_PDCOM is set to 1b.
pub unsafe fn bits(&mut self, bits: u32) -> &mut Self
[src]
Writes raw bits to the register.
Methods from Deref<Target = W<PORTMODE_SPEC>>
Trait Implementations
impl From<W<PORTMODE_SPEC>> for W
[src]
impl From<W<PORTMODE_SPEC>> for W
[src]