nrfxlib API 0.1.0
|
uint64_t nrf_802154_timestamp_end_to_phr_convert | ( | uint64_t | end_timestamp, |
uint8_t | psdu_length | ||
) |
#include <nrf_802154/common/include/nrf_802154_common_utils.h>
Converts the timestamp of the frame's end to the timestamp of the start of its PHR.
This function calculates the time when the first symbol of the PHR is at the local antenna. Note that this time is equivalent to: the end of the frame's SFD and RMARKER as defined in' IEEE 802.15.4-2020, Section 6.9.1.
[in] | end_timestamp | Timestamp of the end of the last symbol in the frame, in microseconds. |
[in] | psdu_length | Number of bytes in the frame PSDU. |