Other Parts Discussed in Thread: CONTROLSUITE, C2000WARE, C2000WARE-MOTORCONTROL-SDK, MOTORWARE
Hi community
I am trying to migrate from controlSUITE to C2000ware. However, I have confused with the codding styles! as an example, could evreyone please let me know what does this function do?
static inline uint_least8_t CLARKE_getNumSensors(CLARKE_Handle handle) { CLARKE_Obj *obj = (CLARKE_Obj *)handle; return(obj->numSensors); } // end of CLARKE_getNumSensors() function
It is a part of clarke.h header file of C2000WARE-MOTORCONTROL-SDK.
I have problem with first line of the function body. What does it do?
Regards