Zephyr Project API 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
hwspinlock_driver_config Struct Reference

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_spinlocklocks
 Array of spinlocks that will be used to protect access to underlying hardware.

Detailed Description

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.

Field Documentation

◆ locks

struct k_spinlock* hwspinlock_driver_config::locks

Array of spinlocks that will be used to protect access to underlying hardware.

◆ num_locks

uint8_t hwspinlock_driver_config::num_locks

The number of hw spinlock supported by this driver.


The documentation for this struct was generated from the following file: