Visible to Intel only — GUID: hco1410462581363
Ixiasoft
Visible to Intel only — GUID: hco1410462581363
Ixiasoft
9.16. btc_dprx_syslib_add_rx
Prototype: |
int btc_dprx_syslib_add_rx( BYTE rx_idx, unsigned int rx_base_addr, unsigned int rx_irq_id, unsigned int rx_irq_num, unsigned int rx_num_of_sinks, unsigned int options) |
Thread-safe: |
No |
Available from ISR: |
No |
Include: |
< btc_dprx_syslib.h > |
Return: |
0 = success, 1 = fail |
Parameters: |
|
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, DP_RX_SINK_BASE, DP_RX_SINK_IRQ_INTERRUPT_CONTROLLER_ID, DP_RX_SINK_IRQ, 2, BTC_DPRX_OPT_DISABLE_ERRMON); |