Visible to Intel only — GUID: iga1401396014571
Ixiasoft
Visible to Intel only — GUID: iga1401396014571
Ixiasoft
24.6.12. altera_avalon_write_fifo()
Prototype: | int altera_avalon_write_fifo(alt_u32 write_address, alt_u32 ctrl_address, alt_u32 data) |
Thread-safe: | No. |
Available from ISR: | No. |
Include: | <altera_avalon_fifo_regs.h>, <altera_avalon_fifo_utils.h> |
Parameters: | write_address—the base address of the FIFO write agent ctrl_address—the base address of the FIFO control agent to read the status data—the value to write to address offset 0 for Avalon® -MM to Avalon® -ST transfers, the value to write to the single address available for Avalon® -MM to Avalon® -MM transfers. See the Avalon® Interface Specifications section for the data ordering. |
Returns: | Returns 0 (ALTERA_AVALON_FIFO_OK) if successful, ALTERA_AVALON_FIFO_FULL if unsuccessful. |
Description: | Writes data to the specified address if the FIFO is not full. |