USB_CTRLR_HW_INFO_REG()#

Description#

Registers a USB controller to the platform manager. The USB controller implements both device and host functionalities.

Files#

usb_ctrlr.h

Prototype#

USB_CTRLR_HW_INFO_REG(name, dev_ptr, host_ptr)

Arguments#

name

Unique name for the USB 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.

host_ptr

Pointer to the USB host hardware information structure of type USBH_HC_HW_INFO.

Returned Value#

None.

Notes / Warnings#

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