diff options
author | Mike <mjc@avtechpulse.com> | 2000-01-01 00:27:08 +0900 |
---|---|---|
committer | Mike <mjc@avtechpulse.com> | 2000-01-01 00:27:08 +0900 |
commit | 53d1703cafbddaebaf9a87ce008f1d7cfbce2841 (patch) | |
tree | 443d5ce354012c83cc203f93d7c181b3f52125f4 | |
parent | 71b03e356dc608900e6c1b71d4301c7b8d4d6cd6 (diff) |
add TODO for Monday
-rw-r--r-- | device-functions.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/device-functions.c b/device-functions.c index 7c10704..f5878ae 100644 --- a/device-functions.c +++ b/device-functions.c @@ -230,6 +230,11 @@ void set_dac(int dac, int word) { /* allows dacs to be disabled (using dac=-1, for example) */ if ((dac >= 0) && (dac < max_dacs)) { + + // TODO: is this one of the ampl DACs? + // If so, calculate |%change| in DAC and multiply by settling time max. + // Then, see if it is larger than any previously calculated settling times (other chans). + // Reset settling time at end of main update. globals.Registers.parallel_DAC_reg[dac]=word; g_print_debug(": set dac %d to %d\n\r",dac,word); } |