mutex: xmutex_hw.h File Reference

| mutex Xilinx SDK Drivers API Documentation

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

Macros
xmutex_hw.h File Reference

## Macros
#define | XMutex_ReadReg(BaseAddress, MutexNumber, RegOffset) Xil_In32((BaseAddress) + XMutex_Offset(MutexNumber) + (RegOffset))
| Read one of the Mutex registers. More...
#define | XMutex_WriteReg(BaseAddress, MutexNumber, RegOffset, ValueToWrite)
| Write a specified value to a register of a Mutex. More...
Register Offset Definitions
Register offsets within a Mutex, there are multiple Mutexes within a single device
#define | XMU_MUTEX_REG_OFFSET 0
| Mutex register. More...
#define | XMU_USER_REG_OFFSET 4
| User register. More...
Mutex Register Bit Definitions
#define | LOCKED_BIT 0x00000001
| This is the Lock bit. More...
#define | OWNER_MASK 0x000001FE
| This is CPU_ID Mask. More...
#define | OWNER_SHIFT 0x00000001
| This is CPU_ID Shift. More...