USB_CTRLR_HW_INFO_DEV_ONLY_REG()#

Description#

Registers a USB Device controller to the platform manager.

Files#

usb_ctrlr.h

Prototype#

USB_CTRLR_HW_INFO_DEV_ONLY_REG(name, dev_ptr)

Arguments#

name

Unique name for the USB device controller. It is recommended to follow the standard "usbX" where X is a digit.

dev_ptr

Pointer to the USB device hardware information structure of type USBD_DEV_CTRLR_HW_INFO.

Returned Value#

None.

Notes / Warnings#

  1. This macro should normally be called from the BSP.