|
Zephyr Project API 4.4.99
A Scalable Open Source RTOS
|
This structure is common to all hardware spinlock drivers and is expected to be the first element in the driver's struct driver_config declaration. More...
#include <hwspinlock.h>
Data Fields | |
| uint8_t | num_locks |
| The number of hw spinlock supported by this driver. | |
| struct k_spinlock * | locks |
| Array of spinlocks that will be used to protect access to underlying hardware. | |
This structure is common to all hardware spinlock drivers and is expected to be the first element in the driver's struct driver_config declaration.
| struct k_spinlock* hwspinlock_driver_config::locks |
Array of spinlocks that will be used to protect access to underlying hardware.
| uint8_t hwspinlock_driver_config::num_locks |
The number of hw spinlock supported by this driver.