We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi , I tried to implement call back functions in my program, but unfortunatly it is not working and system is getting restarted as soon as the call is made to the specific function. I have used function pointers as specified in the data sheet. Does call back functions supported by Keil compiler??? Rajesh
Yes, Keil tools support function pointers. Short descriptions like this are almost useless since they do not really describe your problem. You MUST provide a short example that explains your problem when you want to receive answers that help you.
Yes, Keil tools support function pointers. True, but the implementation - dur to the architecture of the '51, no fault of Keil - is AWful. in the '51 function pointers should be avoided. Erik
If you're going to use function pointers, be sure to read all the app notes as well as the manual. You should also understand the compile-time overlay analysis and the purpose of the linker's OVERLAY directive, as function pointers make life difficult for call tree analysis.