Low-Energy Muon (LEM) Experiment  0.5.1
W6100_INFO Struct Reference

This structure contains private variables for the device driver. More...

Collaboration diagram for W6100_INFO:

Data Fields

W6100_IN_SETTINGS w6100_in_settings
 ODB hot-link data for the DD. More...
 
W6100_OUT_SETTINGS w6100_out_settings
 ODB hot-link data for the DD. More...
 
HNDLE hkey
 holds the ODB key to the DD More...
 
INT num_channels_in
 number of in-channels More...
 
INT num_channels_out
 number of out-channels More...
 
W6100_param param
 stores internal parameter of the controller More...
 
INT(* bd )(INT cmd,...)
 bus driver entry function More...
 
void * bd_info
 private info of bus driver More...
 
INT remote
 remote tag, 1=remote, 0=local More...
 
INT errorcount
 error counter More...
 
INT startup_error
 startup error tag More...
 
DWORD lasterrtime
 timer for error handling More...
 
INT readback_failure
 counts the number of readback failures More...
 
int bd_connected
 flag showing if bus driver is connected More...
 
int first_bd_error
 flag showing if the bus driver error message is already given More...
 
DWORD last_reconnect
 timer for bus driver reconnect error handling More...
 

Detailed Description

This structure contains private variables for the device driver.

Definition at line 107 of file west6100.c.

Field Documentation

INT(* W6100_INFO::bd)(INT cmd,...)

bus driver entry function

Definition at line 114 of file west6100.c.

Referenced by w6100_exit(), w6100_get(), and w6100_in_init().

int W6100_INFO::bd_connected

flag showing if bus driver is connected

Definition at line 121 of file west6100.c.

Referenced by w6100_get(), w6100_in_init(), and w6100_set().

void* W6100_INFO::bd_info

private info of bus driver

Definition at line 115 of file west6100.c.

Referenced by w6100_exit(), w6100_get(), and w6100_in_init().

INT W6100_INFO::errorcount

error counter

Definition at line 117 of file west6100.c.

Referenced by w6100_error(), w6100_get(), and w6100_in_init().

int W6100_INFO::first_bd_error

flag showing if the bus driver error message is already given

Definition at line 122 of file west6100.c.

Referenced by w6100_get(), w6100_in_init(), and w6100_set().

HNDLE W6100_INFO::hkey

holds the ODB key to the DD

Definition at line 110 of file west6100.c.

Referenced by w6100_get(), and w6100_in_init().

DWORD W6100_INFO::last_reconnect

timer for bus driver reconnect error handling

Definition at line 123 of file west6100.c.

Referenced by w6100_get(), and w6100_in_init().

DWORD W6100_INFO::lasterrtime

timer for error handling

Definition at line 119 of file west6100.c.

Referenced by w6100_error(), w6100_get(), and w6100_in_init().

INT W6100_INFO::num_channels_in

number of in-channels

Definition at line 111 of file west6100.c.

Referenced by w6100_in_init().

INT W6100_INFO::num_channels_out

number of out-channels

Definition at line 112 of file west6100.c.

Referenced by w6100_out_init().

W6100_param W6100_INFO::param

stores internal parameter of the controller

Definition at line 113 of file west6100.c.

Referenced by w6100_in_init(), w6100_set(), w6100_set_ctrl(), w6100_set_manual(), and w6100_set_pressure().

INT W6100_INFO::readback_failure

counts the number of readback failures

Definition at line 120 of file west6100.c.

Referenced by w6100_get(), and w6100_in_init().

INT W6100_INFO::remote

remote tag, 1=remote, 0=local

Definition at line 116 of file west6100.c.

Referenced by w6100_in_init(), and w6100_set().

INT W6100_INFO::startup_error

startup error tag

Definition at line 118 of file west6100.c.

Referenced by w6100_get(), w6100_in_init(), w6100_out_init(), and w6100_set().

W6100_IN_SETTINGS W6100_INFO::w6100_in_settings

ODB hot-link data for the DD.

Definition at line 108 of file west6100.c.

Referenced by w6100_exit(), w6100_forced_update(), w6100_get(), w6100_in_get_label(), w6100_in_init(), and w6100_set().

W6100_OUT_SETTINGS W6100_INFO::w6100_out_settings

ODB hot-link data for the DD.

Definition at line 109 of file west6100.c.

Referenced by w6100_out_get_label(), and w6100_out_init().


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