File tree Expand file tree Collapse file tree 2 files changed +22
-0
lines changed Expand file tree Collapse file tree 2 files changed +22
-0
lines changed Original file line number Diff line number Diff line change
1
+ .. _hwspinlock_api :
2
+
3
+ Hardware Spinlocks (HWSPINLOCK)
4
+ ###############################
5
+
6
+ Overview
7
+ ********
8
+
9
+ An HWSPINLOCK device is a peripheral used to protect shared resources across clusters in the system.
10
+ Each HWSPINLOCK instance is providing one or more spinlocks. The api is similar to regular zephyr spinlocks.
11
+
12
+ .. doxygengroup :: spinlock_apis
13
+
14
+ Because we also want to protect the spinlock resource to be used by multiple cores in the same
15
+ cluster, each HWSPINLOCK device include a regular zephyr spinlock, and use it to lock the access to
16
+ HWSPINLOCK hardware.
17
+
18
+ API Reference
19
+ *************
20
+
21
+ .. doxygengroup :: hwspinlock_interface
Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ Peripherals
35
35
gpio.rst
36
36
haptics.rst
37
37
hwinfo.rst
38
+ hwspinlock.rst
38
39
i2c_eeprom_target.rst
39
40
i3c.rst
40
41
i2c.rst
You can’t perform that action at this time.
0 commit comments