| mmidp Vitis Drivers API Documentation

- Overview
- Data Structures
- APIs
- File List

Macros
xmmidp_hw.h File Reference

## Overview

Note
  None.

    MODIFICATION HISTORY:

    Ver     Who   Date     Changes

    1.0  ck   03/14/25  Initial Release.

## Macros
#define | XMMIDP_AUX_CMD0 0x00B00
| AUX Channel Configuration registers. More...
#define | XMMIDP_AUX_STATUS0 0x00B04
| AUX request reply. More...
#define | XMMIDP_GEN_INT0 0x00D00
| General Interrupt. More...
#define | XMMIDP_GEN_INT_ENABLE0 0x0D04
| General Interrupt Enable. More...
#define | XMMIDP_VIDEO_CONFIG1 0x00310
| Video Configuration register. More...
#define | XMMIDP_DPCD_REV 0x00000
| DPCD Addres Mapping within DPCD Receiver Capability Field (00000h - 000FFh) More...
#define | XMMIDP_DPCD_MSTM_CAP 0x00021
| XMMIDP_DPCD 00010h - 0001Fh DPCD r1.3 ONLY. More...
#define | XMMIDP_DPCD_LINK_BW_SET 0x00100
| DPCD Addres Mapping within DPCD Link Configuration Field (00100h - 001FFh) More...
#define | XMmiDp_ReadReg(BaseAddress, RegOffset) XMmiDp_In32((BaseAddress) + (RegOffset))
| This is a low-level function that reads from the specified register. More...
#define | XMmiDp_WriteReg(BaseAddress, RegOffset, Data) XMmiDp_Out32((BaseAddress) + (RegOffset), (Data))
| This is a low-level function that writes to the specified register. More...
Register access macro definitions.
#define | XMmiDp_In32 Xil_In32
#define | XMmiDp_Out32 Xil_Out32

## Macro Definition Documentation

#define XMMIDP_AUX_CMD0 0x00B00

AUX Channel Configuration registers.

#define XMMIDP_AUX_STATUS0 0x00B04

AUX request reply.

#define XMMIDP_DPCD_LINK_BW_SET 0x00100

DPCD Addres Mapping within DPCD Link Configuration Field (00100h - 001FFh)

Referenced by XMmiDp_SetDpcdLinkRate(), and XMmiDp_SetSinkDpcdLinkCfgField().

#define XMMIDP_DPCD_MSTM_CAP 0x00021

XMMIDP_DPCD 00010h - 0001Fh DPCD r1.3 ONLY.

XMMIDP_DPCD 00020h RESERVED

#define XMMIDP_DPCD_REV 0x00000

DPCD Addres Mapping within DPCD Receiver Capability Field (00000h - 000FFh)

Referenced by XMmiDp_GetDpcdRev().

#define XMMIDP_GEN_INT0 0x00D00

General Interrupt.

Referenced by XMmiDp_ClearGeneralHpdEvent().

#define XMMIDP_GEN_INT_ENABLE0 0x0D04

General Interrupt Enable.

Referenced by XMmiDp_GeneralInterruptEnable().

#define XMmiDp_ReadReg | ( |  | BaseAddress,
|  |  | RegOffset
| ) |  | XMmiDp_In32((BaseAddress) + (RegOffset))

This is a low-level function that reads from the specified register.

Parameters

  BaseAddress | is the base address of the device.
  RegOffset | is the register offset to be read from.

Returns
  The 32-bit value of the specified register.

Note
  C-style signature: u32 XMmiDp_ReadReg(UINTPTR BaseAddress, u32 RegOffset)

Referenced by XMmiDp_ClearGeneralHpdEvent(), XMmiDp_GeneralInterruptEnable(), XMmiDp_HpdInterruptEnable(), XMmiDp_HpdInterruptHandler(), XMmiDp_IsConnected(), XMmiDp_PhySoftReset(), XMmiDp_PhyWaitReady(), and XMmiDp_RegReadModifyWrite().

#define XMMIDP_VIDEO_CONFIG1 0x00310

Video Configuration register.

Referenced by XMmiDp_ClearVideoConfigValues(), and XMmiDp_SetVideoConfig1().

#define XMmiDp_WriteReg | ( |  | BaseAddress,
|  |  | RegOffset,
|  |  | Data
| ) |  | XMmiDp_Out32((BaseAddress) + (RegOffset), (Data))

This is a low-level function that writes to the specified register.

Parameters

  BaseAddress | is the base address of the device.
  RegOffset | is the register offset to write to.
  Data | is the 32-bit data to write to the specified register.

Returns
  None.

Note
  C-style signature: void XMmiDp_WriteReg(UINTPTR BaseAddress, u32 RegOffset, u32 Data)

Referenced by XMmiDp_ClearGeneralHpdEvent(), XMmiDp_ClearMsaValues(), XMmiDp_ClearVideoConfigValues(), XMmiDp_GeneralInterruptEnable(), XMmiDp_HpdInterruptEnable(), XMmiDp_HpdInterruptHandler(), XMmiDp_PhySoftReset(), XMmiDp_RegReadModifyWrite(), XMmiDp_SetAux_100000Us_Cnt_Limit(), XMmiDp_SetAux_2000Us_Cnt_Limit(), XMmiDp_SetAux_250Us_Cnt_Limit(), XMmiDp_SetHBlankInterval(), XMmiDp_SetPmConfig1(), XMmiDp_SetPmConfig2(), XMmiDp_SetVideoConfig1(), XMmiDp_SetVideoConfig2(), XMmiDp_SetVideoConfig3(), XMmiDp_SetVideoConfig4(), XMmiDp_SetVideoConfig5(), XMmiDp_SetVideoMsa1(), XMmiDp_SetVideoMsa2(), XMmiDp_SetVideoMsa3(), XMmiDp_SetVInputPolarityCtrl(), and XMmiDp_SetVSampleCtrl().