Altera Embedded Peripherals IP Manual de usuario Pagina 172

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 336
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de 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
Vista de pagina 171
1 2 ... 167 168 169 170 171 172 173 174 175 176 177 ... 335 336

Comentarios a estos manuales

Sin comentarios