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_osadapter_timer.h
Go to the documentation of this file.
1
7#ifndef RTE_OSADAPTER_TIMER_H
8#define RTE_OSADAPTER_TIMER_H
9
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
20typedef struct rte_osadapter_timer_s
21{
22 rte_status_t (*create)(rte_timer_storage_t *storage,
23 const rte_timer_config_t *config,
24 rte_timer_handle_t *out_handle);
25 rte_status_t (*start)(rte_timer_handle_t handle);
26 rte_status_t (*stop)(rte_timer_handle_t handle);
27 rte_status_t (*destroy)(rte_timer_handle_t handle);
28 rte_status_t (*now)(rte_timestamp_ms_t *out_now_ms);
30
41
42
43#ifdef __cplusplus
44}
45#endif
46
47#endif /* RTE_OSADAPTER_TIMER_H */
rte_status_t
Common result/status codes.
Definition rte_status.h:27
struct rte_timer_impl_s * rte_timer_handle_t
Definition rte_timer.h:31
uint64_t rte_timestamp_ms_t
Definition rte_types.h:30
rte_status_t rte_osadapter_timer_register(const rte_osadapter_timer_t *adapter)
Registers the OSAdapter timer implementation.
Definition rte_timer.c:25
Common status/error codes returned by every Safe API Framework function. Shared across all OS Abstrac...
OS Abstraction Layer - Timer service.
OSAdapter timer operations vtable.
Configuration for rte_timer_create().
Definition rte_timer.h:53