1.3.3.14 PAL_RxParamsIndication Typedef
C
typedef void (*PAL_RxParamsIndication)(PAL_RX_PARAMS *pParameters);
Summary
Pointer to a PAL event handler function to get parameters from the last received message.
Description
This data type defines the required function signature for the PAL reception parameters event handling callback function. When PAL_Init is called, a client must register a pointer whose function signature (parameter and return value types) matches the types specified by this function pointer in order to receive transfer related event calls back from the PAL.
Parameters
| Param | Description |
|---|---|
|
pParameters |
Pointer to the parameters of the last received message. See PAL_RX_PARAMS Struct. |
Returns
None.
Example
static PAL_RX_PARAMS rxParameters;
static void _plcRxParamsIndication(PAL_RX_PARAMS *pParameters)
{
memcpy(rxParameters, pParameters, sizeof(PAL_RX_PARAMS));
}
PAL_INIT palInitData;
palInitData.palHandlers.palDataIndication = _plcDataIndication;
palInitData.palHandlers.palTxConfirm = _plcTxConfirm;
palInitData.palHandlers.palRxParamsIndication = _plcRxParamsIndication;
PAL_Init(&palInitData);
Remarks
This handler function is called before the data indication callback.
