forgot to git add header

This commit is contained in:
Markus Rosenstihl 2017-02-02 08:15:23 +01:00
parent 3da3b70ddd
commit 72b0d17a33

View File

@ -15,6 +15,8 @@ class AD5791: public GenericDAC {
protected:
/// The channel for the latch signal
int latch_bit;
int clock_bit;
int data_bit;
public:
int id;
@ -23,7 +25,9 @@ public:
virtual void set_dac(signed dw);
// virtual void set_dac_ttls(signed value);
void set_latch_bit(int le_bit);
void set_latch_bit(int bit);
void set_clock_bit(int bit);
void set_data_bit(int bit);
/**
inserts necessary serial data transmission to set the dac, at the end of experiment reset the dac
@ -42,6 +46,10 @@ public:
void set_dac_control(state_sequent* exp_sequence, state::iterator where, int input_shift_register);
state_sequent *tx_bit(unsigned int bit);
state_sequent *select_input_shift_register(unsigned int register_address);
state_sequent *write_serial_register(unsigned int register_value);
};
/*class pfg_exception: public std::string {