
Return: 0 = success, 1 = fail
Parameters: • rx_idx—Sink instance index (0 - 3)
• rx_base_addr—RX base address
• rx_irq_id—RX IRQ ID
• rx_irq_num—RX IRQ number
• rx_num_of_sinks—Number of streaming sinks used (1 - 4)
• options—OR-ed options for this instance or 0 if unused
Description: This function declares a sink (RX) instance to the system library. It should be
invoked once for each existing sink instance, starting from rx_idx = 0. After all
sinks have been declared, invoke btc_dprx_syslib_ init ( ).
Example: btc_dprx_syslib_add_rx (0, BITEC_DP_0_AV_RX_CONTROL_BASE, BITEC_DP_
0_AV_RX_CONTROL_IRQ_INTERRUPT_CONTROLLER_ID, BITEC_DP_0_AV_RX_
CONTROL_IRQ, 2, BTC_DPRX_OPT_DISABLE_ERRMON);
Related Information
btc_dprx_syslib_init on page 8-11
btc_dprx_syslib_info
Prototype:
void btc_dprx_syslib_info(
BYTE *max_sink_num,
BYTE *mst_support)
Thread-safe: Yes
Available from ISR: Yes
Include: < btc_dprx_syslib.h >
Return: None
Parameters: • max_sink_num—Pointer for maximum number of sinks supported
• mst_support—Pointer for MST support
Description: This function returns information about the system library capabilities. On return,
max_sink_num is set with the maximum number of supported sink instances (1 - 4)
and mst_support is set to zero if MST is not supported and 1 if it is supported.
Example: btc_dprx_syslib_info(pmaxsink,pmst);
8-10
btc_dprx_syslib_info
UG-01131
2015.05.04
Altera Corporation
DisplayPort API Reference
Send Feedback
Commenti su questo manuale