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.
i want to use inline function like in c++ language. how to do in keil c or it's not support? use #define to simulate ?
Thanks for your answer. My point is readable code. for example: switch x { case 1: f1(); case 2: f2(); ..... it's more clear than not using function. but i'm afraid to call too much level, the stack memory overflow. especially in interrupt function. Maybe I should try another programming style.