Simulated product dispenser

Dependencies:   HTS221

Fork of mbed-cloud-workshop-connect-HTS221 by Jim Carver

Embed: (wiki syntax)

« Back to documentation index

pal.h File Reference

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)
int32_t pal_destroy (void)

Detailed Description

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

Definition in file pal.h.


Function Documentation

int32_t pal_destroy ( void   )

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

Definition at line 137 of file pal_init.c.

palStatus_t pal_init ( void   )

PAL initialization This function calls each module's initialization function (if exist) to allocate 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.

Definition at line 46 of file pal_init.c.