Zephyr API Documentation 4.0.0
A Scalable Open Source RTOS
|
#include <errno.h>
#include <zephyr/types.h>
#include <zephyr/sys/util.h>
#include <zephyr/device.h>
#include <zephyr/syscalls/hwspinlock.h>
Go to the source code of this file.
Functions | |
int | hwspinlock_trylock (const struct device *dev, uint32_t id) |
Try to lock HW spinlock. | |
void | hwspinlock_lock (const struct device *dev, uint32_t id) |
Lock HW spinlock. | |
void | hwspinlock_unlock (const struct device *dev, uint32_t id) |
Try to unlock HW spinlock. | |
uint32_t | hwspinlock_get_max_id (const struct device *dev) |
Get HW spinlock max ID. | |