Menu

Object:Protocol_Protocol:Function:Can_Send

SFENCE

Protocol_Protocol_Can_Send

Header:
extern SFENCEAPI enum eSFENCE_Bool SFENCECALL Protocol_Protocol_Can_Send(struct sProtocol_Protocol *ps_protocol, uintptr_t *pu0_send);
Parameters:
Parameter Meaning
ps_protocol pointer of Protocol_Protocol
pu0_send pointer of number for received number of messages which can be sent, can be NULL
Return value:
Value Meaning
eSFENCE_Bool_True, eSFENCE_Bool_Success any message can be sent
eSFENCE_bool_False no message can be sent
eSFENCE_Bool_Fail it means that there was happend some critical error in driver of Protocol_Protocol object.
Description:

Protocol_Protocol_Can_Send function is used for check if you can send message to protocol.


Related

Wiki: Object:Protocol_Protocol