document ADC command 2

This commit is contained in:
2018-04-01 20:40:57 +02:00
parent 7cff1e27b7
commit 5f7c087924
+18
View File
@@ -46,6 +46,24 @@ float overhead.
*Response:* *Response:*
- float32[] - values for enabled channels, ascending order - float32[] - values for enabled channels, ascending order
### READ_CAL_CONSTANTS (2)
Read calibration constants for the internal voltage reference and the temperature sensor.
See the reference manual for conversion formulas and other details (RM0091, chapter ADC).
Those constants are stored in ROM after factory testing.
*NOTE:* The given tolerances are valid for STM32F072
*Response:*
- u16 - VREFINT_CAL - ADC raw value for VREFINT, 30°C ambient
- u16 - VREFINT_CAL_VADCREF - Analog reference voltage during VREFINT calibration (mV), ±10mV - *always 3300*
- u16 - TSENSE_CAL1 - ADC raw value in point 1
- u16 - TSENSE_CAL2 - ADC raw value in point 2
- u8 - TSENSE_CAL1_TEMP - Temperature for point 1 (Celsius), ±5°C - *always 30*
- u8 - TSENSE_CAL2_TEMP - Temperature for point 2 (Celsius), ±5°C - *always 110*
- u16 - TSENSE_CAL_VADCREF - Analog reference voltage during TSENSE calibration (mV), ±10mV - *always 3300*
### GET_ENABLED_CHANNELS (10) ### GET_ENABLED_CHANNELS (10)
Get numbers of all enabled channels. Get numbers of all enabled channels.