OPTIGA Trust M  1.1.0
C++ library for Optiga Trust M Chip Security Controller
pal.h
Go to the documentation of this file.
1 
38 #ifndef _PAL_H_
39 #define _PAL_H_
40 
41 #ifdef __cplusplus
42 extern "C" {
43 #endif
44 
45 #include "optiga_lib_types.h"
46 
48 #define PAL_STATUS_SUCCESS (0x0000)
49 #define PAL_STATUS_FAILURE (0x0001)
51 #define PAL_STATUS_I2C_BUSY (0x0002)
53 #define PAL_STATUS_INVALID_INPUT (0x0004)
55 
56 
60 typedef uint16_t pal_status_t;
61 
77 LIBRARY_EXPORTS pal_status_t pal_init(void);
78 
94 LIBRARY_EXPORTS pal_status_t pal_deinit(void);
95 
96 #ifdef __cplusplus
97 }
98 #endif
99 
100 #endif /* _PAL_H_ */
101 
This file contains the type definitions for the fundamental data types.
uint16_t pal_status_t
PAL return status.
Definition: pal.h:60
LIBRARY_EXPORTS pal_status_t pal_deinit(void)
De-Initializes the PAL layer.
Definition: pal.c:48
LIBRARY_EXPORTS pal_status_t pal_init(void)
Initializes the PAL layer.
Definition: pal.c:42