1.5.3.26 PAL_RF_TxConfirm Typedef
C
typedef void (*PAL_RF_TxConfirm)(PAL_RF_PHY_STATUS status, uint64_t timeIni, uint64_t timeEnd);
Summary
Pointer to a RF PAL module transmit confirm callback function.
Description
This data type defines the required function signature for the RF PAL transmit confirm event handling callback function. When PAL_RF_Initialize 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 RF PAL.
Parameters
Param | Description |
---|---|
status | Transmission result (see PAL_RF_PHY_STATUS). |
timeIni | TX time (PPDU start), referred to system 64-bit time counter. |
timeEnd | TX time (PPDU end), referred to system 64-bit time counter. |
Returns
None.
Example
static void _rfTxConfirm(PAL_RF_PHY_STATUS status, uint64_t timeIni, uint64_t timeEnd)
{
// Tx Confirm handling here.
}
PAL_RF_INIT palRfInitData;
SYS_MODULE_OBJ palRfObj;
palRfInitData.rfPhyHandlers.palRfDataIndication = _rfDataIndication;
palRfInitData.rfPhyHandlers.palRfTxConfirm = _rfTxConfirm;
// Initialize the RF PAL module
palRfObj = PAL_RF_Initialize(PAL_RF_PHY_INDEX, (const SYS_MODULE_INIT *) &palRfInitData);
Remarks
None.