AnsweredAssumed Answered

How to implement HAL_CAN_RxCpltCallback()

Question asked by vu.andy on Jun 23, 2016
Latest reply on Jun 23, 2016 by FTITI.Walid
I am a little confused with this call back function HAL_CAN_RxCpltCallback().  The end users are supposed to implement this function but there is already one in the file: stm32f0xx_hal_can.c.  STM recommends do not modify this function in the file but recommend that you have to implement your own version of the function.  So wouldn't it cause some sort of conflict?  I tried to implement HAL_CAN_RxCpltCallback()
in my main() to test it out but the compiler doesn't complain.  So basically there are two identical functions.  How does the program know which function to call?

Outcomes