Structure to configure RF Sense Selective(OOK) mode.
Public Attributes#
The frequency band(s) on which to sense the RF energy.
uint8_t
Sync word length in bytes, 1-4 bytes.
uint32_t
Sync Word Value.
The callback function, called when RF is sensed.
Public Attribute Documentation#
band#
sl_rail_rf_sense_band_t sl_rail_rf_sense_selective_ook_config_t::band
The frequency band(s) on which to sense the RF energy.
To stop RF Sense, specify SL_RAIL_RF_SENSE_OFF.
sync_word_bytes#
uint8_t sl_rail_rf_sense_selective_ook_config_t::sync_word_bytes
Sync word length in bytes, 1-4 bytes.
Note
When sync_word is set to use SL_RAIL_RF_SENSE_USE_HW_SYNC_WORD, the sync_word_bytes value will be ignored since we rely on the HW default settings for sync word.
sync_word#
uint32_t sl_rail_rf_sense_selective_ook_config_t::sync_word
Sync Word Value.
To use HW default sync word, set to SL_RAIL_RF_SENSE_USE_HW_SYNC_WORD.
cb#
sl_rail_rf_sense_callback_t sl_rail_rf_sense_selective_ook_config_t::cb
The callback function, called when RF is sensed.
Note
Set to NULL and instead use SL_RAIL_EVENT_RF_SENSED or poll via sl_rail_is_rf_sensed().