Question
Differentiation between USB_OTG_HS and USB_OTG_FS in STM32F4xx
Hi,
I am working on USB CDC on STM32F469NI. For USB_OTG_FS and USB_OTG_HS, the auto generated USB handles are
USBD_HandleTypeDef hUsbDeviceFS;
USBD_HandleTypeDef hUsbDeviceHS;
Is there any macro in HAL or while auto generation, that I can get to know which of the USB_OTG_xx is being used, so that I can extern the proper variable into my firmware?
Thanks,
Himanshu
