hsw-nbt 1.2.0
OPTIGA Authenticate NBT Host Library for C
Data Structures | Macros
ifx-timer.h File Reference

Generic C API for joinable timers. More...

#include <stdbool.h>
#include <stdint.h>
#include "infineon/ifx-error.h"

Go to the source code of this file.

Data Structures

struct  ifx_timer_t
 Generic struct for joinable timers. More...
 

Macros

#define LIB_TIMER   UINT8_C(0x02)
 IFX error encoding library identifier.
 
#define IFX_TIMER_SET   UINT8_C(0x01)
 IFX error encoding function identifier for ifx_timer_set().
 
#define IFX_TIMER_JOIN   UINT8_C(0x02)
 IFX error encoding function identifier for ifx_timer_join().
 
#define IFX_TIMER_NOT_SET   0x01u
 Error reason if timer has not been set before calling timer_join().
 

Detailed Description

Generic C API for joinable timers.

Definition in file ifx-timer.h.

Macro Definition Documentation

◆ IFX_TIMER_JOIN

#define IFX_TIMER_JOIN   UINT8_C(0x02)

IFX error encoding function identifier for ifx_timer_join().

Definition at line 33 of file ifx-timer.h.

◆ IFX_TIMER_NOT_SET

#define IFX_TIMER_NOT_SET   0x01u

Error reason if timer has not been set before calling timer_join().

Used in combination with LIB_TIMER and IFX_TIMER_JOIN so the full result code will always be IFX_ERROR(LIB_TIMER, IFX_TIMER_JOIN, IFX_TIMER_NOT_SET).

Definition at line 42 of file ifx-timer.h.

◆ IFX_TIMER_SET

#define IFX_TIMER_SET   UINT8_C(0x01)

IFX error encoding function identifier for ifx_timer_set().

Definition at line 28 of file ifx-timer.h.

◆ LIB_TIMER

#define LIB_TIMER   UINT8_C(0x02)

IFX error encoding library identifier.

Definition at line 23 of file ifx-timer.h.