Altera Embedded Peripherals IP Manuale Utente Pagina 171

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 336
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 170
Include: <altera_avalon_fifo_regs.h>, <altera_avalon_fifo_utils.h>
Parameters: address—the base address of the FIFO control slave
data—the value for the almost empty threshold level
Returns: Returns 0 (ALTERA_AVALON_FIFO_OK) if successful, ALTERA_AVALON_FIFO_
THRESHOLD_WRITE_ERROR if unsuccessful.
Description: Writes data to the almostempty register.
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 slave
ctrl_address—the base address of the FIFO control slave
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.
altera_avalon_write_other_info()
Prototype:
int altera_avalon_write_other_info(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 slave
ctrl_address—the base address of the FIFO control slave
data—the packet status information to write to address offset 1 of the Avalon
interface. See the Avalon Interface Specifications section for the ordering of the
packet status information.
16-16
altera_avalon_write_fifo()
UG-01085
2014.24.07
Altera Corporation
On-Chip FIFO Memory Core
Send Feedback
Vedere la pagina 170
1 2 ... 166 167 168 169 170 171 172 173 174 175 176 ... 335 336

Commenti su questo manuale

Nessun commento