[−][src]Struct lpc55s6x_pac::usbhsh::portmode::W
Value to write to the register
Methods
impl W
[src]
pub fn reset_value() -> W
[src]
Reset value of the register
pub unsafe fn bits(&mut self, bits: u32) -> &mut Self
[src]
Writes raw bits to the register
pub fn id0(&mut self) -> _ID0W
[src]
Bit 0 - Port 0 ID pin value.
pub fn id0_en(&mut self) -> _ID0_ENW
[src]
Bit 8 - Port 0 ID pin pull-up enable.
pub fn dev_enable(&mut self) -> _DEV_ENABLEW
[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_PDCOMW
[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_PDCOMW
[src]
Bit 19 - This bit is only used when SW_CTRL_PDCOM is set to 1b.
Auto Trait Implementations
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self