VSF Documented
Data Fields
gptimer_alarm_event_data_t Struct Reference

Data passed to gptimer_alarm_cb_t at each alarm event. More...

#include <gptimer.h>

Data Fields

uint64_t count_value
 
uint64_t alarm_value
 

Detailed Description

Data passed to gptimer_alarm_cb_t at each alarm event.

count_value / alarm_value reflect the counter state sampled close to the alarm. When the VSF backend cannot sample the counter, both fields are filled with 0.

Field Documentation

◆ count_value

uint64_t gptimer_alarm_event_data_t::count_value

counter at the moment the IRQ was taken

◆ alarm_value

uint64_t gptimer_alarm_event_data_t::alarm_value

alarm_count that triggered the callback

Generated from commit: vsfteam/vsf@015f4d1