DisplayPort Intel® FPGA IP User Guide

ID 683273
Date 10/16/2023
Public
Document Table of Contents

9.39. btc_dptx_syslib_add_tx

Prototype:

int btc_dptx_syslib_add_tx( 
   BYTE         tx_idx, 
   unsigned int tx_base_addr, 
   unsigned int tx_irq_id, 
   unsigned int tx_irq_num)

Thread-safe:

No

Available from ISR:

No

Include:

< btc_dptx_syslib.h >

Return:

0 = success, 1 = fail

Parameters:

  • tx_idx—Source instance index (0 - 3)
  • tx_base_addr—TX base address
  • tx_irq_id—TX IRQ ID
  • tx_irq_num—TX IRQ number

Description:

This function declares a source (TX) instance to the system library. It should be invoked once for each existing source instance, starting from tx_idx = 0. After all sources have been declared, invoke btc_dptx_syslib_ init ( ).

Example:

btc_dptx_syslib_init (0, DP_TX_SOURCE_BASE, DP_TX_SOURCE_IRQ_INTERRUPT_CONTROLLER_ID, DP_TX_SOURCE_IRQ);