Mistake on this page? Email us
pal.h File Reference

PAL. This file contains the general API to initiate and destroy the PAL component. This is part of the PAL service API. More...

Go to the source code of this file.

Functions

palStatus_t pal_init (void)
 PAL initialization. This function calls each module's initialization function (if one exists) to allocate the required resources and initiate them. More...
 
int32_t pal_destroy (void)
 PAL destruction. This function calls each module's destroy function (if one exists) to free resources. More...
 

Detailed Description

PAL. This file contains the general API to initiate and destroy the PAL component. This is part of the PAL service API.

Function Documentation

int32_t pal_destroy ( void  )

PAL destruction. This function calls each module's destroy function (if one exists) to free resources.

palStatus_t pal_init ( void  )

PAL initialization. This function calls each module's initialization function (if one exists) to allocate the required resources and initiate them.

Returns
PAL_SUCCESS(0) in case of success, a negative value indicating a specific error code in case of failure.