Menu

Object:Protocol_Protocol:Function:Can_Receive

SFENCE

Protocol_Protocol_Can_Receive

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

Protocol_Protocol_Can_Receive function is used for check if you can receive any message from protocol.


Related

Wiki: Object:Protocol_Protocol