[][src]Type Definition lpc54606_pac::usbhsh::portmode::R

type R = R<u32, PORTMODE>;

Reader of register PORTMODE

Methods

impl R[src]

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

Bit 0 - Port 0 ID pin value.

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

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

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

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