mutex: XMutex Struct Reference

| mutex Xilinx SDK Drivers API Documentation

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

- Data Structures
- Data Fields

Data Fields
XMutex Struct Reference
Mutex_v4_4

The XMutex driver instance data. More...

## Data Fields
XMutex_Config | Config
| Configuration data, includes base address. More...
u32 | IsReady
| Device is initialized and ready. More...

## Detailed Description

The XMutex driver instance data.

The user is required to allocate a variable of this type for every Mutex device in the system. A pointer to a variable of this type is then passed to the driver API functions.

## Field Documentation

XMutex_Config XMutex::Config

Configuration data, includes base address.

Referenced by XMutex_CfgInitialize(), XMutex_GetStatus(), XMutex_GetUser(), XMutex_IsLocked(), XMutex_Lock(), XMutex_SelfTest(), XMutex_SetUser(), XMutex_Trylock(), and XMutex_Unlock().

u32 XMutex::IsReady

Device is initialized and ready.

Referenced by XMutex_CfgInitialize().