Zephyr Project API 4.4.0-rc3
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
hwspinlock_driver_api Struct Reference

@driver_ops{Hardware Spinlock} More...

#include <hwspinlock.h>

Data Fields

hwspinlock_api_trylock trylock
 @driver_ops_optional Try to lock HW spinlock.
hwspinlock_api_lock lock
 @driver_ops_mandatory Lock HW spinlock.
hwspinlock_api_unlock unlock
 @driver_ops_mandatory Unlock HW spinlock.
hwspinlock_api_get_max_id get_max_id
 @driver_ops_mandatory Get HW spinlock max ID.

Detailed Description

@driver_ops{Hardware Spinlock}

Field Documentation

◆ get_max_id

hwspinlock_api_get_max_id hwspinlock_driver_api::get_max_id

@driver_ops_mandatory Get HW spinlock max ID.

◆ lock

hwspinlock_api_lock hwspinlock_driver_api::lock

@driver_ops_mandatory Lock HW spinlock.

◆ trylock

hwspinlock_api_trylock hwspinlock_driver_api::trylock

@driver_ops_optional Try to lock HW spinlock.

◆ unlock

hwspinlock_api_unlock hwspinlock_driver_api::unlock

@driver_ops_mandatory Unlock HW spinlock.


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