| mutex Vitis Drivers API Documentation

- Overview
- Data Structures
- APIs
- File List
- Examples

Data Structures | Functions
xmutex.h File Reference

## Data Structures
struct | XMutex_Config
| This typedef contains configuration information for the device. More...
struct | XMutex
| The XMutex driver instance data. More...

## Functions
int | XMutex_CfgInitialize (XMutex *InstancePtr, XMutex_Config *ConfigPtr, UINTPTR EffectiveAddress)
| Initializes a specific Mutex instance/driver. More...
void | XMutex_Lock (XMutex *InstancePtr, u8 MutexNumber)
| Locks a particular Mutex lock within a Mutex device. More...
int | XMutex_Trylock (XMutex *InstancePtr, u8 MutexNumber)
| Locks a particular Mutex lock within a Mutex device. More...
int | XMutex_Unlock (XMutex *InstancePtr, u8 MutexNumber)
| Unlocks a particular Mutex lock within a Mutex device. More...
int | XMutex_IsLocked (XMutex *InstancePtr, u8 MutexNumber)
| Gets the current lock state of a Mutex lock within a Mutex device. More...
void | XMutex_GetStatus (XMutex *InstancePtr, u8 MutexNumber, u32 *Locked, u32 *Owner)
| Gets the current status of a Mutex lock within a Mutex device. More...
int | XMutex_GetUser (XMutex *InstancePtr, u8 MutexNumber, u32 *User)
| Gets the USER register of a Mutex lock within a Mutex device. More...
int | XMutex_SetUser (XMutex *InstancePtr, u8 MutexNumber, u32 User)
| Sets the USER register of a Mutex lock within a Mutex device. More...
int | XMutex_SelfTest (XMutex *InstancePtr)
| Selftest a particular Mutex hardware core. More...