Functions | |
| int | ngcppReAlloc (size_t bufsize, int n, char *erms) |
| int | ngcppOpen (ngcpp_dma_t *dev, char *erms) |
| int | ngcppClose (ngcpp_dma_t *dev, int term, char *erms) |
| void * | ngcppMalloc (size_t size) |
| void | ngcppFree (void *ptr) |
| void * | ngcppMalloc2 (void *ptr, size_t size) |
Variables | |
| ngcppSIM | ngcppSimBuf = NULL |
| ngcppSIM64 | ngcppSimBuf64 = NULL |
| int | ngcppSimNoise = 0 |
| int | ngcppSim32 = 0 |
| int ngcppClose | ( | ngcpp_dma_t * | dev, |
| int | term, | ||
| char * | erms ) |
Close the DMA device. If term is 1, all outstanding DMA transfers are terminated.
| void ngcppFree | ( | void * | ptr | ) |
Free memory.
| void * ngcppMalloc | ( | size_t | size | ) |
Allocate size bytes of memory.
| void * ngcppMalloc2 | ( | void * | ptr, |
| size_t | size ) |
Re(-allocate) size bytes of memory.
| int ngcppOpen | ( | ngcpp_dma_t * | dev, |
| char * | erms ) |
Open the DMA device.
| int ngcppReAlloc | ( | size_t | bufsize, |
| int | n, | ||
| char * | erms ) |
Reallocate n input ringbuffers of size bufsize. If n is zero the number ringbuffers is determined dynamically according to bufsize and ngcppMIN_RINGBUFSIZE.
| int ngcppSim32 = 0 |
32-bit simulation
| ngcppSIM ngcppSimBuf = NULL |
Built-in simulator
| ngcppSIM64 ngcppSimBuf64 = NULL |
Built-in simulator (64-bit buffer size)
| int ngcppSimNoise = 0 |
Noise simulation