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

- Main Page
- Data Structures
- Files

- File List
- Globals

Functions
pal_init.c File Reference
`#include "pal.h"`
`#include "pal_plat_rtos.h"`
`#include "pal_plat_network.h"`
`#include "pal_macros.h"`

## 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