Contiki-NG
Loading...
Searching...
No Matches
nrf_802154_platform_hp_timer.c File Reference

High-precision timer for nrf_802154 on the nRF5340 network core. More...

#include "platform/nrf_802154_hp_timer.h"
#include "hal/nrf_timer.h"
#include "nrf.h"

Go to the source code of this file.

Detailed Description

High-precision timer for nrf_802154 on the nRF5340 network core.

Uses TIMER2 at 1 MHz (Contiki-NG rtimer uses TIMER0, the radio uses TIMER1). Only exercised when frame timestamping is enabled; it is currently disabled in the project config, but the timer is provided so the feature can be turned on without further platform work. Channel layout matches Nordic's upstream HP timer contract.

Definition in file nrf_802154_platform_hp_timer.c.