nidas v1.2.3
Public Attributes | List of all members
LAMS_board Struct Reference

Public Attributes

int num
 
unsigned int ioport
 
unsigned long addr
 
unsigned long ram_clear_addr
 
unsigned long avg_lsw_data_addr
 
unsigned long avg_msw_data_addr
 
unsigned long peak_data_addr
 
unsigned long peak_clear_addr
 
int irq
 
spinlock_t reglock
 
char deviceName [32]
 
struct device * device
 
struct cdev cdev
 
atomic_t num_opened
 Used to force exclusive open.
 
int nAVG
 How many spectra to further average.
 
unsigned int avgMask
 
int avgShift
 
int nPEAKS
 
int nPeaks
 
struct work_struct worker
 
struct bh_data bh_data
 data for use by bottom half
 
struct dsm_sample_circ_buf isr_avg_samples
 spectra average samples read from LAMS board in ISR, passed to bottom half for further averaging.
 
struct dsm_sample_circ_buf avg_samples
 output spectra average samples from bottom half.
 
struct dsm_sample_circ_buf peak_samples
 output spectra peak samples read from LAMS board in ISR.
 
wait_queue_head_t read_queue
 user read & poll methods wait on this
 
struct sample_read_state avg_read_state
 
struct sample_read_state peak_read_state
 
struct lams_status status
 
int specPointSkip
 Initial points to skip in the spectrum.
 

Member Data Documentation

◆ addr

unsigned long LAMS_board::addr

◆ avg_lsw_data_addr

unsigned long LAMS_board::avg_lsw_data_addr

◆ avg_msw_data_addr

unsigned long LAMS_board::avg_msw_data_addr

◆ avg_read_state

struct sample_read_state LAMS_board::avg_read_state

◆ avg_samples

struct dsm_sample_circ_buf LAMS_board::avg_samples

output spectra average samples from bottom half.

◆ avgMask

unsigned int LAMS_board::avgMask

◆ avgShift

int LAMS_board::avgShift

◆ bh_data

struct bh_data LAMS_board::bh_data

data for use by bottom half

◆ cdev

struct cdev LAMS_board::cdev

◆ device

struct device* LAMS_board::device

◆ deviceName

char LAMS_board::deviceName[32]

◆ ioport

unsigned int LAMS_board::ioport

◆ irq

int LAMS_board::irq

◆ isr_avg_samples

struct dsm_sample_circ_buf LAMS_board::isr_avg_samples

spectra average samples read from LAMS board in ISR, passed to bottom half for further averaging.

◆ nAVG

int LAMS_board::nAVG

How many spectra to further average.

◆ nPEAKS

int LAMS_board::nPEAKS

◆ nPeaks

int LAMS_board::nPeaks

◆ num

int LAMS_board::num

◆ num_opened

atomic_t LAMS_board::num_opened

Used to force exclusive open.

◆ peak_clear_addr

unsigned long LAMS_board::peak_clear_addr

◆ peak_data_addr

unsigned long LAMS_board::peak_data_addr

◆ peak_read_state

struct sample_read_state LAMS_board::peak_read_state

◆ peak_samples

struct dsm_sample_circ_buf LAMS_board::peak_samples

output spectra peak samples read from LAMS board in ISR.

◆ ram_clear_addr

unsigned long LAMS_board::ram_clear_addr

◆ read_queue

wait_queue_head_t LAMS_board::read_queue

user read & poll methods wait on this

◆ reglock

spinlock_t LAMS_board::reglock

◆ specPointSkip

int LAMS_board::specPointSkip

Initial points to skip in the spectrum.

◆ status

struct lams_status LAMS_board::status

◆ worker

struct work_struct LAMS_board::worker

Referenced by lams_bottom_half().


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