![]() |
NEORV32 Software Framework Documentation
The NEORV32 RISC-V Processor
|
Hardware spinlock (HWSPINLOCK) HW driver source file. More...
#include <neorv32.h>
Functions | |
int | neorv32_hwspinlock_available (void) |
int | neorv32_hwspinlock_acquire (int select) |
void | neorv32_hwspinlock_acquire_blocking (int select) |
void | neorv32_hwspinlock_release (int select) |
int | neorv32_hwspinlock_probe (int select) |
void | neorv32_hwspinlock_clear (void) |
Hardware spinlock (HWSPINLOCK) HW driver source file.
int neorv32_hwspinlock_acquire | ( | int | select | ) |
Try to acquire hardware spinlock.
select | Spinlock select (0..31). |
void neorv32_hwspinlock_acquire_blocking | ( | int | select | ) |
Block until spinlock is acquired.
select | Spinlock select (0..31). |
int neorv32_hwspinlock_available | ( | void | ) |
Check if hardware spinlock module was synthesized.
void neorv32_hwspinlock_clear | ( | void | ) |
Clear/release all hardware spinlocks.
int neorv32_hwspinlock_probe | ( | int | select | ) |
Probe state of hardware spinlock.
select | Spinlock select (0..31). |
void neorv32_hwspinlock_release | ( | int | select | ) |
Release hardware spinlock.
select | Spinlock select (0..31). |