|
libvpb
4.2.54
|


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. | |
| Status | Read (uint16_t *buf, size_t len) |
| Read a block of words from a DSP FIFO to the PC. | |
| 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 () |
| Fifo::Status V4PCIDspFifo::Read | ( | uint16_t * | buf, |
| size_t | len | ||
| ) | [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.
| Fifo::Status V4PCIDspFifo::Write | ( | uint16_t * | buf, |
| size_t | len | ||
| ) | [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.