diff options
| author | Selene ToyKeeper | 2020-01-30 23:10:25 -0700 |
|---|---|---|
| committer | Selene ToyKeeper | 2020-01-30 23:10:25 -0700 |
| commit | d275f50525ed9a0950c743faa317c7aa4fe9420b (patch) | |
| tree | 0a288282684a794e4d737289f5adedb0eaf96d02 /tk-attiny.h | |
| parent | switched to a pseudo-rolling-average method to reduce noise, set prescaler ba... (diff) | |
| download | anduril-d275f50525ed9a0950c743faa317c7aa4fe9420b.tar.gz anduril-d275f50525ed9a0950c743faa317c7aa4fe9420b.tar.bz2 anduril-d275f50525ed9a0950c743faa317c7aa4fe9420b.zip | |
saving state of ADC / WDT refactoring before doing more changes... what changed so far:
- removed LVP lowpass and thermal regulation lowpass logic; it's probably redundant now
- slowed ADC deferred logic timing to 4X per second instead of 16X,
because there doesn't seem to be much reason to do it any faster
- reduced thermal event rate-limit to just 1 second, for more responsive regulation
- added "EV_temperature_okay" signal, to help stop adjustments at an appropriate time instead of going to far
- sped up sleep LVP to one measurement every 8 seconds instead of 16,
to help the aux LEDs respond to voltage changes faster
(effect on standby time is negligible)
- make sure the WDT doesn't set the ADC channel or counter... except in standby mode
Diffstat (limited to 'tk-attiny.h')
0 files changed, 0 insertions, 0 deletions
