libvpb
4.2.61
|
Public Member Functions | |
V4PCIDspFifo (Hip *hip, unsigned short board, unsigned short fifo_addr) | |
Open a link to a DSP FIFO. Assumes the DSP has been booted. | |
Status | Write (uint16_t *buf, size_t len) |
Write a block of words from the PC to a DSP FIFO. More... | |
Status | Read (uint16_t *buf, size_t len) |
Read a block of words from a DSP FIFO to the PC. More... | |
size_t | HowFull () |
Return the number of words used in the DSP FIFO. | |
size_t | HowEmpty () |
Returns the number of words free in the DSP FIFO. | |
void | Flush () |
Additional Inherited Members | |
![]() | |
enum | Status { OK , FULL , EMPTY } |
|
virtual |
Read a block of words from a DSP FIFO to the PC.
Fifo::OK
if successful, or Fifo::EMPTY if size words could not be read from it atomically. Implements Fifo.
|
virtual |
Write a block of words from the PC to a DSP FIFO.
Fifo::OK
if successful, or Fifo::FULL if size words could not be written to it atomically. Implements Fifo.