C Structs and Callback Macros | Cypress Semiconductor
C Structs and Callback Macros
The code that I have written uses C structs and accesses the struct variables using the arrow operator. When I tried porting this code into Cypress and started debugging, I get stuck in an infinite loop in cm0Start.c . I tried to read up on callback macros but am unsure of how to go about this. Is it possible to use structs without having to go into the callback macro loop or is it better to not use structs? If not, could someone possibly explain the use of callback macros, please?
Thanks in advance.