PAL
A Platform Abstraction Layer connects the mbed-client with the underlying platform.
pal.h
Go to the documentation of this file.
1 /*
2 * Copyright (c) 2016 ARM Limited. All rights reserved.
3 * SPDX-License-Identifier: Apache-2.0
4 * Licensed under the Apache License, Version 2.0 (the License); you may
5 * not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an AS IS BASIS, WITHOUT
12 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16 
17 
18 #ifndef _PAL_H
19 #define _PAL_H
20 
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
24 
25 
26 //includes for common headers in PAL
27 #include "pal_macros.h"
28 #include "pal_configuration.h"
29 #include "pal_errors.h"
30 #include "pal_types.h"
31 
32 //includes for modules headers.
33 #include "pal_rtos.h"
34 //#include "pal_socket.h"
35 
36 
37 
38 //declarations for global init and destroy of PAL
39 
47 
52 void pal_destroy();
53 
54 
55 #ifdef __cplusplus
56 }
57 #endif
58 #endif //_PAL_H
void pal_destroy()
Definition: pal_init.c:64
palStatus_t pal_init()
Definition: pal_init.c:27
int32_t palStatus_t
Definition: pal_types.h:31