[−][src]Type Definition lpc54606_pac::usbhsh::portmode::W
type W = W<u32, PORTMODE>;
Writer for register PORTMODE
Methods
impl W
[src]
pub fn id0(&mut self) -> ID0_W
[src]
Bit 0 - Port 0 ID pin value.
pub fn id0_en(&mut self) -> ID0_EN_W
[src]
Bit 8 - Port 0 ID pin pull-up enable.
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.