![]() |
OPTIGA™ Trust M
Host Library Documentation
|
This file provides the prototype declarations of platform abstraction layer. More...
#include "optiga/common/optiga_lib_types.h"

Go to the source code of this file.
| #define | PAL_STATUS_SUCCESS (0x0000) |
| PAL API execution is successful. More... | |
| #define | PAL_STATUS_FAILURE (0x0001) |
| PAL API execution failed. More... | |
| #define | PAL_STATUS_I2C_BUSY (0x0002) |
| PAL I2C is busy. More... | |
| #define | PAL_STATUS_INVALID_INPUT (0x0004) |
| PAL API execution with wrong input arguments provided. More... | |
| typedef uint16_t | pal_status_t |
| PAL return status. More... | |
| LIBRARY_EXPORTS pal_status_t | pal_init (void) |
| Initializes the PAL layer. More... | |
| LIBRARY_EXPORTS pal_status_t | pal_deinit (void) |
| De-Initializes the PAL layer. More... | |
This file provides the prototype declarations of platform abstraction layer.
Definition in file pal.h.
| #define PAL_STATUS_INVALID_INPUT (0x0004) |
| #define PAL_STATUS_SUCCESS (0x0000) |
| typedef uint16_t pal_status_t |
| LIBRARY_EXPORTS pal_status_t pal_deinit | ( | void | ) |
De-Initializes the PAL layer.
De-Initializes the PAL layer
| PAL_STATUS_SUCCESS | Returns when the PAL de-init it successful |
| PAL_STATUS_FAILURE | Returns when the PAL de-init fails. |
| LIBRARY_EXPORTS pal_status_t pal_init | ( | void | ) |
Initializes the PAL layer.
Initializes the PAL layer
| PAL_STATUS_SUCCESS | Returns when the PAL init it successful |
| PAL_STATUS_FAILURE | Returns when the PAL init fails. |