How to access function pointer for driver file
I'm using an x_nucleo_ihm03a1 powerSTEP01 module. I'm trying to understand the library ST has already made (X-CUBE_SPN3). Using ctrl+leftclick in CubeIDE, im tracing function calls to the files they were declared in. In the main.c file of the library i've traced a function called 'BSP_MotorControl_Move()' to the 'x_nucleo_ihmxxx,c' file. The function then uses a handler to call a function pointer:
motorDrvHandle->Move(deviceId, direction, stepCount);Tracing the handler again to its decleration of the function pointer, I find this in a file called 'motor.h' (contains all the functions for the motor driver):
/// Function pointer to Move
void (*Move)(uint8_t, motorDir_t, uint32_t );The problem is I actually cant trace any further with ctrl+left click and so I am unable to understand how this function works at the register level. Does anyone have any guidance as to how I can actually find the origin of the function that this pointer points towards so i can see how the function actually works?