Can any one tell me whats the meaning and usage /purpose of doing this :
I interpreted it as Circle_API being an array of functionpointer and they being called by an index , here --> MEMS_GET_INFO_ID , whre return value gets type casted to tCircleFunc0 (which is the pointers to function returning u32 data ( so for Mems we will be getting the u32 data - makes sense) which is then type casted to its structure's pointer tMEMS_Info which has all the members required to define a MEMS structure.
Why the functioncallss have been made to depend on the index? or Any other Line of thinking can some one tell me where I can find the $1 array?
Last edited by softy (2013-01-22 08:07:00)