693 #ifndef ti_drivers_rfcc26x2__include 694 #define ti_drivers_rfcc26x2__include 703 #include <ti/drivers/dpl/ClockP.h> 704 #include <ti/drivers/dpl/SemaphoreP.h> 705 #include <ti/drivers/utils/List.h> 707 #include <ti/devices/DeviceFamily.h> 708 #include DeviceFamily_constructPath(driverlib/rf_common_cmd.h) 709 #include DeviceFamily_constructPath(driverlib/rf_prop_cmd.h) 710 #include DeviceFamily_constructPath(driverlib/rf_ble_cmd.h) 723 #define RF_EventCmdDone (1 << 0) 724 #define RF_EventLastCmdDone (1 << 1) 725 #define RF_EventFGCmdDone (1 << 2) 726 #define RF_EventLastFGCmdDone (1 << 3) 727 #define RF_EventTxDone (1 << 4) 728 #define RF_EventTXAck (1 << 5) 729 #define RF_EventTxCtrl (1 << 6) 730 #define RF_EventTxCtrlAck (1 << 7) 731 #define RF_EventTxCtrlAckAck (1 << 8) 732 #define RF_EventTxRetrans (1 << 9) 733 #define RF_EventTxEntryDone (1 << 10) 734 #define RF_EventTxBufferChange (1 << 11) 735 #define RF_EventPaChanged (1 << 14) 736 #define RF_EventSamplesEntryDone (1 << 15) 737 #define RF_EventRxOk (1 << 16) 738 #define RF_EventRxNOk (1 << 17) 739 #define RF_EventRxIgnored (1 << 18) 740 #define RF_EventRxEmpty (1 << 19) 741 #define RF_EventRxCtrl (1 << 20) 742 #define RF_EventRxCtrlAck (1 << 21) 743 #define RF_EventRxBufFull (1 << 22) 744 #define RF_EventRxEntryDone (1 << 23) 745 #define RF_EventDataWritten (1 << 24) 746 #define RF_EventNDataWritten (1 << 25) 747 #define RF_EventRxAborted (1 << 26) 748 #define RF_EventRxCollisionDetected (1 << 27) 749 #define RF_EventModulesUnlocked (1 << 29) 750 #define RF_EventInternalError (uint32_t)(1 << 31) 751 #define RF_EventMdmSoft 0x0000002000000000 761 #define RF_EventCmdCancelled 0x1000000000000000 762 #define RF_EventCmdAborted 0x2000000000000000 763 #define RF_EventCmdStopped 0x4000000000000000 764 #define RF_EventRatCh 0x0800000000000000 765 #define RF_EventPowerUp 0x0400000000000000 766 #define RF_EventError 0x0200000000000000 767 #define RF_EventCmdPreempted 0x0100000000000000 786 #define RF_CTRL_SET_INACTIVITY_TIMEOUT 0 796 #define RF_CTRL_UPDATE_SETUP_CMD 1 802 #define RF_CTRL_SET_POWERUP_DURATION_MARGIN 2 810 #define RF_CTRL_SET_PHYSWITCHING_DURATION_MARGIN 3 818 #define RF_CTRL_SET_RAT_RTC_ERR_TOL_VAL 4 830 #define RF_CTRL_SET_POWER_MGMT 5 852 #define RF_CTRL_SET_HWI_PRIORITY 6 874 #define RF_CTRL_SET_SWI_PRIORITY 7 884 #define RF_CTRL_SET_AVAILABLE_RAT_CHANNELS_MASK 8 899 #define RF_CTRL_COEX_CONTROL 9 913 #define RF_TxPowerTable_MIN_DBM -128 921 #define RF_TxPowerTable_MAX_DBM 126 928 #define RF_TxPowerTable_INVALID_DBM 127 947 #define RF_TxPowerTable_INVALID_VALUE 0x3fffff 964 #define RF_TxPowerTable_TERMINATION_ENTRY \ 965 { .power = RF_TxPowerTable_INVALID_DBM, .value = { .rawValue = RF_TxPowerTable_INVALID_VALUE, .paType = RF_TxPowerTable_DefaultPA } } 973 #define RF_TxPowerTable_DEFAULT_PA_ENTRY(bias, gain, boost, coefficient) \ 974 { .rawValue = ((bias) << 0) | ((gain) << 6) | ((boost) << 8) | ((coefficient) << 9), .paType = RF_TxPowerTable_DefaultPA } 982 #define RF_TxPowerTable_HIGH_PA_ENTRY(bias, ibboost, boost, coefficient, ldotrim) \ 983 { .rawValue = ((bias) << 0) | ((ibboost) << 6) | ((boost) << 8) | ((coefficient) << 9) | ((ldotrim) << 16), .paType = RF_TxPowerTable_HighPA } 992 #define RF_GET_RSSI_ERROR_VAL (-128) 993 #define RF_CMDHANDLE_FLUSH_ALL (-1) 994 #define RF_ALLOC_ERROR (-2) 995 #define RF_SCHEDULE_CMD_ERROR (-3) 996 #define RF_ERROR_RAT_PROG (-255) 997 #define RF_ERROR_INVALID_RFMODE (-256) 998 #define RF_ERROR_CMDFS_SYNTH_PROG (-257) 1000 #define RF_NUM_SCHEDULE_ACCESS_ENTRIES 2 1001 #define RF_NUM_SCHEDULE_COMMAND_ENTRIES 8 1002 #define RF_NUM_SCHEDULE_MAP_ENTRIES (RF_NUM_SCHEDULE_ACCESS_ENTRIES + RF_NUM_SCHEDULE_COMMAND_ENTRIES) 1003 #define RF_SCH_MAP_CURRENT_CMD_OFFSET RF_NUM_SCHEDULE_ACCESS_ENTRIES 1004 #define RF_SCH_MAP_PENDING_CMD_OFFSET (RF_SCH_MAP_CURRENT_CMD_OFFSET + 2) 1006 #define RF_ABORT_PREEMPTION (1<<2) 1007 #define RF_ABORT_GRACEFULLY (1<<0) 1009 #define RF_SCH_CMD_EXECUTION_TIME_UNKNOWN 0 1011 #define RF_RAT_ANY_CHANNEL (-1) 1012 #define RF_RAT_TICKS_PER_US 4 1014 #define RF_LODIVIDER_MASK 0x7F 1023 #define RF_STACK_ID_DEFAULT 0x00000000 1024 #define RF_STACK_ID_154 0x8000F154 1025 #define RF_STACK_ID_BLE 0x8000FB1E 1026 #define RF_STACK_ID_EASYLINK 0x8000FEA2 1027 #define RF_STACK_ID_THREAD 0x8000FEAD 1028 #define RF_STACK_ID_TOF 0x8000F00F 1029 #define RF_STACK_ID_CUSTOM 0x0000FC00 1035 #define RF_convertUsToRatTicks(microseconds) \ 1036 ((microseconds) * (RF_RAT_TICKS_PER_US)) 1041 #define RF_convertMsToRatTicks(milliseconds) \ 1042 ((milliseconds) * 1000 * (RF_RAT_TICKS_PER_US)) 1047 #define RF_convertRatTicksToUs(ticks) \ 1048 ((ticks) / (RF_RAT_TICKS_PER_US)) 1053 #define RF_convertRatTicksToMs(ticks) \ 1054 ((ticks) / (1000 * (RF_RAT_TICKS_PER_US))) 1069 uint32_t rawValue:22;
1145 void (*cpePatchFxn)(void);
1146 void (*mcePatchFxn)(void);
1147 void (*rfePatchFxn)(void);
1445 typedef struct RF_ObjectMultiMode
RF_Object;
1450 struct RF_ObjectMultiMode{
1453 uint32_t nInactivityTimeout;
1456 uint32_t nPhySwitchingDuration;
1457 uint32_t nPowerUpDuration;
1458 uint32_t nPowerUpDurationFs;
1459 bool bMeasurePowerUpDuration;
1461 uint16_t nPowerUpDurationMargin;
1464 void* pClientEventCb;
1465 RF_ClientEventMask nClientEventMask;
1466 uint16_t nPhySwitchingDurationMargin;
1474 SemaphoreP_Struct semSync;
1475 RF_EventMask
volatile eventSync;
1477 RF_EventMask unpendCause;
1478 ClockP_Struct clkReqAccess;
1524 RF_Handle pClientList[2];
1525 uint32_t phySwitchingTimeInUs[2];
1573 typedef void (*
RF_Callback)(RF_Handle h, RF_CmdHandle ch, RF_EventMask e);
1588 typedef void (*
RF_RatCallback)(RF_Handle h, RF_RatHandle rh, RF_EventMask e, uint32_t compareCaptureTime);
2191 extern RF_EventMask
RF_pendCmd(RF_Handle h, RF_CmdHandle ch, RF_EventMask bmEvent);
2262 extern RF_Stat
RF_cancelCmd(RF_Handle h, RF_CmdHandle ch, uint8_t mode);
2282 extern RF_Stat
RF_flushCmd(RF_Handle h, RF_CmdHandle ch, uint8_t mode);
2373 extern RF_Op*
RF_getCmdOp(RF_Handle h, RF_CmdHandle cmdHnd);
2518 extern RF_Stat
RF_control(RF_Handle h, int8_t ctrl,
void *args);
RF Hardware attributes.
Definition: RFCC26X2.h:1708
Definition: RFCC26X2.h:1672
uint32_t allowDelay
Definition: RFCC26X2.h:1803
RF_RatCaptureMode captureMode
Configuration of the mode of event to cause a capture event.
Definition: RFCC26X2.h:1927
Default PA.
Definition: RFCC26X2.h:1114
Generates a one-clock period width pulse.
Definition: RFCC26X2.h:1892
RF_CmdHandle ch
Command handle (RF_GET_CURR_CMD).
Definition: RFCC26X2.h:1521
Definition: RFCC26X2.h:1393
RF_StartType startType
Definition: RFCC26X2.h:1693
Definition: RFCC26X2.h:1389
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...
Highest priority. Only use this for urgent commands.
Definition: RFCC26X2.h:1161
Configure RAT_CHANNEL[x] to interface with RAT_GPO[4].
Definition: RFCC26X2.h:1913
RF driver configuration parameters.
Definition: RFCC26X2.h:1630
rfc_CMD_RADIO_SETUP_PA_t common_pa
Radio setup command for BLE and IEEE modes with High Gain PA.
Definition: RFCC26X2.h:1264
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.
uint32_t startTime
Start time window in RAT Time for radio access.
Definition: RFCC26X2.h:1821
RF_Callback volatile pCb
Definition: RFCC26X2.h:1683
RF_RatCallback callback
Callback function to be invoked upon a capture event (optional).
Definition: RFCC26X2.h:1936
Definition: RFCC26X2.h:1671
#define RF_NUM_SCHEDULE_ACCESS_ENTRIES
Number of access request entries.
Definition: RFCC26X2.h:1000
Use RAT user channel 0.
Definition: RFCC26X2.h:1833
void RF_RatConfigOutput_init(RF_RatConfigOutput *ioConfig)
Initialize the configuration structure to be used to set up a RAT IO.
uint32_t RF_getCurrentTime(void)
Return current radio timer value.
Definition: RFCC26X2.h:1793
Function was called with an invalid parameter.
Definition: RFCC26X2.h:1234
void(* RF_GlobalCallback)(RF_Handle h, RF_GlobalEvent event, void *arg)
Handles global events as part of PHY configuration.
Definition: RFCC26X2.h:1620
uint16_t nPowerUpDurationMargin
Definition: RFCC26X2.h:1643
Definition: RFCC26X2.h:1849
RF_ExecuteHook executeHook
Function hook implements the runtime last second go-no-go execute decision.
Definition: RFCC26X2.h:1785
Frequency Synthesizer Programming Command.
Definition: cc13x2_cc26x2/driverlib/rf_common_cmd.h:237
Create a bitmask showing available RAT channels.
Definition: RFCC26X2.h:1508
int8_t RF_getRssi(RF_Handle h)
Get RSSI value.
rfc_CMD_PROP_RADIO_SETUP_PA_t prop_pa
Radio setup command for PROPRIETARY mode on 2.4 GHz with High Gain PA.
Definition: RFCC26X2.h:1266
uint8_t rfMode
Specifies which PHY modes should be activated. Must be set to RF_MODE_MULTIPLE for dual-mode operatio...
Definition: RFCC26X2.h:1144
void RF_close(RF_Handle h)
Close client connection to RF driver.
Definition: RFCC26X2.h:1377
RF_AllowDelay
Controls the behavior of the RF_scheduleCmd() API.
Definition: RFCC26X2.h:1791
Coexistence override settings for BLE5 application scenarios.
Definition: RFCC26X2.h:1215
Definition: RFCC26X2.h:1792
Command finished with an error.
Definition: RFCC26X2.h:1233
RF_ClientEventMask nClientEventMask
Definition: RFCC26X2.h:1653
RF_EndType endType
Definition: RFCC26X2.h:1696
Free the channel after the first capture event.
Definition: RFCC26X2.h:1873
RF_Stat RF_enableHPOSCTemperatureCompensation(void)
Enables temperature monitoring and temperature based drift compensation.
Configure RAT_CHANNEL[x] to interface with RAT_GPO[5].
Definition: RFCC26X2.h:1914
RF_ScheduleStatus
Describes the location within the pend queue where the new command was inserted by the scheduler...
Definition: RFCC26X2.h:1729
RF schedule map entry structure.
Definition: RFCC26X2.h:1532
RF_ExecuteAction
Controls the behavior of the state machine of the RF driver when a conflict is identified run-time be...
Definition: RFCC26X2.h:1720
Chose the first available channel.
Definition: RFCC26X2.h:1832
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...
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_requestAccess(RF_Handle h, RF_AccessParams *pParams)
Request radio access.
uint32_t allowDelay
Definition: RFCC26X2.h:1694
Cmd is found in the pool but was already ended.
Definition: RFCC26X2.h:1235
Selects the RTC update signal source.
Definition: RFCC26X2.h:1844
Configure RAT_CHANNEL[x] to interface with RAT_GPO[2].
Definition: RFCC26X2.h:1911
RF_EventMask rfifg
Definition: RFCC26X2.h:1688
Definition: RFCC26X2.h:1681
Definition: RFCC26X2.h:1673
RF_RatHandle channel
RF_RatHandle identifies the channel to be allocated.
Definition: RFCC26X2.h:1925
RF_PriorityCoex priority
Priority level for coexistence priority signal.
Definition: RFCC26X2.h:1205
Low priority. Override default value configured by setup command.
Definition: RFCC26X2.h:1178
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.
uint32_t nPowerUpDuration
Definition: RFCC26X2.h:1634
Retrieve a command handle of the current command.
Definition: RFCC26X2.h:1507
High priority. Override default value configured by setup command.
Definition: RFCC26X2.h:1179
Execute if no conflict, let current command finish if conflict.
Definition: RFCC26X2.h:1722
uint8_t swiPriority
Priority for SWIs belong to the RF driver.
Definition: RFCC26X2.h:1710
RF_ExecuteAction(* RF_ExecuteHook)(RF_Cmd *pCmdBg, RF_Cmd *pCmdFg, List_List *pPendQueue, List_List *pDoneQueue, bool bConflict, RF_Cmd *conflictCmd)
Defines the execution and conflict resolution hook at runtime.
Definition: RFCC26X2.h:1776
Rising edge of the selected source will trigger a capture event.
Definition: RFCC26X2.h:1860
RF_Stat RF_setTxPower(RF_Handle h, RF_TxPowerTable_Value value)
Updates the transmit power configuration of the RF core.
Definition: RFCC26X2.h:1369
uint8_t volatile flags
Definition: RFCC26X2.h:1691
uint32_t duration
Duration in RAT Ticks for the radio command.
Definition: RFCC26X2.h:1809
rfc_CMD_PROP_RADIO_DIV_SETUP_t prop_div
Radio setup command for PROPRIETARY mode on Sub-1 Ghz.
Definition: RFCC26X2.h:1263
List_Elem _elem
Definition: RFCC26X2.h:1682
RF_GlobalEventMask globalEventMask
Event mask which the globalCallback is invoked upon.
Definition: RFCC26X2.h:1713
RF_RatOutputSelect
Selects GPO to be used with RF_ratCompare() or RF_ratCapture().
Definition: RFCC26X2.h:1909
RF_Op * RF_getCmdOp(RF_Handle h, RF_CmdHandle cmdHnd)
Get command structure pointer.
Stores output parameters for RF_getInfo().
Definition: RFCC26X2.h:1520
RF_Handle pClient
Pointer to client object.
Definition: RFCC26X2.h:1534
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...
RF_RatHandle RF_ratCapture(RF_Handle rfHandle, RF_RatConfigCapture *channelConfig, RF_RatConfigOutput *ioConfig)
Setup a Radio Timer (RAT) channel in capture mode.
Default priority. Use this in single-client applications.
Definition: RFCC26X2.h:1163
RF_CmdHandle ch
Definition: RFCC26X2.h:1689
Provide the client list.
Definition: RFCC26X2.h:1511
RF_Priority ePri
Definition: RFCC26X2.h:1690
RF_EndType endType
End type for the end time.
Definition: RFCC26X2.h:1808
RF_CoexOverride bleObserver
Definition: RFCC26X2.h:1219
Definition: cc13x2_cc26x2/driverlib/rf_common_cmd.h:112
RF_RatOutputMode
Selects the mode of the RAT_GPO[x] for RF_ratCompare() or RF_ratCapture().
Definition: RFCC26X2.h:1891
RAT related IO parameter structure.
Definition: RFCC26X2.h:1946
High-power PA.
Definition: RFCC26X2.h:1115
RF_CmdHandle ch
Command handle.
Definition: RFCC26X2.h:1533
Inverts the polarity of the output.
Definition: RFCC26X2.h:1895
RF_RequestCoex request
Behavior for coexistence request signal.
Definition: RFCC26X2.h:1206
RF_InfoType
Selects the entry of interest in RF_getInfo().
Definition: RFCC26X2.h:1506
uint32_t startTime
Start time in RAT Ticks for the radio command.
Definition: RFCC26X2.h:1801
RF_Priority priority
Priority of the command or access request.
Definition: RFCC26X2.h:1537
Definition: RFCC26X2.h:1300
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_StartType
Controls the behavior of the RF_scheduleCmd() API.
Definition: RFCC26X2.h:1662
void RF_RatConfigCompare_init(RF_RatConfigCompare *channelConfig)
Initialize the configuration structure to be used to set up a RAT compare event.
Definition: RFCC26X2.h:1734
RF_ratCapture parameter structure.
Definition: RFCC26X2.h:1923
Definition: cc13x2_cc26x2/driverlib/rf_prop_cmd.h:902
Runtime coexistence override parameters.
Definition: RFCC26X2.h:1204
Falling edge of the selected source will trigger a capture event.
Definition: RFCC26X2.h:1861
bool bRadioState
Current RF core power state (RF_GET_RADIO_STATE).
Definition: RFCC26X2.h:1523
RF_RatCaptureMode
Selects the mode of RF_ratCapture().
Definition: RFCC26X2.h:1859
RF_RatOutputSelect select
The signal which shall be connected to the GPO.
Definition: RFCC26X2.h:1948
RF_EndType
Controls the behavior of the RF_scheduleCmd() API.
Definition: RFCC26X2.h:1670
void(* RF_Callback)(RF_Handle h, RF_CmdHandle ch, RF_EventMask e)
Handles events related to RF command execution.
Definition: RFCC26X2.h:1573
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.
Proprietary Mode Radio Setup Command for 2.4 GHz.
Definition: cc13x2_cc26x2/driverlib/rf_prop_cmd.h:455
#define RF_NUM_SCHEDULE_COMMAND_ENTRIES
Number of scheduled command entries.
Definition: RFCC26X2.h:1001
Definition: cc13x2_cc26x2/driverlib/rf_common_cmd.h:681
uint32_t endTime
Definition: RFCC26X2.h:1695
uint32_t activityInfo
Activity info provided by user.
Definition: RFCC26X2.h:1810
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.
uint32_t duration
Radio access duration in RAT Ticks requested by the client.
Definition: RFCC26X2.h:1820
Command successfully scheduled for execution.
Definition: RFCC26X2.h:1238
RF_RatCaptureSource source
Configuration of the event source to cause a capture event.
Definition: RFCC26X2.h:1926
Configure RAT_CHANNEL[x] to interface with RAT_GPO[6].
Definition: RFCC26X2.h:1915
Radio Setup Command for Pre-Defined Schemes.
Definition: cc13x2_cc26x2/driverlib/rf_common_cmd.h:176
RF_RatCaptureRepetition repeat
Configuration of the channel to be used in single or repeated mode.
Definition: RFCC26X2.h:1928
Proprietary Mode Radio Setup Command for All Frequency Bands.
Definition: cc13x2_cc26x2/driverlib/rf_prop_cmd.h:561
Command not executed because RF core is powered down.
Definition: RFCC26X2.h:1232
uint32_t startTime
Start time (in RAT tick) of the command or access request.
Definition: RFCC26X2.h:1535
Do not assert REQUEST in RX. Override default value configured by setup command.
Definition: RFCC26X2.h:1195
RF_GlobalCallback globalCallback
Pointer to a callback function serving client independent events listed in RF_GlobalEvent.
Definition: RFCC26X2.h:1712
RF_TxPowerTable_PAType
Selects a power amplifier path in a TX power value.
Definition: RFCC26X2.h:1113
RF_RequestCoex coexRequest
REQUEST line behavior to use for coexistence request.
Definition: RFCC26X2.h:1812
RF_CoexOverride bleBroadcaster
Definition: RFCC26X2.h:1218
RF_Stat RF_control(RF_Handle h, int8_t ctrl, void *args)
Set RF control parameters.
Definition: RFCC26X2.h:1663
Selects the Generic event of Event Fabric as source.
Definition: RFCC26X2.h:1845
void RF_yield(RF_Handle h)
Signal that radio client is not going to issue more commands in a while.
Definition: RFCC26X2.h:1800
Definition: RFCC26X2.h:1731
Definition: RFCC26X2.h:1733
The RF core has been powered up the radio setup has been finished.
Definition: RFCC26X2.h:1299
void(* RF_ClientCallback)(RF_Handle h, RF_ClientEvent event, void *arg)
Handles events related to a driver instance.
Definition: RFCC26X2.h:1605
Deprecated. Not supported.
Definition: RFCC26X2.h:1510
Signals the client that the RF driver is about to switch over from another client.
Definition: RFCC26X2.h:1304
RF_PriorityCoex coexPriority
Priority to use for coexistence request.
Definition: RFCC26X2.h:1811
RF_Callback pPowerCb
Definition: RFCC26X2.h:1638
RF_StartType startType
Start type for the start time.
Definition: RFCC26X2.h:1802
RF_Stat RF_getInfo(RF_Handle h, RF_InfoType type, RF_InfoVal *pValue)
Get value for some RF driver parameters.
rfc_radioOp_t RF_Op
Base type for all radio operation commands.
Definition: RFCC26X2.h:1132
High priority. Use this for time-critical commands in synchronous protocols.
Definition: RFCC26X2.h:1162
int16_t RF_CmdHandle
Command handle that is returned by RF_postCmd().
Definition: RFCC26X2.h:1423
General error specifier.
Definition: RFCC26X2.h:1236
Definition: RFCC26X2.h:1736
RF_ClientCallback pClientEventCb
Definition: RFCC26X2.h:1650
void RF_RatConfigCapture_init(RF_RatConfigCapture *channelConfig)
Initialize the configuration structure to be used to set up a RAT capture event.
RF_Stat RF_runDirectCmd(RF_Handle h, uint32_t cmd)
Send any Direct command.
Definition: RFCC26X2.h:1385
uint16_t availRatCh
Available RAT channels (RF_GET_AVAIL_RAT_CH).
Definition: RFCC26X2.h:1522
RF_GlobalEvent
Global RF driver events.
Definition: RFCC26X2.h:1368
RF_Object * RF_Handle
A handle that is returned by to RF_open().
Definition: RFCC26X2.h:1490
rfc_CMD_BLE5_RADIO_SETUP_PA_t ble5_pa
Radio setup command for BLE5 mode with High Gain PA.
Definition: RFCC26X2.h:1265
RF_Priority
Scheduling priority of RF operation commands.
Definition: RFCC26X2.h:1160
RF_PriorityCoex coexPriority
Definition: RFCC26X2.h:1699
Definition: RFCC26X2.h:1674
RF_Stat
Status codes for various RF driver functions.
Definition: RFCC26X2.h:1230
Definition: cc13x2_cc26x2/driverlib/rf_ble_cmd.h:1644
Definition: RFCC26X2.h:1732
RF_Stat RF_cancelCmd(RF_Handle h, RF_CmdHandle ch, uint8_t mode)
Abort/stop/cancel single command in command queue.
Definition: RFCC26X2.h:1846
uint32_t timeout
Definition: RFCC26X2.h:1938
Definition: RFCC26X2.h:1381
uint32_t startTime
Definition: RFCC26X2.h:1692
uint32_t endTime
End time (in RAT tick) of the command or access request.
Definition: RFCC26X2.h:1536
Definition: cc13x2_cc26x2/driverlib/rf_prop_cmd.h:1013
Use RAT user channel 1.
Definition: RFCC26X2.h:1834
RF_RatCaptureRepetition
Selects the repetition of RF_ratCapture().
Definition: RFCC26X2.h:1872
int8_t power
Definition: RFCC26X2.h:1100
RF_ClientEvent
Client-related RF driver events.
Definition: RFCC26X2.h:1298
RF_RatCaptureSource
Selects the source signal for RF_ratCapture().
Definition: RFCC26X2.h:1843
Provide the client to client switching times.
Definition: RFCC26X2.h:1512
RF request access parameter struct.
Definition: RFCC26X2.h:1819
Bluetooth 5 Radio Setup Command for all PHYs.
Definition: cc13x2_cc26x2/driverlib/rf_ble_cmd.h:706
int8_t RF_RatHandle
RAT handle that is returned by RF_ratCompare() or RF_ratCapture().
Definition: RFCC26X2.h:1501
Use RAT user channel 2.
Definition: RFCC26X2.h:1835
RF_RatOutputMode mode
The mode the GPO should operate in.
Definition: RFCC26X2.h:1947
RF_CoexOverride bleConnected
Definition: RFCC26X2.h:1217
Default priority. Use value configured by setup command.
Definition: RFCC26X2.h:1177
uint32_t RF_ClientEventMask
Event mask for combining RF_ClientEvent event flags in RF_Params::nClientEventMask.
Definition: RFCC26X2.h:1404
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[7].
Definition: RFCC26X2.h:1916
Definition: RFCC26X2.h:1373
Sets the output low independently of any RAT events.
Definition: RFCC26X2.h:1896
TX power configuration entry in a TX power table.
Definition: RFCC26X2.h:1098
Sets the output high independently of any RAT events.
Definition: RFCC26X2.h:1897
uint32_t activityInfo
Definition: RFCC26X2.h:1698
RF_Stat RF_runImmediateCmd(RF_Handle h, uint32_t *pCmdStruct)
Send any Immediate command.
A unified type for radio setup commands of different PHYs.
Definition: RFCC26X2.h:1257
void(* RF_RatCallback)(RF_Handle h, RF_RatHandle rh, RF_EventMask e, uint32_t compareCaptureTime)
Handles events related to the Radio Timer (RAT).
Definition: RFCC26X2.h:1588
RF_TxPowerTable_Value value
PA hardware configuration for that power level.
Definition: RFCC26X2.h:1103
RF_Op * pOp
Definition: RFCC26X2.h:1684
uint32_t nInactivityTimeout
Definition: RFCC26X2.h:1631
Abort the incoming command, letting the ongoing command finish.
Definition: RFCC26X2.h:1723
RF schedule map structure.
Definition: RFCC26X2.h:1543
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: RFCC26X2.h:1757
RF_ratCompare parameter structure.
Definition: RFCC26X2.h:1935
RF_EventMask pastifg
Definition: RFCC26X2.h:1687
RF_SubmitHook submitHook
Function hook implements the scheduling policy to be executed at the time of RF_scheduleCmd API call...
Definition: RFCC26X2.h:1784
Sets the output low on a RAT event.
Definition: RFCC26X2.h:1894
uint32_t duration
Definition: RFCC26X2.h:1697
Configure RAT_CHANNEL[x] to interface with RAT_GPO[3].
Definition: RFCC26X2.h:1912
RF_CoexOverride bleInitiator
Definition: RFCC26X2.h:1216
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: RFCC26X2.h:1267
Assert REQUEST in RX. Override default value configured by setup command.
Definition: RFCC26X2.h:1194
RF_RequestCoex
Behavior for coexistence request signal.
Definition: RFCC26X2.h:1192
Command finished with success.
Definition: RFCC26X2.h:1237
Function finished with success.
Definition: RFCC26X2.h:1239
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.
Definition: RFCC26X2.h:1862
RF_RatHandle RF_ratCompare(RF_Handle rfHandle, RF_RatConfigCompare *channelConfig, RF_RatConfigOutput *ioConfig)
Setup a Radio Timer (RAT) channel in compare mode.
RF_RatHandle channel
RF_RatHandle identifies the channel to be allocated.
Definition: RFCC26X2.h:1937
Abort the ongoing command and run dispatcher again.
Definition: RFCC26X2.h:1724
bool xoscHfAlwaysNeeded
Indicate that the XOSC HF should be turned on by the power driver.
Definition: RFCC26X2.h:1711
Rearm the channel after each capture events.
Definition: RFCC26X2.h:1874
Sets the output high on a RAT event.
Definition: RFCC26X2.h:1893
Configure RAT_CHANNEL[x] to interface with RAT_GPO[1].
Definition: RFCC26X2.h:1910
Show the current RF core power state. 0: Radio OFF, 1: Radio ON.
Definition: RFCC26X2.h:1509
RF_ExecuteAction RF_defaultExecutionPolicy(RF_Cmd *pCmdBg, RF_Cmd *pCmdFg, List_List *pPendQueue, List_List *pDoneQueue, bool bConflict, RF_Cmd *conflictCmd)
Makes a final decision before dispatching a scheduled command.
RF_RequestCoex coexRequest
Definition: RFCC26X2.h:1700
RF_RatSelectChannel
Select the preferred RAT channel through the configuration of RF_ratCompare() or RF_ratCapture().
Definition: RFCC26X2.h:1831
RF scheduler policy.
Definition: RFCC26X2.h:1783
void RF_Params_init(RF_Params *params)
Function to initialize the RF_Params struct to its defaults.
Definition: cc13x2_cc26x2/driverlib/rf_common_cmd.h:122
Specifies a RF core firmware configuration.
Definition: RFCC26X2.h:1143
uint32_t nID
RF handle identifier.
Definition: RFCC26X2.h:1656
RF_Object * pClient
Definition: RFCC26X2.h:1685
rfc_command_t commandId
Definition: RFCC26X2.h:1258
Definition: RFCC26X2.h:1735
rfc_CMD_PROP_RADIO_SETUP_t prop
Radio setup command for PROPRIETARY mode on 2.4 GHz.
Definition: RFCC26X2.h:1262
rfc_CMD_BLE5_RADIO_SETUP_t ble5
Radio setup command for BLE5 mode.
Definition: RFCC26X2.h:1261
PA configuration value for a certain power level.
Definition: RFCC26X2.h:1068
RF_RatCallback callback
Callback function to be invoked upon a capture event (optional).
Definition: RFCC26X2.h:1924
Definition: RFCC26X2.h:1664
Command not executed because RF driver is busy.
Definition: RFCC26X2.h:1231
RF_Stat RF_ratDisableChannel(RF_Handle rfHandle, RF_RatHandle ratHandle)
Disable a RAT channel.
RF_Callback pErrCb
Definition: RFCC26X2.h:1641
uint8_t hwiPriority
Priority for HWIs belong to the RF driver.
Definition: RFCC26X2.h:1709
RF_TxPowerTable_Value RF_getTxPower(RF_Handle h)
Returns the currently configured transmit power configuration.
uint16_t nPhySwitchingDurationMargin
An additional safety margin to be used to calculate when conflicts shall be evaluated run-time...
Definition: RFCC26X2.h:1648
RF_EventMask bmEvent
Definition: RFCC26X2.h:1686
uint32_t RF_GlobalEventMask
Event mask for combining RF_GlobalEvent event flags in RFCC26XX_HWAttrsV2::globalEventMask.
Definition: RFCC26X2.h:1409
Stores the client's internal configuration and states.
RF_Priority priority
Access priority.
Definition: RFCC26X2.h:1822
uint64_t RF_EventMask
Data type for events during command execution.
Definition: RFCC26X2.h:1246
void * pScheduleMap
Deprecated. Not supported.
Definition: RFCC26X2.h:1526
RF_PriorityCoex
Priority level for coexistence priority signal.
Definition: RFCC26X2.h:1176
Default request line behavior. Use value configured by setup command.
Definition: RFCC26X2.h:1193