1 /*
2  * Copyright (c) 2001-2019, Arm Limited and Contributors. All rights reserved.
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  */
6 
7 
8 #ifndef _CC_PAL_MUTEX_PLAT_H
9 #define _CC_PAL_MUTEX_PLAT_H
10 
11 #include "cmsis_os2.h"
12 
13 #ifdef __cplusplus
14 extern "C"
15 {
16 #endif
17 /**
18 * @brief File Description:
19 *        This file contains functions for resource management (semaphor operations).
20 *        The functions implementations are generally just wrappers to different operating system calls.
21 *        None of the described functions will check the input parameters so the behavior
22 *        of the APIs in illegal parameters case is dependent on the operating system behavior.
23 *
24 */
25 
26 typedef osMutexId_t CC_PalMutex;
27 
28 
29 
30 /*----------------------------
31       PUBLIC FUNCTIONS
32 -----------------------------------*/
33 
34 
35 #ifdef __cplusplus
36 }
37 #endif
38 
39 #endif
40 
41 
42