Altera Embedded Peripherals IP Manual do Utilizador Página 169

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 336
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 168
Description: Gets the value of the almostempty register.
altera_avalon_fifo_read_event()
Prototype: int altera_avalon_fifo_read_event(alt_u32 address, alt_u32 mask)
Thread-safe: No.
Available
from ISR:
No.
Include: <altera_avalon_fifo_regs.h>, <altera_avalon_fifo_utils.h>
Parameters: address—the base address of the FIFO control slave
mask—masks the read value from the event register
Returns: Returns the logical AND of the event register and the mask.
Description: Gets the logical AND of the event register and the mask. To read single bits of the
event register use the single bit masks, for example: ALTERA_AVALON_FIFO_FIFO_
EVENT_F_MSK. To read the entire event register use the full mask: ALTERA_
AVALON_FIFO_EVENT_ALL.
altera_avalon_fifo_read_level()
Prototype:
int altera_avalon_fifo_read_level(alt_u32 address)
Thread-safe: No.
Available
from ISR:
No.
Include: <altera_avalon_fifo_regs.h>, <altera_avalon_fifo_utils.h>
Parameters: address—the base address of the FIFO control slave
Returns: Returns the fill level of the FIFO.
Description: Gets the fill level of the FIFO.
altera_avalon_fifo_clear_event()
Prototype:
int altera_avalon_fifo_clear_event(alt_u32 address, alt_u32 mask)
Thread-safe: No.
Available
from ISR:
No.
Include: <altera_avalon_fifo_regs.h>, <altera_avalon_fifo_utils.h>
Parameters: address—the base address of the FIFO control slave
mask—the mask to use for bit-clearing (1 means clear this bit, 0 means do not
clear)
16-14
altera_avalon_fifo_read_event()
UG-01085
2014.24.07
Altera Corporation
On-Chip FIFO Memory Core
Send Feedback
Vista de página 168
1 2 ... 164 165 166 167 168 169 170 171 172 173 174 ... 335 336

Comentários a estes Manuais

Sem comentários