Altera Embedded Peripherals IP Manuale Utente Pagina 172

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 336
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 171
Returns: Returns 0 (ALTERA_AVALON_FIFO_OK) if successful, ALTERA_AVALON_FIFO_FULL
if unsuccessful.
Description: Writes the packet status information to the write_address. Only valid when
Enable packet data is on.
altera_avalon_fifo_read_fifo()
Prototype: int altera_avalon_fifo_read_fifo(alt_u32 read_address, alt_u32
ctrl_address)
Thread-safe: No.
Available
from ISR:
No.
Include: <altera_avalon_fifo_regs.h>, <altera_avalon_fifo_utils.h>
Parameters: read_address—the base address of the FIFO read slave
ctrl_address—the base address of the FIFO control slave
Returns: Returns the data from address offset 0, or 0 if the FIFO is empty.
Description: Gets the data addressed by read_address.
R**altera_avalon_fifo_read_other_info()
Prototype:
int altera_avalon_fifo_read_other_info(alt_u32 read_address)
Thread-safe: No.
Available
from ISR:
No.
Include: <altera_avalon_fifo_regs.h>, <altera_avalon_fifo_utils.h>
Parameters: read_address—the base address of the FIFO read slave
Returns: Returns the packet status information from address offset 1 of the Avalon
interface. See the Avalon Interface Specifications section for the ordering of the
packet status information.
Description: Reads the packet status information from the specified read_address. Only
valid when Enable packet data is on.
UG-01085
2014.24.07
altera_avalon_fifo_read_fifo()
16-17
On-Chip FIFO Memory Core
Altera Corporation
Send Feedback
Vedere la pagina 171
1 2 ... 167 168 169 170 171 172 173 174 175 176 177 ... 335 336

Commenti su questo manuale

Nessun commento