Compare commits
No commits in common. "c11e2767c28a1ff1c593144ac23ace6f5f7c9e9f" and "df870da929a8a27e6f0af99e08d0ffec988db960" have entirely different histories.
c11e2767c2
...
df870da929
1 changed files with 6 additions and 6 deletions
|
|
@ -97,12 +97,12 @@ static inline void wdt_kick()
|
|||
// 3: ±0.3125 Vref = ± 1.28V 3: 6: NTC, 0…5V
|
||||
// b: ±0.15625 Vref = ± 0.64V 4: 6: Vprim/11, 0…5V
|
||||
// 5: 0…2.5 Vref = 0…10.24V 5: 6: 5V/2, 0…5V
|
||||
// 6: 0.1,25 Vref = 0… 5.12V 6: 1: I_bias, ±5V
|
||||
// 6: 0.1,25 Vref = 0… 5.12V 6: 2: I_bias, ±2.56V
|
||||
// 7: 0.625 Vref = 0… 2.56V 7: 5: Idrv, 0…10V
|
||||
// f: 0.3125 Vref = 0… 1.28V A: dac
|
||||
|
||||
#ifndef ADC_GAIN
|
||||
# define ADC_GAINS 0x5166615bUL
|
||||
# define ADC_GAINS 0x5266615bUL
|
||||
#endif
|
||||
|
||||
#define MAGIC 0xc05c
|
||||
|
|
@ -160,7 +160,7 @@ const struct conf runconf[] = {
|
|||
[0] = { // Default
|
||||
.magic = MAGIC,
|
||||
.version = VERSION,
|
||||
.flags = FLAG_ADCCONF | FLAG_DACADC,
|
||||
.flags = FLAG_RAMP | FLAG_ADCCONF | FLAG_DACADC,
|
||||
.flags2 = FLAG2_HVOSC | FLAG2_HVLED | FLAG2_INPDIS,
|
||||
.wdt_mode = 1,
|
||||
.wdt_timeout = 120, // 2 min
|
||||
|
|
@ -194,10 +194,10 @@ const struct conf runconf[] = {
|
|||
.hvadc_n = 2,
|
||||
.hvadc_safe = 0,
|
||||
.ddrc = 2, // OC1B HVOSC
|
||||
.hvosc_freq = 60,
|
||||
.hvosc_dc = 18,
|
||||
.hvosc_freq = 55,
|
||||
.hvosc_dc = 14,
|
||||
.dac_off = 1000,
|
||||
.dac_nominal = 46411, // 800 V
|
||||
.dac_nominal = 34832, // 700 V
|
||||
.inpdis = 0x3f,
|
||||
},
|
||||
[2] = { // SAFE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue