nrfxlib API 2.8.99
Loading...
Searching...
No Matches

◆ nrf_802154_first_symbol_timestamp_get()

uint64_t nrf_802154_first_symbol_timestamp_get ( uint64_t end_timestamp,
uint8_t psdu_length )

#include <nrf_802154/common/include/nrf_802154_common_utils.h>

Calculates the timestamp of the first symbol of the preamble in a received frame.

Deprecated
This function is deprecated. Use nrf_802154_timestamp_end_to_phr_convert instead and adjust the code that calls this function to rely on the timestamp of the first symbol of the PHR, not the timestamp of the first symbol of the frame.
Parameters
[in]end_timestampTimestamp of the end of the last symbol in the frame, in microseconds.
[in]psdu_lengthNumber of bytes in the frame PSDU.
Returns
Timestamp of the beginning of the first preamble symbol of a given frame, in microseconds.