nrfxlib API 2.8.99
|
Macros | |
#define | NRF_802154_NO_TIMESTAMP 0 |
Timestamp value indicating that the timestamp is inaccurate. | |
#define | NRF_802154_RESERVED_INVALID_ID UINT32_MAX |
Invalid delayed timeslot identifier. | |
#define | NRF_802154_RESERVED_IMM_RX_WINDOW_ID (UINT32_MAX - 1) |
Reception window identifier reserved for immediate reception. | |
#define | NRF_802154_RESERVED_DRX_ID_UPPER_BOUND (UINT32_MAX - 4) |
Upper bound for delayed reception window identifiers used by the application. | |
#define | NRF_802154_MAX_PENDING_NOTIFICATIONS (NRF_802154_RX_BUFFERS + NRF_802154_MAX_DISREGARDABLE_NOTIFICATIONS + 4 + 1) |
Maximum number of simultaneously pending notifications the driver can issue. | |
Functions | |
void | nrf_802154_init (void) |
Initializes the 802.15.4 driver. | |
void | nrf_802154_deinit (void) |
Deinitializes the 802.15.4 driver. | |
void | nrf_802154_channel_set (uint8_t channel) |
Sets the channel on which the radio is to operate. | |
uint8_t | nrf_802154_channel_get (void) |
Gets the channel on which the radio operates. | |
void | nrf_802154_tx_power_set (int8_t power) |
Sets the transmit power. | |
int8_t | nrf_802154_tx_power_get (void) |
Gets the currently set transmit power. | |
bool | nrf_802154_antenna_diversity_rx_mode_set (nrf_802154_sl_ant_div_mode_t mode) |
Sets the antenna diversity rx mode. | |
nrf_802154_sl_ant_div_mode_t | nrf_802154_antenna_diversity_rx_mode_get (void) |
Gets current antenna diversity rx mode. | |
bool | nrf_802154_antenna_diversity_tx_mode_set (nrf_802154_sl_ant_div_mode_t mode) |
Sets the antenna diversity tx mode. | |
nrf_802154_sl_ant_div_mode_t | nrf_802154_antenna_diversity_tx_mode_get (void) |
Gets current antenna diversity tx mode. | |
bool | nrf_802154_antenna_diversity_rx_antenna_set (nrf_802154_sl_ant_div_antenna_t antenna) |
Manually selects the antenna to be used for rx. | |
nrf_802154_sl_ant_div_antenna_t | nrf_802154_antenna_diversity_rx_antenna_get (void) |
Gets antenna currently used for rx. | |
bool | nrf_802154_antenna_diversity_tx_antenna_set (nrf_802154_sl_ant_div_antenna_t antenna) |
Manually selects the antenna to be used for tx. | |
nrf_802154_sl_ant_div_antenna_t | nrf_802154_antenna_diversity_tx_antenna_get (void) |
Gets antenna currently used for tx. | |
nrf_802154_sl_ant_div_antenna_t | nrf_802154_antenna_diversity_last_rx_best_antenna_get (void) |
Gets which antenna was selected as best for the last reception. | |
void | nrf_802154_antenna_diversity_config_set (const nrf_802154_sl_ant_div_cfg_t *p_cfg) |
Sets antenna diversity configuration. | |
bool | nrf_802154_antenna_diversity_config_get (nrf_802154_sl_ant_div_cfg_t *p_cfg) |
Gets the antenna diversity interface configuration. | |
bool | nrf_802154_antenna_diversity_init (void) |
Initializes antenna diversity module. | |
void | nrf_802154_antenna_diversity_timer_irq_handler (void) |
Handles TIMER IRQ of the antenna diversity interface. | |
uint64_t | nrf_802154_time_get (void) |
Gets the current time. | |