7 years, 5 months ago.

about the call of virtual funcion in base class USBHALL

the code in the funcion of USBHAL::usbisr(), line 615 of USBHAL_LPC17.cpp, if ((instance->*(epCallback[num - 2]))()) .... does it will call the virtual funciton in derived class, such as USBMSD、USBAudio...?

Question relating to:

USB device stack device, USB


posted by jerry liu 20 Aug 2014
Be the first to answer this question.