firmware
IEM Firmware Documentation
|
User defined lock mechanisms. More...
Go to the source code of this file.
Data Structures | |
struct | LockingData_t |
Macros | |
#define | MAX_LOCK_NESTING_LEVEL 4 |
#define | LOCK_ASSERT(x) |
#define | LOCKING_DATA_INIT |
Functions | |
static void | stm32_lock_init (LockingData_t *lock) |
Initialize STM32 lock. | |
static void | stm32_lock_acquire (LockingData_t *lock) |
Acquire STM32 lock. | |
static void | stm32_lock_release (LockingData_t *lock) |
Release STM32 lock. |
User defined lock mechanisms.
Copyright (c) 2024 STMicroelectronics. All rights reserved.
This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-IS.
#define LOCK_ASSERT | ( | x | ) |
#define LOCKING_DATA_INIT |
Initialize members in instance of LockingData_t
structure
#define MAX_LOCK_NESTING_LEVEL 4 |
|
inlinestatic |
Acquire STM32 lock.
lock | The lock to acquire |
|
inlinestatic |
Initialize STM32 lock.
lock | The lock to init |
|
inlinestatic |
Release STM32 lock.
lock | The lock to release |