OPTIGA™ Trust M
Host Library Documentation
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 
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 
pal_status_t
uint16_t pal_status_t
PAL return status.
Definition: examples/tools/protected_update_data_set/include/pal/pal_crypt.h:54
optiga_lib_types.h
This file contains the type definitions for the fundamental data types.
pal_init
LIBRARY_EXPORTS pal_status_t pal_init(void)
Initializes the PAL layer.
pal_status_t
uint16_t pal_status_t
PAL return status.
Definition: pal.h:60
pal_deinit
LIBRARY_EXPORTS pal_status_t pal_deinit(void)
De-Initializes the PAL layer.