nidas  v1.2-1520
Public Attributes | List of all members
A2DBoard Struct Reference

#include <ncar_a2d_priv.h>

Public Attributes

unsigned int ioport
 
unsigned long base_addr
 
unsigned long base_addr16
 
unsigned long cmd_addr
 
char deviceName [32]
 
struct device * device
 
unsigned short ser_num
 
int gain [NUM_NCAR_A2D_CHANNELS]
 
int offset [NUM_NCAR_A2D_CHANNELS]
 
unsigned short ocfilter [CONFBLOCKS *CONFBLLEN+1]
 
int scanRate
 
int scanDeltatMsec
 
int pollDeltatMsec
 
int pollRate
 
int irigRate
 
int nFifoValues
 
int skipFactor
 
int busy
 
int interrupted
 
unsigned int readCtr
 
int master
 
int discardNextScan
 
int delaysBeforeFirstPoll
 To be sure reads are not done from an empty FIFO, delay the reads until it is a least 1/4 full. More...
 
int numPollDelaysLeft
 
int totalOutputRate
 
struct dsm_sample_circ_buf fifo_samples
 
struct dsm_sample_circ_buf a2d_samples
 
wait_queue_head_t rwaitq_a2d
 
struct sample_read_state a2d_read_state
 
struct irig_callback * ppsCallback
 
wait_queue_head_t ppsWaitQ
 
int havePPS
 
int nfilters
 
struct short_filter_info * filters
 
struct irig_callback * a2dCallback
 
struct irig_callback * tempCallback
 
int tempRate
 
short currentTemp
 
unsigned int nbadFifoLevel
 
unsigned int fifoNotEmpty
 
unsigned int skippedSamples
 
struct work_struct resetWorker
 
int errorState
 
int resets
 
unsigned short OffCal
 
unsigned char FIFOCtl
 
unsigned char i2c
 
struct work_struct sampleWorker
 
long latencyMsecs
 
long latencyJiffies
 
unsigned long lastWakeup
 
struct ncar_a2d_cal_config cal
 
struct ncar_a2d_status cur_status
 
struct ncar_a2d_status prev_status
 
struct mutex mutex
 

Member Data Documentation

struct sample_read_state A2DBoard::a2d_read_state
struct dsm_sample_circ_buf A2DBoard::a2d_samples
struct irig_callback* A2DBoard::a2dCallback

Referenced by resetBoard(), and stopBoard().

unsigned long A2DBoard::base_addr
unsigned long A2DBoard::base_addr16
int A2DBoard::busy
struct ncar_a2d_cal_config A2DBoard::cal
unsigned long A2DBoard::cmd_addr
struct ncar_a2d_status A2DBoard::cur_status
short A2DBoard::currentTemp
int A2DBoard::delaysBeforeFirstPoll

To be sure reads are not done from an empty FIFO, delay the reads until it is a least 1/4 full.

Referenced by readA2DFifo(), resetBoard(), and startBoard().

struct device* A2DBoard::device

Referenced by ncar_a2d_cleanup(), and ncar_a2d_init().

char A2DBoard::deviceName[32]
int A2DBoard::discardNextScan

Referenced by readA2DFifo(), and resetBoard().

int A2DBoard::errorState
struct dsm_sample_circ_buf A2DBoard::fifo_samples
unsigned char A2DBoard::FIFOCtl
unsigned int A2DBoard::fifoNotEmpty
struct short_filter_info* A2DBoard::filters
int A2DBoard::gain[NUM_NCAR_A2D_CHANNELS]
int A2DBoard::havePPS

Referenced by ppsCallback1(), and waitFor1PPS().

unsigned char A2DBoard::i2c
int A2DBoard::interrupted
unsigned int A2DBoard::ioport

Referenced by ncar_a2d_cleanup(), and ncar_a2d_init().

int A2DBoard::irigRate

Referenced by resetBoard(), and startBoard().

unsigned long A2DBoard::lastWakeup
long A2DBoard::latencyJiffies
long A2DBoard::latencyMsecs
int A2DBoard::master
struct mutex A2DBoard::mutex
unsigned int A2DBoard::nbadFifoLevel
int A2DBoard::nFifoValues
int A2DBoard::nfilters
int A2DBoard::numPollDelaysLeft

Referenced by ReadSampleCallback(), and resetBoard().

unsigned short A2DBoard::ocfilter[CONFBLOCKS *CONFBLLEN+1]

Referenced by A2DConfig(), and ncar_a2d_ioctl().

unsigned short A2DBoard::OffCal
int A2DBoard::offset[NUM_NCAR_A2D_CHANNELS]
int A2DBoard::pollDeltatMsec

Referenced by readA2DFifo(), and startBoard().

int A2DBoard::pollRate

Referenced by ReadSampleCallback(), and startBoard().

struct irig_callback* A2DBoard::ppsCallback

Referenced by ncar_a2d_cleanup(), and waitFor1PPS().

wait_queue_head_t A2DBoard::ppsWaitQ
struct ncar_a2d_status A2DBoard::prev_status
unsigned int A2DBoard::readCtr

Referenced by ReadSampleCallback(), and resetBoard().

int A2DBoard::resets

Referenced by ReadSampleCallback().

struct work_struct A2DBoard::resetWorker
wait_queue_head_t A2DBoard::rwaitq_a2d
struct work_struct A2DBoard::sampleWorker
int A2DBoard::scanDeltatMsec
int A2DBoard::scanRate
unsigned short A2DBoard::ser_num
int A2DBoard::skipFactor
unsigned int A2DBoard::skippedSamples
struct irig_callback* A2DBoard::tempCallback

Referenced by resetBoard(), and stopBoard().

int A2DBoard::tempRate
int A2DBoard::totalOutputRate

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