660 #ifndef ti_drivers_rf__include 661 #define ti_drivers_rf__include 670 #include <ti/drivers/dpl/ClockP.h> 671 #include <ti/drivers/dpl/SemaphoreP.h> 674 #include <ti/devices/DeviceFamily.h> 675 #include DeviceFamily_constructPath(driverlib/rf_common_cmd.h) 676 #include DeviceFamily_constructPath(driverlib/rf_prop_cmd.h) 677 #include DeviceFamily_constructPath(driverlib/rf_ble_cmd.h) 690 #define RF_EventCmdDone (1 << 0) 691 #define RF_EventLastCmdDone (1 << 1) 692 #define RF_EventFGCmdDone (1 << 2) 693 #define RF_EventLastFGCmdDone (1 << 3) 694 #define RF_EventTxDone (1 << 4) 695 #define RF_EventTXAck (1 << 5) 696 #define RF_EventTxCtrl (1 << 6) 697 #define RF_EventTxCtrlAck (1 << 7) 698 #define RF_EventTxCtrlAckAck (1 << 8) 699 #define RF_EventTxRetrans (1 << 9) 700 #define RF_EventTxEntryDone (1 << 10) 701 #define RF_EventTxBufferChange (1 << 11) 702 #define RF_EventPaChanged (1 << 14) 703 #define RF_EventRxOk (1 << 16) 704 #define RF_EventRxNOk (1 << 17) 705 #define RF_EventRxIgnored (1 << 18) 706 #define RF_EventRxEmpty (1 << 19) 707 #define RF_EventRxCtrl (1 << 20) 708 #define RF_EventRxCtrlAck (1 << 21) 709 #define RF_EventRxBufFull (1 << 22) 710 #define RF_EventRxEntryDone (1 << 23) 711 #define RF_EventDataWritten (1 << 24) 712 #define RF_EventNDataWritten (1 << 25) 713 #define RF_EventRxAborted (1 << 26) 714 #define RF_EventRxCollisionDetected (1 << 27) 715 #define RF_EventModulesUnlocked (1 << 29) 716 #define RF_EventInternalError (uint32_t)(1 << 31) 717 #define RF_EventMdmSoft 0x0000002000000000 727 #define RF_EventCmdCancelled 0x1000000000000000 728 #define RF_EventCmdAborted 0x2000000000000000 729 #define RF_EventCmdStopped 0x4000000000000000 730 #define RF_EventRatCh 0x0800000000000000 731 #define RF_EventPowerUp 0x0400000000000000 732 #define RF_EventError 0x0200000000000000 733 #define RF_EventCmdPreempted 0x0100000000000000 752 #define RF_CTRL_SET_INACTIVITY_TIMEOUT 0 762 #define RF_CTRL_UPDATE_SETUP_CMD 1 768 #define RF_CTRL_SET_POWERUP_DURATION_MARGIN 2 776 #define RF_CTRL_SET_PHYSWITCHING_DURATION_MARGIN 3 784 #define RF_CTRL_SET_RAT_RTC_ERR_TOL_VAL 4 796 #define RF_CTRL_SET_POWER_MGMT 5 818 #define RF_CTRL_SET_HWI_PRIORITY 6 840 #define RF_CTRL_SET_SWI_PRIORITY 7 850 #define RF_CTRL_SET_AVAILABLE_RAT_CHANNELS_MASK 8 864 #define RF_TxPowerTable_MIN_DBM -128 872 #define RF_TxPowerTable_MAX_DBM 126 879 #define RF_TxPowerTable_INVALID_DBM 127 898 #define RF_TxPowerTable_INVALID_VALUE 0x3fffff 915 #define RF_TxPowerTable_TERMINATION_ENTRY \ 916 { .power = RF_TxPowerTable_INVALID_DBM, .value = { .rawValue = RF_TxPowerTable_INVALID_VALUE, .paType = RF_TxPowerTable_DefaultPA } } 924 #define RF_TxPowerTable_DEFAULT_PA_ENTRY(bias, gain, boost, coefficient) \ 925 { .rawValue = ((bias) << 0) | ((gain) << 6) | ((boost) << 8) | ((coefficient) << 9), .paType = RF_TxPowerTable_DefaultPA } 933 #define RF_TxPowerTable_HIGH_PA_ENTRY(bias, ibboost, boost, coefficient, ldotrim) \ 934 { .rawValue = ((bias) << 0) | ((ibboost) << 6) | ((boost) << 8) | ((coefficient) << 9) | ((ldotrim) << 16), .paType = RF_TxPowerTable_HighPA } 943 #define RF_GET_RSSI_ERROR_VAL (-128) 944 #define RF_CMDHANDLE_FLUSH_ALL (-1) 945 #define RF_ALLOC_ERROR (-2) 946 #define RF_SCHEDULE_CMD_ERROR (-3) 947 #define RF_ERROR_RAT_PROG (-255) 948 #define RF_ERROR_INVALID_RFMODE (-256) 949 #define RF_ERROR_CMDFS_SYNTH_PROG (-257) 951 #define RF_NUM_SCHEDULE_ACCESS_ENTRIES 2 952 #define RF_NUM_SCHEDULE_COMMAND_ENTRIES 8 953 #define RF_NUM_SCHEDULE_MAP_ENTRIES (RF_NUM_SCHEDULE_ACCESS_ENTRIES + RF_NUM_SCHEDULE_COMMAND_ENTRIES) 954 #define RF_SCH_MAP_CURRENT_CMD_OFFSET RF_NUM_SCHEDULE_ACCESS_ENTRIES 955 #define RF_SCH_MAP_PENDING_CMD_OFFSET (RF_SCH_MAP_CURRENT_CMD_OFFSET + 2) 957 #define RF_ABORT_PREEMPTION (1<<2) 958 #define RF_ABORT_GRACEFULLY (1<<0) 960 #define RF_SCH_CMD_EXECUTION_TIME_UNKNOWN 0 962 #define RF_RAT_ANY_CHANNEL (-1) 963 #define RF_RAT_TICKS_PER_US 4 965 #define RF_LODIVIDER_MASK 0x7F 970 #define RF_convertUsToRatTicks(microseconds) \ 971 ((microseconds) * (RF_RAT_TICKS_PER_US)) 976 #define RF_convertMsToRatTicks(milliseconds) \ 977 ((milliseconds) * 1000 * (RF_RAT_TICKS_PER_US)) 982 #define RF_convertRatTicksToUs(ticks) \ 983 ((ticks) / (RF_RAT_TICKS_PER_US)) 988 #define RF_convertRatTicksToMs(ticks) \ 989 ((ticks) / (1000 * (RF_RAT_TICKS_PER_US))) 1004 uint32_t rawValue:22;
1080 void (*cpePatchFxn)(void);
1081 void (*mcePatchFxn)(void);
1082 void (*rfePatchFxn)(void);
1138 rfc_CMD_RADIO_SETUP_t common;
1144 #if (DeviceFamily_PARENT == DeviceFamily_PARENT_CC13X2_CC26X2) 1281 #if defined (RF_SINGLEMODE) 1282 typedef struct RF_ObjectSingleMode
RF_Object;
1284 typedef struct RF_ObjectMultiMode
RF_Object;
1290 struct RF_ObjectSingleMode{
1293 uint32_t nInactivityTimeout;
1296 uint32_t nPowerUpDuration;
1297 bool bMeasurePowerUpDuration;
1299 uint16_t nPowerUpDurationMargin;
1308 SemaphoreP_Struct semSync;
1309 RF_EventMask
volatile eventSync;
1311 RF_EventMask unpendCause;
1319 struct RF_ObjectMultiMode{
1322 uint32_t nInactivityTimeout;
1325 uint32_t nPhySwitchingDuration;
1326 uint32_t nPowerUpDuration;
1327 bool bMeasurePowerUpDuration;
1329 uint16_t nPowerUpDurationMargin;
1332 void* pClientEventCb;
1333 RF_ClientEventMask nClientEventMask;
1334 uint16_t nPhySwitchingDurationMargin;
1341 SemaphoreP_Struct semSync;
1342 RF_EventMask
volatile eventSync;
1344 RF_EventMask unpendCause;
1345 ClockP_Struct clkReqAccess;
1391 RF_Handle pClientList[2];
1392 uint32_t phySwitchingTimeInUs[2];
1440 typedef void (*
RF_Callback)(RF_Handle h, RF_CmdHandle ch, RF_EventMask e);
1455 typedef void (*
RF_RatCallback)(RF_Handle h, RF_RatHandle rh, RF_EventMask e, uint32_t compareCaptureTime);
2016 extern RF_EventMask
RF_pendCmd(RF_Handle h, RF_CmdHandle ch, RF_EventMask bmEvent);
2087 extern RF_Stat
RF_cancelCmd(RF_Handle h, RF_CmdHandle ch, uint8_t mode);
2107 extern RF_Stat
RF_flushCmd(RF_Handle h, RF_CmdHandle ch, uint8_t mode);
2198 extern RF_Op*
RF_getCmdOp(RF_Handle h, RF_CmdHandle cmdHnd);
2343 extern RF_Stat
RF_control(RF_Handle h, int8_t ctrl,
void *args);
RF Hardware attributes.
Definition: RF.h:1549
uint32_t allowDelay
Definition: RF.h:1639
RF_RatCaptureMode captureMode
Configuration of the mode of event to cause a capture event.
Definition: RF.h:1757
RF_CmdHandle ch
Command handle (RF_GET_CURR_CMD).
Definition: RF.h:1388
Command not executed because RF core is powered down.
Definition: RF.h:1111
RF_ScheduleStatus RF_defaultSubmitPolicy(RF_Cmd *pCmdNew, RF_Cmd *pCmdBg, RF_Cmd *pCmdFg, List_List *pPendQueue, List_List *pDoneQueue)
Sorts and adds commands to the RF driver internal command queue.
void(* RF_ClientCallback)(RF_Handle h, RF_ClientEvent event, void *arg)
Handles events related to a driver instance.
Definition: RF.h:1472
RF driver configuration parameters.
Definition: RF.h:1497
rfc_CMD_RADIO_SETUP_PA_t common_pa
Radio setup command for BLE and IEEE modes with High Gain PA.
Definition: RF.h:1145
uint32_t startTime
Start time window in RAT Time for radio access.
Definition: RF.h:1651
RF_Callback volatile pCb
Definition: RF.h:1530
RF_RatCallback callback
Callback function to be invoked upon a capture event (optional).
Definition: RF.h:1766
Use RAT user channel 2.
Definition: RF.h:1665
This file contains snippets to be used in the TI Driver s documentation *******************************************************************************The Display driver is designed abstract to operations &considerations specific to a given output method *******************************************************************************< TABLE >< TR align="center">< TH > Display Driver Interface</TH >< TH > Implementations</TH ></TR >< TR align="center">< TD > ref Display h</TD >< TD > ref DisplayHost h n ref DisplayUart h</TD ></TR ></TABLE > *******************************************************************************< TABLE >< TR align="center">< TH > Display Driver Interface</TH >< TH > Implementations</TH ></TR >< TR align="center">< TD > ref Display h</TD >< TD > ref DisplayDogm1286 h n ref DisplayHost h n ref DisplayExt h n ref DisplayUart h</TD ></TR ></TABLE > *******************************************************************************The NoRTOS framework module is provided to enable use of drivers without an underlying operating system The module provides interfaces used by drivers to perform block register interrupts and more NoRTOS module documentation and usage can be a ref driver_function_table function table
Definition: doxygen_drivers.txt:74
RF_InfoType
Selects the entry of interest in RF_getInfo().
Definition: RF.h:1373
RF_Stat RF_setTxPower(RF_Handle h, RF_TxPowerTable_Value value)
Updates the transmit power configuration of the RF core.
uint16_t nPowerUpDurationMargin
Definition: RF.h:1510
Configure RAT_CHANNEL[x] to interface with RAT_GPO[1].
Definition: RF.h:1740
The RF core has been powered up the radio setup has been finished.
Definition: RF.h:1181
RF_ClientEvent
Client-related RF driver events.
Definition: RF.h:1180
RF_Stat
Status codes for various RF driver functions.
Definition: RF.h:1109
rfc_CMD_PROP_RADIO_SETUP_PA_t prop_pa
Radio setup command for PROPRIETARY mode on 2.4 GHz with High Gain PA.
Definition: RF.h:1147
uint8_t rfMode
Specifies which PHY modes should be activated. Must be set to RF_MODE_MULTIPLE for dual-mode operatio...
Definition: RF.h:1079
RF_Priority priority
Intra client priority.
Definition: RF.h:1638
void(* RF_Callback)(RF_Handle h, RF_CmdHandle ch, RF_EventMask e)
Handles events related to RF command execution.
Definition: RF.h:1440
RF_EventMask RF_pendCmd(RF_Handle h, RF_CmdHandle ch, RF_EventMask bmEvent)
Synchronizes the calling task to an RF operation command ch and returns accumulated event flags...
Configure RAT_CHANNEL[x] to interface with RAT_GPO[7].
Definition: RF.h:1746
RF_ClientEventMask nClientEventMask
Definition: RF.h:1520
Selects the RTC update signal source.
Definition: RF.h:1674
RF_RatCaptureSource
Selects the source signal for RF_ratCapture().
Definition: RF.h:1673
RF schedule map entry structure.
Definition: RF.h:1399
RF_CmdHandle RF_postCmd(RF_Handle h, RF_Op *pOp, RF_Priority ePri, RF_Callback pCb, RF_EventMask bmEvent)
Appends RF operation commands to the driver's command queue and returns a command handle...
Command finished with success.
Definition: RF.h:1116
RF_EventMask RF_runScheduleCmd(RF_Handle h, RF_Op *pOp, RF_ScheduleCmdParams *pSchParams, RF_Callback pCb, RF_EventMask bmEvent)
Runs synchronously a (chain of) RF operation(s) for dual or single-mode.
Configure RAT_CHANNEL[x] to interface with RAT_GPO[2].
Definition: RF.h:1741
uint32_t allowDelay
Definition: RF.h:1538
Command not executed because RF driver is busy.
Definition: RF.h:1110
Highest priority. Only use this for urgent commands.
Definition: RF.h:1096
RF_EventMask rfifg
Definition: RF.h:1535
RF_Stat RF_runImmediateCmd(RF_Handle h, uint32_t *pCmdStruct)
Send any Immediate command.
High-power PA.
Definition: RF.h:1050
void RF_RatConfigCompare_init(RF_RatConfigCompare *channelConfig)
Initialize the configuration structure to be used to set up a RAT compare event.
RF_RatHandle channel
RF_RatHandle identifies the channel to be allocated.
Definition: RF.h:1755
Sets the output high independently of any RAT events.
Definition: RF.h:1727
uint64_t RF_EventMask
Data type for events during command execution.
Definition: RF.h:1125
uint32_t RF_ClientEventMask
Event mask for combining RF_ClientEvent event flags in RF_Params::nClientEventMask.
Definition: RF.h:1240
uint32_t nPowerUpDuration
Definition: RF.h:1501
Command successfully scheduled for execution.
Definition: RF.h:1117
uint8_t swiPriority
Priority for SWIs belong to the RF driver.
Definition: RF.h:1551
Provide the client to client switching times.
Definition: RF.h:1379
RF_TxPowerTable_Value RF_getTxPower(RF_Handle h)
Returns the currently configured transmit power configuration.
void RF_close(RF_Handle h)
Close client connection to RF driver.
Use RAT user channel 0.
Definition: RF.h:1663
Cmd is found in the pool but was already ended.
Definition: RF.h:1114
RF_RatOutputMode
Selects the mode of the RAT_GPO[x] for RF_ratCompare() or RF_ratCapture().
Definition: RF.h:1721
uint8_t volatile flags
Definition: RF.h:1541
rfc_CMD_PROP_RADIO_DIV_SETUP_t prop_div
Radio setup command for PROPRIETARY mode on Sub-1 Ghz.
Definition: RF.h:1142
List_Elem _elem
Definition: RF.h:1529
Use RAT user channel 1.
Definition: RF.h:1664
uint32_t RF_getCurrentTime(void)
Return current radio timer value.
Signals the client that the RF driver is about to switch over from another client.
Definition: RF.h:1186
RF_GlobalEventMask globalEventMask
Event mask which the globalCallback is invoked upon.
Definition: RF.h:1554
Selects the Generic event of Event Fabric as source.
Definition: RF.h:1675
Stores output parameters for RF_getInfo().
Definition: RF.h:1387
RF_Object * RF_Handle
A handle that is returned by to RF_open().
Definition: RF.h:1357
uint32_t RF_GlobalEventMask
Event mask for combining RF_GlobalEvent event flags in RFCC26XX_HWAttrsV2::globalEventMask.
Definition: RF.h:1245
void(* RF_GlobalCallback)(RF_Handle h, RF_GlobalEvent event, void *arg)
Handles global events as part of PHY configuration.
Definition: RF.h:1487
RF_Handle pClient
Pointer to client object.
Definition: RF.h:1401
RF_CmdHandle ch
Definition: RF.h:1539
RF_Priority ePri
Definition: RF.h:1540
Provide the client list.
Definition: RF.h:1378
void(* RF_RatCallback)(RF_Handle h, RF_RatHandle rh, RF_EventMask e, uint32_t compareCaptureTime)
Handles events related to the Radio Timer (RAT).
Definition: RF.h:1455
#define RF_NUM_SCHEDULE_ACCESS_ENTRIES
Number of access request entries.
Definition: RF.h:951
RAT related IO parameter structure.
Definition: RF.h:1776
RF_CmdHandle ch
Command handle.
Definition: RF.h:1400
RF_EventMask RF_runCmd(RF_Handle h, RF_Op *pOp, RF_Priority ePri, RF_Callback pCb, RF_EventMask bmEvent)
Runs synchronously an RF operation command or a chain of commands and returns the termination reason...
int8_t RF_TxPowerTable_findPowerLevel(RF_TxPowerTable_Entry table[], RF_TxPowerTable_Value value)
Retrieves a power level in dBm for a given power configuration value.
Configure RAT_CHANNEL[x] to interface with RAT_GPO[3].
Definition: RF.h:1742
RF_Priority priority
Priority of the command or access request.
Definition: RF.h:1404
rfc_radioOp_t RF_Op
Base type for all radio operation commands.
Definition: RF.h:1067
Default priority. Use this in single-client applications.
Definition: RF.h:1098
RF_ratCapture parameter structure.
Definition: RF.h:1753
int8_t RF_getRssi(RF_Handle h)
Get RSSI value.
bool bRadioState
Current RF core power state (RF_GET_RADIO_STATE).
Definition: RF.h:1390
RF_RatOutputSelect select
The signal which shall be connected to the GPO.
Definition: RF.h:1778
uint32_t endTime
Definition: RF.h:1537
uint32_t duration
Radio access duration in RAT Ticks requested by the client.
Definition: RF.h:1650
RF_RatCaptureSource source
Configuration of the event source to cause a capture event.
Definition: RF.h:1756
void RF_yield(RF_Handle h)
Signal that radio client is not going to issue more commands in a while.
RF_RatCaptureRepetition repeat
Configuration of the channel to be used in single or repeated mode.
Definition: RF.h:1758
void RF_RatConfigOutput_init(RF_RatConfigOutput *ioConfig)
Initialize the configuration structure to be used to set up a RAT IO.
#define RF_NUM_SCHEDULE_COMMAND_ENTRIES
Number of scheduled command entries.
Definition: RF.h:952
uint32_t startTime
Start time (in RAT tick) of the command or access request.
Definition: RF.h:1402
uint32_t endTime
End time in RAT Ticks for the radio command.
Definition: RF.h:1637
Rearm the channel after each capture events.
Definition: RF.h:1704
RF_GlobalCallback globalCallback
Pointer to a callback function serving client independent events listed in RF_GlobalEvent.
Definition: RF.h:1553
Create a bitmask showing available RAT channels.
Definition: RF.h:1375
RF_Stat RF_flushCmd(RF_Handle h, RF_CmdHandle ch, uint8_t mode)
Abort/stop/cancel command and any subsequent commands in command queue.
RF_Stat RF_cancelCmd(RF_Handle h, RF_CmdHandle ch, uint8_t mode)
Abort/stop/cancel single command in command queue.
Configure RAT_CHANNEL[x] to interface with RAT_GPO[4].
Definition: RF.h:1743
RF_Callback pPowerCb
Definition: RF.h:1505
RF_RatCaptureMode
Selects the mode of RF_ratCapture().
Definition: RF.h:1689
int16_t RF_CmdHandle
Command handle that is returned by RF_postCmd().
Definition: RF.h:1259
RF_ClientCallback pClientEventCb
Definition: RF.h:1517
RF_ScheduleStatus
Describes the location within the pend queue where the new command was inserted by the scheduler...
Definition: RF.h:1570
uint16_t availRatCh
Available RAT channels (RF_GET_AVAIL_RAT_CH).
Definition: RF.h:1389
RF_TxPowerTable_PAType
Selects a power amplifier path in a TX power value.
Definition: RF.h:1048
Configure RAT_CHANNEL[x] to interface with RAT_GPO[6].
Definition: RF.h:1745
rfc_CMD_BLE5_RADIO_SETUP_PA_t ble5_pa
Radio setup command for BLE5 mode with High Gain PA.
Definition: RF.h:1146
uint32_t timeout
Definition: RF.h:1768
RF_RatOutputSelect
Selects GPO to be used with RF_ratCompare() or RF_ratCapture().
Definition: RF.h:1739
RF_Op * RF_getCmdOp(RF_Handle h, RF_CmdHandle cmdHnd)
Get command structure pointer.
uint32_t startTime
Definition: RF.h:1536
General error specifier.
Definition: RF.h:1115
RF_Conflict RF_defaultConflictPolicy(RF_Cmd *pCmdBg, RF_Cmd *pCmdFg, List_List *pPendQueue, List_List *pDoneQueue)
Makes a final decision when a conflict in run-time is identified.
uint32_t endTime
End time (in RAT tick) of the command or access request.
Definition: RF.h:1403
int8_t power
Definition: RF.h:1035
RF_ScheduleStatus(* RF_SubmitHook)(RF_Cmd *pCmdNew, RF_Cmd *pCmdBg, RF_Cmd *pCmdFg, List_List *pPendQueue, List_List *pDoneQueue)
Handles the queue sorting algorithm when a new command is submitted to the driver from any of the act...
Definition: RF.h:1598
Free the channel after the first capture event.
Definition: RF.h:1703
Rising edge of the selected source will trigger a capture event.
Definition: RF.h:1690
int8_t RF_RatHandle
RAT handle that is returned by RF_ratCompare() or RF_ratCapture().
Definition: RF.h:1368
RF_RatHandle RF_ratCapture(RF_Handle rfHandle, RF_RatConfigCapture *channelConfig, RF_RatConfigOutput *ioConfig)
Setup a Radio Timer (RAT) channel in capture mode.
RF request access parameter struct.
Definition: RF.h:1649
RF_Stat RF_getInfo(RF_Handle h, RF_InfoType type, RF_InfoVal *pValue)
Get value for some RF driver parameters.
Command finished with an error.
Definition: RF.h:1112
Provide a timetable of all scheduled commands.
Definition: RF.h:1377
RF_Conflict
Controls the behavior of the state machine of the RF driver when a conflict is identified run-time be...
Definition: RF.h:1561
RF_Priority
Scheduling priority of RF operation commands.
Definition: RF.h:1095
RF_RatOutputMode mode
The mode the GPO should operate in.
Definition: RF.h:1777
Function was called with an invalid parameter.
Definition: RF.h:1113
RF_AllowDelay
Controls the behavior of the RF_scheduleCmd() API.
Definition: RF.h:1627
TX power configuration entry in a TX power table.
Definition: RF.h:1033
High priority. Use this for time-critical commands in synchronous protocols.
Definition: RF.h:1097
void RF_RatConfigCapture_init(RF_RatConfigCapture *channelConfig)
Initialize the configuration structure to be used to set up a RAT capture event.
A unified type for radio setup commands of different PHYs.
Definition: RF.h:1136
RF_RatHandle RF_ratCompare(RF_Handle rfHandle, RF_RatConfigCompare *channelConfig, RF_RatConfigOutput *ioConfig)
Setup a Radio Timer (RAT) channel in compare mode.
RF_TxPowerTable_Value value
PA hardware configuration for that power level.
Definition: RF.h:1038
RF_Op * pOp
Definition: RF.h:1531
uint32_t nInactivityTimeout
Definition: RF.h:1498
RF schedule map structure.
Definition: RF.h:1410
RF_ratCompare parameter structure.
Definition: RF.h:1765
RF_EventMask pastifg
Definition: RF.h:1534
RF_TxPowerTable_Value RF_TxPowerTable_findValue(RF_TxPowerTable_Entry table[], int8_t powerLevel)
Retrieves a power configuration value for a given power level in dBm.
Generates a one-clock period width pulse.
Definition: RF.h:1722
RF_SubmitHook submitHook
Function hook implements the scheduling policy to be executed at the time of RF_scheduleCmd API call...
Definition: RF.h:1620
RF_RatSelectChannel
Select the preferred RAT channel through the configuration of RF_ratCompare() or RF_ratCapture().
Definition: RF.h:1661
rfc_CMD_PROP_RADIO_DIV_SETUP_PA_t prop_div_pa
Radio setup command for PROPRIETARY mode on Sub-1 Ghz with High Gain PA.
Definition: RF.h:1148
Sets the output high on a RAT event.
Definition: RF.h:1723
Falling edge of the selected source will trigger a capture event.
Definition: RF.h:1691
Inverts the polarity of the output.
Definition: RF.h:1725
Chose the first available channel.
Definition: RF.h:1662
RF_RatHandle channel
RF_RatHandle identifies the channel to be allocated.
Definition: RF.h:1767
bool xoscHfAlwaysNeeded
Indicate that the XOSC HF should be turned on by the power driver.
Definition: RF.h:1552
RF_Stat RF_requestAccess(RF_Handle h, RF_AccessParams *pParams)
Request radio access.
RF_ConflictHook conflictHook
Function hook implements the runtime conflict resolution, if any identified at the start time of next...
Definition: RF.h:1621
RF_Stat RF_runDirectCmd(RF_Handle h, uint32_t cmd)
Send any Direct command.
void RF_ScheduleCmdParams_init(RF_ScheduleCmdParams *pSchParams)
Initialize the configuration structure to default values to be used with the RF_scheduleCmd() API...
RF_Stat RF_ratDisableChannel(RF_Handle rfHandle, RF_RatHandle ratHandle)
Disable a RAT channel.
RF scheduler policy.
Definition: RF.h:1619
Retrieve a command handle of the current command.
Definition: RF.h:1374
Specifies a RF core firmware configuration.
Definition: RF.h:1078
RF_Object * pClient
Definition: RF.h:1532
rfc_command_t commandId
Definition: RF.h:1137
RF_Handle RF_open(RF_Object *pObj, RF_Mode *pRfMode, RF_RadioSetup *pRadioSetup, RF_Params *params)
Creates a a new client instance of the RF driver.
RF_RatCaptureRepetition
Selects the repetition of RF_ratCapture().
Definition: RF.h:1702
rfc_CMD_PROP_RADIO_SETUP_t prop
Radio setup command for PROPRIETARY mode on 2.4 GHz.
Definition: RF.h:1141
rfc_CMD_BLE5_RADIO_SETUP_t ble5
Radio setup command for BLE5 mode.
Definition: RF.h:1140
PA configuration value for a certain power level.
Definition: RF.h:1003
RF_RatCallback callback
Callback function to be invoked upon a capture event (optional).
Definition: RF.h:1754
Configure RAT_CHANNEL[x] to interface with RAT_GPO[5].
Definition: RF.h:1744
Function finished with success.
Definition: RF.h:1118
RF_Callback pErrCb
Definition: RF.h:1508
Sets the output low on a RAT event.
Definition: RF.h:1724
RF_CmdHandle RF_scheduleCmd(RF_Handle h, RF_Op *pOp, RF_ScheduleCmdParams *pSchParams, RF_Callback pCb, RF_EventMask bmEvent)
Schedule an RF operation (chain) to the command queue.
Sets the output low independently of any RAT events.
Definition: RF.h:1726
RF_GlobalEvent
Global RF driver events.
Definition: RF.h:1226
RF_Stat RF_control(RF_Handle h, int8_t ctrl, void *args)
Set RF control parameters.
uint8_t hwiPriority
Priority for HWIs belong to the RF driver.
Definition: RF.h:1550
uint16_t nPhySwitchingDurationMargin
An additional safety margin to be used to calculate when conflicts shall be evaluated run-time...
Definition: RF.h:1515
void RF_Params_init(RF_Params *params)
Function to initialize the RF_Params struct to its defaults.
RF_EventMask bmEvent
Definition: RF.h:1533
Stores the client's internal configuration and states.
Linked List interface for use in drivers.
Show the current RF core power state. 0: Radio OFF, 1: Radio ON.
Definition: RF.h:1376
RF_Priority priority
Access priority.
Definition: RF.h:1652
void * pScheduleMap
Pointer to scheduling map (RF_GET_SCHEDULE_MAP).
Definition: RF.h:1393
RF_Conflict(* RF_ConflictHook)(RF_Cmd *pCmdBg, RF_Cmd *pCmdFg, List_List *pPendQueue, List_List *pDoneQueue)
Defines the conflict resolution in runtime.
Definition: RF.h:1612
Default PA.
Definition: RF.h:1049