diff options
author | root <root@xena.domain.avtechpulse.com> | 2012-08-23 07:37:59 -0400 |
---|---|---|
committer | root <root@xena.domain.avtechpulse.com> | 2012-08-23 07:37:59 -0400 |
commit | 923edbae71bfe8bb465f017de119e2a3f1fbd1e2 (patch) | |
tree | ed2c5339b6ace6f095d88ff3a103f72e4b6083eb /globals.h | |
parent | ce531762ff2cd0e33a01c67f3ce856ffa880e908 (diff) |
add all ChannelState fields
Diffstat (limited to 'globals.h')
-rw-r--r-- | globals.h | 43 |
1 files changed, 41 insertions, 2 deletions
@@ -130,10 +130,49 @@ typedef struct { - float frequency; - // this will be enlarged later + float frequency; /* the global frequency variable */ + float delay; /* the global delay variable */ + float pw; /* the global pulse width variable */ + float amplitude; /* peak-to-peak amplitude */ + float offset; /* offset */ + + float offset_null; /* add to offset to null, if required */ + /* not part of sav/rcl, generated by amplitude routines */ + + float Curr_Mon_value; /* current monitor reading */ + float displayed_mon_val; /* used to determine when LCD update is required */ + int Curr_Mon_offset; /* current monitor ADC offset */ + + int zout; /* Zout in ohms, integer */ + int hold_setting; /* pw or duty cycle hold when prf changed */ + int double_pulse; /* 1=on, 0=off */ + int ab_mode; /* a/b mode */ + int func_mode; /* dc or pulse */ + int polarity; /* noninverted or inverted */ + int output_state; /* on or off */ + int gate_type; /* lo=sync, hi=async */ + int trigger_source; /* int, ext, or manual */ + int amp_mode; /* normal amplitude control or EA */ + int gate_level; /* lo or hi */ + float load_type; /* normally 50 or 10000 ohms, for duty cycle limit control */ + int test_delay_mode; /* special test mode */ + int logic_level; /* ecl or ttl */ + int route_primary; /* channel number that is active */ + int route_secondary; /* channel number that is active */ + int os_mode; /* normal offset control or EO */ + int burst_count; /* number of pulses per burst */ + float burst_time; /* time between falling edge and next rising edge */ + float rise_time; /* time between falling edge and next rising edge */ + float soft_current_limit; /* adjustable protection trip-point */ + float slew; /* slew rate */ + + float vcc1; /* AVRQ control voltages */ + float vcc2; + float vlogic; + } ChannelStruct; + #pragma pack(push) /* push current alignment to stack */ #pragma pack(1) typedef struct { |