Module lpc55_pac::usbphy::ctrl_set[][src]

USB PHY General Control Register

Structs

AUTORESUME_EN_R

Field AUTORESUME_EN reader - Enable the auto resume feature, when set, HW will use 32KHz clock to send Resume to respond to the device remote wakeup(for host mode only)

AUTORESUME_EN_W

Field AUTORESUME_EN writer - Enable the auto resume feature, when set, HW will use 32KHz clock to send Resume to respond to the device remote wakeup(for host mode only)

CLKGATE_R

Field CLKGATE reader - Gate UTMI Clocks

CLKGATE_W

Field CLKGATE writer - Gate UTMI Clocks

CTRL_SET_SPEC

USB PHY General Control Register

DEVPLUGIN_IRQ_R

Field DEVPLUGIN_IRQ reader - Indicates that the device is connected

DEVPLUGIN_IRQ_W

Field DEVPLUGIN_IRQ writer - Indicates that the device is connected

DEVPLUGIN_POLARITY_R

Field DEVPLUGIN_POLARITY reader - Device plugin polarity: For device mode, if this bit is cleared to 0, then it trips the interrupt if the device is plugged in

DEVPLUGIN_POLARITY_W

Field DEVPLUGIN_POLARITY writer - Device plugin polarity: For device mode, if this bit is cleared to 0, then it trips the interrupt if the device is plugged in

ENAUTOCLR_CLKGATE_R

Field ENAUTOCLR_CLKGATE reader - Enables the feature to auto-clear the CLKGATE bit if there is wakeup event while USB is suspended

ENAUTOCLR_CLKGATE_W

Field ENAUTOCLR_CLKGATE writer - Enables the feature to auto-clear the CLKGATE bit if there is wakeup event while USB is suspended

ENAUTOCLR_PHY_PWD_R

Field ENAUTOCLR_PHY_PWD reader - Enables the feature to auto-clear the PWD register bits in PWD if there is wakeup event while USB is suspended

ENAUTOCLR_PHY_PWD_W

Field ENAUTOCLR_PHY_PWD writer - Enables the feature to auto-clear the PWD register bits in PWD if there is wakeup event while USB is suspended

ENAUTOCLR_USBCLKGATE_R

Field ENAUTOCLR_USBCLKGATE reader - Enable auto-clear USB Clock gate: Enables the feature to auto-clear the USB0_CLKGATE/USB1_CLKGATE register bit in HW_DIGCTL_CTRL if there is wake-up event on USB0/USB1 while USB0/USB1 is suspended

ENAUTOCLR_USBCLKGATE_W

Field ENAUTOCLR_USBCLKGATE writer - Enable auto-clear USB Clock gate: Enables the feature to auto-clear the USB0_CLKGATE/USB1_CLKGATE register bit in HW_DIGCTL_CTRL if there is wake-up event on USB0/USB1 while USB0/USB1 is suspended

ENAUTOSET_USBCLKS_R

Field ENAUTOSET_USBCLKS reader - Enable auto-set of USB clocks: Enables the feature to auto-clear the EN_USB_CLKS register bits in HW_CLKCTRL_PLL1CTRL0/HW_CLKCTRL_P LL1CTRL1 if there is wake-up event on USB0/USB1 while USB0/USB1 is suspended

ENAUTOSET_USBCLKS_W

Field ENAUTOSET_USBCLKS writer - Enable auto-set of USB clocks: Enables the feature to auto-clear the EN_USB_CLKS register bits in HW_CLKCTRL_PLL1CTRL0/HW_CLKCTRL_P LL1CTRL1 if there is wake-up event on USB0/USB1 while USB0/USB1 is suspended

ENDEVPLUGINDET_R

Field ENDEVPLUGINDET reader - Enables non-standard resistive plugged-in detection This bit field controls connection of nominal 200kohm resistors to both the USB_DP and USB_DM pins as one method of detecting when a USB cable is attached in device mode

ENDEVPLUGINDET_W

Field ENDEVPLUGINDET writer - Enables non-standard resistive plugged-in detection This bit field controls connection of nominal 200kohm resistors to both the USB_DP and USB_DM pins as one method of detecting when a USB cable is attached in device mode

ENDPDMCHG_WKUP_R

Field ENDPDMCHG_WKUP reader - Enable DP DM change wake-up: Not for customer use

ENDPDMCHG_WKUP_W

Field ENDPDMCHG_WKUP writer - Enable DP DM change wake-up: Not for customer use

ENHOSTDISCONDETECT_R

