14 #ifndef COMM_INTERFACE_H_ 15 #define COMM_INTERFACE_H_ 20 #define COMM_INTERFACE_OK 0 87 #endif // COMM_INTERFACE_H_
void(* COMM_Event_t)(uint32_t event)
int32_t() COMM_Receive_t(comm_handle_t *pHandle, void *pData, uint32_t size)
The interface function to receive data through the communication interface.
COMM_GetCapabilities_t * GetCapabilities
COMM_GetStatus_t * GetStatus
typedef int32_t(DATA_FORMAT_Append_t))(void *pData
The interface function to append the data on the formated stream.
int32_t() COMM_GetCapabilities_t(comm_handle_t *pHandle)
The interface function to get the capability of the communication interface.
struct _comm_interface_ comm_interface_t
int32_t() COMM_GetStatus_t(comm_handle_t *pHandle)
The interface function to get the status of the comm.
struct _comm_handle_ comm_handle_t
int32_t() COMM_Config_t(comm_handle_t *pHandle, void *pConfigData)
The interface function to configure the communication interface.
COMM_Config_t * Configure
enum _comm_instance_type_ comm_instance_type_t
struct _comm_control_ comm_control_t
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.
enum _comm_type_ comm_type_t
int32_t() COMM_Send_t(comm_handle_t *pHandle, void *pData, uint32_t size)
The interface function to send data through the communication interface.