Configurable ADC internal sensor calibration values
commit37bee1dcbcc404896bffe76e947fb810aeba2710
authorjflyper <shinoda@jaist.ac.jp>
Wed, 7 Nov 2018 08:39:01 +0000 (7 17:39 +0900)
committerjflyper <shinoda@jaist.ac.jp>
Thu, 8 Nov 2018 16:26:43 +0000 (9 01:26 +0900)
tree6a30265de9dbf867645f56d24d68cf5aa282dcd2
parent0ad3fbb5fca9e02efb5dc2d0a44b164f38d38baa
Configurable ADC internal sensor calibration values

There are MCUs without calibration values for VREFINT and temperature sensors.
Also changed adcTSSlopeK to signed, to handle negative slope case.
src/main/drivers/adc.c
src/main/drivers/adc.h
src/main/drivers/adc_stm32f4xx.c
src/main/interface/settings.c
src/main/pg/adc.c
src/main/pg/adc.h