ngc 1.5.0
 
Loading...
Searching...
No Matches
ngcpp_dma_t Struct Reference

#include <ngcpp.h>

Public Attributes

int id
 
unsigned char ** buf
 
uint64_t * ts
 
int idxProc
 
int idxIn
 
int num
 
size_t size
 
ngcb_dma_t dma
 
unsigned int last
 
unsigned int next
 
size_t dmaSize
 
int allocated
 
int mode
 
char devName [256]
 
int semLckId
 
int simFd [2]
 
ngcb_thread_t captureThreadId
 
int initialized
 
char erms [256]
 
ngcb_sema_t semStart
 
ngcb_sema_t semStartAck
 
ngcb_sema_t semCap
 
ngcb_sema_t semCapAck
 
ngcb_sema_t semInit
 
ngcb_sema_t semClient
 
ngcb_sema_t semClientStart
 
ngcb_sema_t semClientInit
 
int streamSocket
 

Detailed Description

DMA capture type

Member Data Documentation

◆ allocated

int ngcpp_dma_t::allocated

Flag to mark buffers as allocated

◆ buf

unsigned char** ngcpp_dma_t::buf

Circular frame buffer

◆ captureThreadId

ngcb_thread_t ngcpp_dma_t::captureThreadId

Capture thread ID

◆ devName

char ngcpp_dma_t::devName[256]

Device name for driver

◆ dma

ngcb_dma_t ngcpp_dma_t::dma

DMA device structure

◆ dmaSize

size_t ngcpp_dma_t::dmaSize

DMA size

◆ erms

char ngcpp_dma_t::erms[256]

Error message buffer

◆ id

int ngcpp_dma_t::id

Own id - assigned at startup

◆ idxIn

int ngcpp_dma_t::idxIn

Buffer index (in)

◆ idxProc

int ngcpp_dma_t::idxProc

Buffer index (processing)

◆ initialized

int ngcpp_dma_t::initialized

Intialization flag

◆ last

unsigned int ngcpp_dma_t::last

DMA counter (processing)

◆ mode

int ngcpp_dma_t::mode

Operation mode (sim, normal, ...)

◆ next

unsigned int ngcpp_dma_t::next

DMA counter (in)

◆ num

int ngcpp_dma_t::num

Number of circular buffer items

◆ semCap

ngcb_sema_t ngcpp_dma_t::semCap

Capture synchronization

◆ semCapAck

ngcb_sema_t ngcpp_dma_t::semCapAck

Capture acknowledge semaphore

◆ semClient

ngcb_sema_t ngcpp_dma_t::semClient

Client synchronization semaphore

◆ semClientInit

ngcb_sema_t ngcpp_dma_t::semClientInit

Client initialization semaphore

◆ semClientStart

ngcb_sema_t ngcpp_dma_t::semClientStart

Client start semaphore

◆ semInit

ngcb_sema_t ngcpp_dma_t::semInit

Capture initialization semaphore

◆ semLckId

int ngcpp_dma_t::semLckId

Device lock semaphore

◆ semStart

ngcb_sema_t ngcpp_dma_t::semStart

Start synchronization semaphore

◆ semStartAck

ngcb_sema_t ngcpp_dma_t::semStartAck

Start acknowledge semaphore

◆ simFd

int ngcpp_dma_t::simFd[2]

Socket to interrupt simulation timer

◆ size

size_t ngcpp_dma_t::size

Size (in bytes) of each buffer item

◆ streamSocket

int ngcpp_dma_t::streamSocket

Streaming socket

◆ ts

uint64_t* ngcpp_dma_t::ts

Circular timestamp buffer


The documentation for this struct was generated from the following file: