40 #ifndef COMM_INTERFACE_H_ 41 #define COMM_INTERFACE_H_ 46 #define COMM_INTERFACE_OK 0 113 #endif // COMM_INTERFACE_H_ COMM_GetCapabilities_t * GetCapabilities
int32_t() COMM_GetStatus_t(comm_handle_t *pHandle)
The interface function to get the status of the comm.
int32_t() COMM_Send_t(comm_handle_t *pHandle, void *pData, uint32_t size)
The interface function to send data through the communication interface.
int32_t() COMM_Init_t(comm_handle_t *pHandle, void *pCommInstance, COMM_Event_t event, void *pInitializeData)
The interface function to initialize the communication interface.
struct _comm_interface_ comm_interface_t
int32_t() COMM_Receive_t(comm_handle_t *pHandle, void *pData, uint32_t size)
The interface function to receive data through the communication interface.
int32_t() COMM_Config_t(comm_handle_t *pHandle, void *pConfigData)
The interface function to configure the communication interface.
struct _comm_handle_ comm_handle_t
enum _comm_instance_type_ comm_instance_type_t
COMM_Config_t * Configure
int32_t() COMM_GetCapabilities_t(comm_handle_t *pHandle)
The interface function to get the capability of the communication interface.
struct _comm_control_ comm_control_t
enum _comm_type_ comm_type_t
void(* COMM_Event_t)(uint32_t event)
COMM_GetStatus_t * GetStatus