| mutex Vitis Drivers API Documentation

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

- Data Structures
- Data Fields

Data Fields
XMutex_Config Struct Reference
Overview

This typedef contains configuration information for the device. More...

## Data Fields
u16 | DeviceId
| Unique ID of device. More...
UINTPTR | BaseAddress
| Register base address. More...
u32 | NumMutex
| Number of Mutexes in this device. More...
u8 | UserReg
| User Register, access not controlled by Mutex. More...

## Detailed Description

This typedef contains configuration information for the device.

## Field Documentation

UINTPTR XMutex_Config::BaseAddress

Register base address.

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

u16 XMutex_Config::DeviceId

Unique ID of device.

u32 XMutex_Config::NumMutex

Number of Mutexes in this device.

Referenced by XMutex_CfgInitialize(), and XMutex_SelfTest().

u8 XMutex_Config::UserReg

User Register, access not controlled by Mutex.

Referenced by XMutex_GetUser(), and XMutex_SetUser().