AnsweredAssumed Answered

USBD_Init Arguments

Question asked by Neiro on Dec 14, 2012
Latest reply on Dec 16, 2012 by Neiro
Hello :)

I'm trying to programm a virtual com port with the stm32f4discovery.
In the official document of STM called "STM32F105xx,... USB
On-The-Go host and device library" there are the following arguments for USBD_Init listed:
void USBD_Init
     (USB_OTG_CORE_HANDLE *pdev,
     USB_OTG_CORE_ID_TypeDef coreID,
     USBD_Class_cb_TypeDef *class_cb,
     USBD_Usr_cb_TypeDef *usr_cb)

After searching the net for similar projects than mine i found a lot that are using this function with on parameter more (picked out of


I would be really glad if someone could explaint to me why it's like that!

Thank you a lot and have a nice weekend,