Safe API Framework 0.1.0 build 384e6ae
Layered API framework for safety-related applications (ERTMS RBC reference targeting CENELEC EN 50128 SIL 4)
Loading...
Searching...
No Matches
rte_timer_config_t Struct Reference

Configuration for rte_timer_create(). More...

#include <rte_timer.h>

Data Fields

rte_timer_mode_t mode
rte_duration_ms_t period_ms
rte_timer_callback_t callback
void * user_ctx

Detailed Description

Configuration for rte_timer_create().

Definition at line 52 of file rte_timer.h.

Field Documentation

◆ mode

rte_timer_mode_t rte_timer_config_t::mode

One-shot or periodic.

Definition at line 54 of file rte_timer.h.

◆ period_ms

rte_duration_ms_t rte_timer_config_t::period_ms

Period (or delay for one-shot). Must be > 0.

Definition at line 55 of file rte_timer.h.

◆ callback

rte_timer_callback_t rte_timer_config_t::callback

Must not be NULL.

Definition at line 56 of file rte_timer.h.

◆ user_ctx

void* rte_timer_config_t::user_ctx

Passed back to callback, may be NULL.

Definition at line 57 of file rte_timer.h.


The documentation for this struct was generated from the following file: