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

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

Collaboration diagram for LEMPLUG_INFO:

Data Fields

LEMPLUG_SETTINGS dd_settings
 private settings of the device driver More...
 
float outlet_state [8]
 current state of the power outlets More...
 
char outlet_name [8][NAME_LENGTH]
 name of the power outlets More...
 
INT num_channels
 number of channels More...
 
INT(* bd )(INT cmd,...)
 bus driver entry function More...
 
void * bd_info
 private info of bus driver More...
 
HNDLE hkey
 ODB key for bus driver info. More...
 
int startup_error
 flag indicating any satrtup error More...
 
DWORD read_time_stamp
 time stamp when the last reading took place More...
 

Detailed Description

This structure contains private variables for the device driver.

Definition at line 63 of file lemplug.c.

Field Documentation

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

bus driver entry function

Definition at line 68 of file lemplug.c.

Referenced by lemplug_exit(), and lemplug_init().

void* LEMPLUG_INFO::bd_info

private info of bus driver

Definition at line 69 of file lemplug.c.

Referenced by lemplug_exit(), and lemplug_init().

LEMPLUG_SETTINGS LEMPLUG_INFO::dd_settings

private settings of the device driver

Definition at line 64 of file lemplug.c.

Referenced by lemplug_cmd_0(), lemplug_cmd_1(), lemplug_cmd_2(), lemplug_get(), lemplug_init(), lemplug_read_0(), lemplug_set(), and lemplug_write_log().

HNDLE LEMPLUG_INFO::hkey

ODB key for bus driver info.

Definition at line 70 of file lemplug.c.

Referenced by lemplug_init().

INT LEMPLUG_INFO::num_channels

number of channels

Definition at line 67 of file lemplug.c.

Referenced by lemplug_init().

char LEMPLUG_INFO::outlet_name[8][NAME_LENGTH]

name of the power outlets

Definition at line 66 of file lemplug.c.

Referenced by lemplug_read_0().

float LEMPLUG_INFO::outlet_state[8]

current state of the power outlets

Definition at line 65 of file lemplug.c.

Referenced by lemplug_cmd_1(), lemplug_cmd_2(), lemplug_get(), and lemplug_read_0().

DWORD LEMPLUG_INFO::read_time_stamp

time stamp when the last reading took place

Definition at line 72 of file lemplug.c.

Referenced by lemplug_get(), and lemplug_init().

int LEMPLUG_INFO::startup_error

flag indicating any satrtup error

Definition at line 71 of file lemplug.c.

Referenced by lemplug_get(), lemplug_init(), and lemplug_set().


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