hsw-nbt
1.2.0
OPTIGA Authenticate NBT Host Library for C
infineon
ifx-utils-lib.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (c) 2024-2026 Infineon Technologies AG
2
// SPDX-License-Identifier: MIT
3
8
#ifndef IFX_UTILS_LIB_H
9
#define IFX_UTILS_LIB_H
10
11
#include "
infineon/ifx-error.h
"
12
13
#ifdef __cplusplus
14
extern
"C"
{
15
#endif
16
18
#define LIB_UTILS UINT8_C(0x43)
19
23
typedef
enum
24
{
28
IFX_TLV
=
IFX_MODULE
(
LIB_UTILS
, 0x01),
29
33
IFX_UTILS
34
}
ifx_utils_module_id
;
35
36
#ifdef __cplusplus
37
}
38
39
#endif
/* __cplusplus */
40
#endif
/* IFX_UTILS_LIB_H */
ifx-error.h
Infineon specific error code creation and parsing.
IFX_MODULE
#define IFX_MODULE(library_id, module_id)
Encoding of module id and library id into 2 bytes. Bit: 15 Set in macro IFX_ERROR to denote error ide...
Definition
ifx-error.h:23
LIB_UTILS
#define LIB_UTILS
Utils library module ID.
Definition
ifx-utils-lib.h:18
ifx_utils_module_id
ifx_utils_module_id
Enumeration defines the utils module IDs.
Definition
ifx-utils-lib.h:24
IFX_TLV
@ IFX_TLV
TLV module ID.
Definition
ifx-utils-lib.h:28
IFX_UTILS
@ IFX_UTILS
Utils module ID.
Definition
ifx-utils-lib.h:33
Generated by
1.10.0