7#ifndef ZEPHYR_INCLUDE_DRIVERS_TIMER_NRF_GRTC_TIMER_H
8#define ZEPHYR_INCLUDE_DRIVERS_TIMER_NRF_GRTC_TIMER_H
29typedef void (*z_nrf_grtc_timer_compare_handler_t)(
int32_t id,
uint64_t expire_time,
37int32_t z_nrf_grtc_timer_chan_alloc(
void);
53int32_t z_nrf_grtc_timer_ext_chan_alloc(
void);
59void z_nrf_grtc_timer_chan_free(
int32_t chan);
74bool z_nrf_grtc_timer_compare_evt_check(
int32_t chan);
104bool z_nrf_grtc_timer_compare_int_lock(
int32_t chan);
114void z_nrf_grtc_timer_compare_int_unlock(
int32_t chan,
bool key);
142 z_nrf_grtc_timer_compare_handler_t handler,
void *user_data);
165 z_nrf_grtc_timer_compare_handler_t handler,
void *user_data);
175void z_nrf_grtc_timer_interval_stop(
int32_t chan);
187void z_nrf_grtc_timer_abort(
int32_t chan);
211int z_nrf_grtc_timer_capture_prepare(
int32_t chan);
225int z_nrf_grtc_timer_capture_read(
int32_t chan,
uint64_t *captured_time);
239int z_nrf_grtc_wakeup_prepare(
uint64_t wake_time_us);
250uint64_t z_nrf_grtc_timer_startup_value_get(
void);
int nrf_grtc_timer_clock_driver_init(void)
Initialize the GRTC clock timer driver from an application- defined function.
__UINT32_TYPE__ uint32_t
Definition stdint.h:90
__INT32_TYPE__ int32_t
Definition stdint.h:74
__UINT64_TYPE__ uint64_t
Definition stdint.h:91
Kernel timeout type.
Definition clock.h:65