nrfxlib API 0.1.0
Loading...
Searching...
No Matches
nrf_802154_callouts.h File Reference

Provides function prototypes required by nRF 802.15.4 Radio Driver. More...

#include <stdint.h>
#include <stdbool.h>
#include "nrf_802154_config.h"
#include "nrf_802154_types.h"

Go to the source code of this file.

Functions

void nrf_802154_cca_done (bool channel_free)
 Notifies that the CCA procedure has finished.
 
void nrf_802154_cca_failed (nrf_802154_cca_error_t error)
 Notifies that the CCA procedure failed.
 
void nrf_802154_energy_detected (const nrf_802154_energy_detected_t *p_result)
 Notifies that the energy detection procedure finished.
 
void nrf_802154_energy_detection_failed (nrf_802154_ed_error_t error)
 Notifies that the energy detection procedure failed.
 
void nrf_802154_tx_ack_started (const uint8_t *p_data)
 Notifies about the start of the ACK frame transmission.
 
void nrf_802154_received_raw (uint8_t *p_data, int8_t power, uint8_t lqi)
 Notifies that a frame was received.
 
void nrf_802154_received_timestamp_raw (uint8_t *p_data, int8_t power, uint8_t lqi, uint64_t time)
 Notifies that a frame was received at a given time.
 
void nrf_802154_received (uint8_t *p_data, uint8_t length, int8_t power, uint8_t lqi)
 Notifies that a frame was received.
 
void nrf_802154_received_timestamp (uint8_t *p_data, uint8_t length, int8_t power, uint8_t lqi, uint32_t time)
 Notifies that a frame was received at a given time.
 
void nrf_802154_receive_failed (nrf_802154_rx_error_t error, uint32_t id)
 Notifies that the reception of a frame failed.
 
void nrf_802154_transmitted_raw (uint8_t *p_frame, const nrf_802154_transmit_done_metadata_t *p_metadata)
 Notifies that a frame was transmitted.
 
void nrf_802154_transmitted (uint8_t *p_frame, const nrf_802154_transmit_done_metadata_t *p_metadata)
 Notifies that a frame was transmitted.
 
void nrf_802154_transmit_failed (uint8_t *p_frame, nrf_802154_tx_error_t error, const nrf_802154_transmit_done_metadata_t *p_metadata)
 Notifies that a frame was not transmitted due to a busy channel.
 
void nrf_802154_tx_started (const uint8_t *p_frame)
 Notifies that transmitting a frame has started.
 
void nrf_802154_custom_part_of_radio_init (void)
 Perform some additional operations during initialization of the RADIO peripheral.
 

Detailed Description

Provides function prototypes required by nRF 802.15.4 Radio Driver.

Functions whose prototypes are defined in this file are to be implemented by an application using the nRF 802.15.4 Radio Driver.