[][src]Struct lpc55s6x_pac::usbhsh::portmode::R

pub struct R { /* fields omitted */ }

Value read from the register

Methods

impl R[src]

pub fn bits(&self) -> u32[src]

Value of the register as raw bits

pub fn id0(&self) -> ID0R[src]

Bit 0 - Port 0 ID pin value.

pub fn id0_en(&self) -> ID0_ENR[src]

Bit 8 - Port 0 ID pin pull-up enable.

pub fn dev_enable(&self) -> DEV_ENABLER[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(&self) -> SW_CTRL_PDCOMR[src]

Bit 18 - This bit indicates if the PHY power-down input is controlled by software or by hardware.

pub fn sw_pdcom(&self) -> SW_PDCOMR[src]

Bit 19 - This bit is only used when SW_CTRL_PDCOM is set to 1b.

Auto Trait Implementations

impl Send for R

impl Sync for R

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T[src]

type Output = T

Should always be Self