17#include "platform/nrf_802154_platform_timestamper.h"
20#define HP_TIMER NRF_TIMER10
24nrf_802154_platform_timestamper_init(
void)
30nrf_802154_platform_timestamper_cross_domain_connections_setup(
void)
36nrf_802154_platform_timestamper_cross_domain_connections_clear(
void)
42nrf_802154_platform_timestamper_local_domain_connections_setup(uint32_t dppi_ch)
45 HP_TIMER->SUBSCRIBE_CAPTURE[TIMESTAMP_CC] =
46 ((uint32_t)TIMER_SUBSCRIBE_CAPTURE_EN_Enabled << TIMER_SUBSCRIBE_CAPTURE_EN_Pos) |
47 (dppi_ch << TIMER_SUBSCRIBE_CAPTURE_CHIDX_Pos);
51nrf_802154_platform_timestamper_local_domain_connections_clear(uint32_t dppi_ch)
54 HP_TIMER->SUBSCRIBE_CAPTURE[TIMESTAMP_CC] = 0;
58nrf_802154_platform_timestamper_captured_timestamp_read(uint64_t *p_captured)
61 *p_captured = (uint64_t)HP_TIMER->CC[TIMESTAMP_CC];