forgot to git add header
This commit is contained in:
parent
3da3b70ddd
commit
72b0d17a33
@ -15,6 +15,8 @@ class AD5791: public GenericDAC {
|
|||||||
protected:
|
protected:
|
||||||
/// The channel for the latch signal
|
/// The channel for the latch signal
|
||||||
int latch_bit;
|
int latch_bit;
|
||||||
|
int clock_bit;
|
||||||
|
int data_bit;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
int id;
|
int id;
|
||||||
@ -23,7 +25,9 @@ public:
|
|||||||
virtual void set_dac(signed dw);
|
virtual void set_dac(signed dw);
|
||||||
// virtual void set_dac_ttls(signed value);
|
// 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
|
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);
|
void set_dac_control(state_sequent* exp_sequence, state::iterator where, int input_shift_register);
|
||||||
|
|
||||||
state_sequent *tx_bit(unsigned int bit);
|
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 {
|
/*class pfg_exception: public std::string {
|
||||||
|
Loading…
Reference in New Issue
Block a user