Field ENHOSTDISCONDETECT reader - For host mode, enables high-speed disconnect detector

ENHOSTDISCONDETECT_W

Field ENHOSTDISCONDETECT writer - For host mode, enables high-speed disconnect detector

ENIRQHOSTDISCON_R

Field ENIRQHOSTDISCON reader - Enable IRQ for Host disconnect: Enables interrupt for detection of disconnection to Device when in high-speed host mode

ENIRQHOSTDISCON_W

Field ENIRQHOSTDISCON writer - Enable IRQ for Host disconnect: Enables interrupt for detection of disconnection to Device when in high-speed host mode

ENIRQRESUMEDETECT_R

Field ENIRQRESUMEDETECT reader - Enable IRQ Resume detect: Enables interrupt for detection of a non-J state on the USB line

ENIRQRESUMEDETECT_W

Field ENIRQRESUMEDETECT writer - Enable IRQ Resume detect: Enables interrupt for detection of a non-J state on the USB line

ENIRQWAKEUP_R

Field ENIRQWAKEUP reader - Enable wake-up IRQ: Enables interrupt for the wake-up events.

ENIRQWAKEUP_W

Field ENIRQWAKEUP writer - Enable wake-up IRQ: Enables interrupt for the wake-up events.

ENUTMILEVEL2_R

Field ENUTMILEVEL2 reader - Enables UTMI+ Level 2 operation for the USB HS PHY

ENUTMILEVEL2_W

Field ENUTMILEVEL2 writer - Enables UTMI+ Level 2 operation for the USB HS PHY

ENUTMILEVEL3_R

Field ENUTMILEVEL3 reader - Enables UTMI+ Level 3 operation for the USB HS PHY

ENUTMILEVEL3_W

Field ENUTMILEVEL3 writer - Enables UTMI+ Level 3 operation for the USB HS PHY

ENVBUSCHG_WKUP_R

Field ENVBUSCHG_WKUP reader - Enable VBUS change wake-up: Enables the feature to wake-up USB if VBUS is toggled when USB is suspended

ENVBUSCHG_WKUP_W

Field ENVBUSCHG_WKUP writer - Enable VBUS change wake-up: Enables the feature to wake-up USB if VBUS is toggled when USB is suspended

HOSTDISCONDETECT_IRQ_R

Field HOSTDISCONDETECT_IRQ reader - Indicates that the device has disconnected in High-Speed mode

HOSTDISCONDETECT_IRQ_W

Field HOSTDISCONDETECT_IRQ writer - Indicates that the device has disconnected in High-Speed mode

HOST_FORCE_LS_SE0_R

Field HOST_FORCE_LS_SE0 reader - Forces the next FS packet that is transmitted to have a EOP with low-speed timing

HOST_FORCE_LS_SE0_W

Field HOST_FORCE_LS_SE0 writer - Forces the next FS packet that is transmitted to have a EOP with low-speed timing

R

Register CTRL_SET reader

RESUMEIRQSTICKY_R

Field RESUMEIRQSTICKY reader - Resume IRQ: Set to 1 will make RESUME_IRQ bit a sticky bit until software clear it

RESUMEIRQSTICKY_W

Field RESUMEIRQSTICKY writer - Resume IRQ: Set to 1 will make RESUME_IRQ bit a sticky bit until software clear it

RESUME_IRQ_R

Field RESUME_IRQ reader - Resume IRQ: Indicates that the host is sending a wake-up after suspend

RESUME_IRQ_W

Field RESUME_IRQ writer - Resume IRQ: Indicates that the host is sending a wake-up after suspend

SFTRST_R

Field SFTRST reader - Writing a 1 to this bit will soft-reset the PWD, TX, RX, and CTRL registers

SFTRST_W

Field SFTRST writer - Writing a 1 to this bit will soft-reset the PWD, TX, RX, and CTRL registers

UTMI_SUSPENDM_R

Field UTMI_SUSPENDM reader - Used by the PHY to indicate a powered-down state

W

Register CTRL_SET writer

WAKEUP_IRQ_R

Field WAKEUP_IRQ reader - Wake-up IRQ: Indicates that there is a wak-eup event

WAKEUP_IRQ_W

Field WAKEUP_IRQ writer - Wake-up IRQ: Indicates that there is a wak-eup event

Enums

ENDEVPLUGINDET_A

Enables non-standard resistive plugged-in detection This bit field controls connection of nominal 200kohm resistors to both the USB_DP and USB_DM pins as one method of detecting when a USB cable is attached in device mode