PAL A Platform Abstraction Layer connects the mbed-client with the underlying platform.

- Main Page
- Data Structures
- Files

- File List
- Globals

Functions
pal.h File Reference
`#include "pal_macros.h"`
`#include "pal_configuration.h"`
`#include "pal_errors.h"`
`#include "pal_types.h"`
`#include "pal_rtos.h"`

Go to the source code of this file.

## Functions
palStatus_t | pal_init ()
void | pal_destroy ()

## Function Documentation

void pal_destroy | ( |  | ) |

PAL destruction This function will call each module's destroy function (if exist) to free resources.

palStatus_t pal_init | ( |  | ) |

PAL initialization This function will call each module's initialization function (if exist) to allocate required resources and initiate them.

Returns
  the function returns the status in the form of palStatus_t which will be PAL_SUCCESS(0) in case of success and another negative value indicating a specific error code in case of failure