14#ifndef NEORV32_HWSPINLOCK_H
15#define NEORV32_HWSPINLOCK_H
25typedef volatile struct __attribute__((packed,aligned(4))) {
31#define NEORV32_HWSPINLOCK ((neorv32_hwspinlock_t*) (NEORV32_HWSPINLOCK_BASE))
int neorv32_hwspinlock_acquire(int select)
Definition neorv32_hwspinlock.c:39
void neorv32_hwspinlock_release(int select)
Definition neorv32_hwspinlock.c:65
int neorv32_hwspinlock_probe(int select)
Definition neorv32_hwspinlock.c:77
int neorv32_hwspinlock_available(void)
Definition neorv32_hwspinlock.c:22
void neorv32_hwspinlock_clear(void)
Definition neorv32_hwspinlock.c:86
void neorv32_hwspinlock_acquire_blocking(int select)
Definition neorv32_hwspinlock.c:50
Definition neorv32_hwspinlock.h:25
uint32_t LOCK[32]
Definition neorv32_hwspinlock.h:26
const uint32_t STATUS
Definition neorv32_hwspinlock.h:27