USB_CTRLR_HW_INFO_HOST_COMPANION_REG()#

Description#

Registers a USB Host companion controller to the platform manager.

Files#

usb_ctrlr.h

Prototype#

USB_CTRLR_HW_INFO_HOST_COMPANION_REG(name, main_ctrlr_name, host_ptr)

Arguments#

name

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

main_ctrlr_name

The name of the main USB controller for which this controller is a companion.

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.