stm32g4xx_mc_it.c and stm32g4xx_it.c
Hi, I am using CubeMX generates the application that contains MCSDK, The generated code has both stmg4xx_mc_it.c and stm32g4xx_it.c. I noticed that all the motor control related ISR code are coded in stm32g4xx_mc_it.c and I am confused with 2 issues:
- The generated ISR function prototype can not be found in startup_stm32g474xx.s. I am wondering how the ISR can be referenced in vector table.
- If I need to add more ISRs, where shall I put the ISR functions? Under stm32g4xx_it.c or stm32g4xx_mc_it.c
Your kindly help is greatly appreciated.
