rflib
|
RF driver configuration parameters. More...
#include <RFCC26X2.h>
Data Fields | |
uint32_t | nInactivityTimeout |
uint32_t | nPowerUpDuration |
RF_Callback | pPowerCb |
RF_Callback | pErrCb |
uint16_t | nPowerUpDurationMargin |
uint16_t | nPhySwitchingDurationMargin |
An additional safety margin to be used to calculate when conflicts shall be evaluated run-time. More... | |
RF_ClientCallback | pClientEventCb |
RF_ClientEventMask | nClientEventMask |
uint32_t | nID |
RF handle identifier. More... | |
RF driver configuration parameters.
RF_Params is used for initial RF driver configuration. It is initialized by RF_Params_init() and used by RF_open(). Each client has its own set of parameters. They are reconfigured on a client switch. Some of the parameters can be changed during run-time using RF_control().
uint32_t RF_Params::nInactivityTimeout |
Inactivity timeout in microseconds. The default value is 0xFFFFFFFF (infinite).
uint32_t RF_Params::nPowerUpDuration |
A custom power-up duration in microseconds. If 0, the RF driver will start with a conservative value and measure the actual time during the first power-up. The default value is 0.
RF_Callback RF_Params::pPowerCb |
RF_Callback RF_Params::pErrCb |
uint16_t RF_Params::nPowerUpDurationMargin |
An additional safety margin to be added to RF_Params::nPowerUpDuration. This is necessary because of other hardware and software interrupts preempting the RF driver interrupt handlers and state machine. The default value is platform-dependent.
uint16_t RF_Params::nPhySwitchingDurationMargin |
An additional safety margin to be used to calculate when conflicts shall be evaluated run-time.
RF_ClientCallback RF_Params::pClientEventCb |
Callback function for client-related events. The default value is NULL.
RF_ClientEventMask RF_Params::nClientEventMask |
Event mask used to subscribe certain client events. The purpose is to keep the number of callback executions small.
uint32_t RF_Params::nID |
RF handle identifier.