nrfxlib API 0.1.0
Loading...
Searching...
No Matches

◆ nrf_802154_timestamp_phr_to_mhr_convert()

uint64_t nrf_802154_timestamp_phr_to_mhr_convert ( uint64_t  phr_timestamp)

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

Converts the timestamp of the frame's PHR to the timestamp of the start of its MHR.

This function converts the time when the first symbol of the frame's PHR is at the local antenna to the timestamp of the start of the frame's MHR.

Parameters
[in]phr_timestampTimestamp of the frame's PHR.
Returns
Timestamp of the start of the MHR of a given frame, in microseconds.