
Parameters: address—the base address of the FIFO control slave
mask—masks the read value from the status register
Returns: Returns the masked bits of the addressed register.
Description: Gets the addressed register bits—the AND of the value of the addressed register
and the mask.
altera_avalon_fifo_read_ienable()
Prototype: int altera_avalon_fifo_read_ienable(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 interruptenable register
Returns: Returns the logical AND of the interruptenable register and the mask.
Description: Gets the logical AND of the interruptenable register and the mask.
altera_avalon_fifo_read_almostfull()
Prototype:
int altera_avalon_fifo_read_almostfull(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 value of the almostfull register.
Description: Gets the value of the almostfull register.
altera_avalon_fifo_read_almostempty()
Prototype:
int altera_avalon_fifo_read_almostempty(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 value of the almostempty register.
UG-01085
2014.24.07
altera_avalon_fifo_read_ienable()
16-13
On-Chip FIFO Memory Core
Altera Corporation
Send Feedback
Kommentare zu diesen Handbüchern