Other Parts Discussed in Thread: MOTORWARE, DRV8301
hi:
There is a C compiler that I confuse:
In the main.c , there are some "control function" C sentences :
....
CTRL_Handle ctrlHandle;
....
CTRL_Obj *controller_obj; //
CTRL_Obj ctrl; //v1p7 format
.....
controller_obj = (CTRL_Obj *)ctrlHandle;
what is structure about point ? we all know :
typedef struct _CTRL_Obj_
{
....
}CTRL_Obj;
//! \brief Defines the CTRL handle
//!
typedef struct _CTRL_Obj_ *CTRL_Handle;
I don' t understand why do so complicated structure .
My question is : CTRL_Handle, controller_obj;ctrl , what do the purpose they are? what different of them?
Other question is . if motorware 18 had deleted lab20 and lab21?

