Merge pull request #105 from UncleRus/master
Removed sdk_system_get_vdd() (function missing from binary RTOS SDK 0.9.9)
This commit is contained in:
commit
dd0bbc15a1
1 changed files with 1 additions and 8 deletions
|
@ -73,16 +73,9 @@ uint8_t sdk_system_get_cpu_freq(void);
|
||||||
Measure voltage on the TOUT pin, 1V max. Returns 10 bits ADC value (1/1024V).
|
Measure voltage on the TOUT pin, 1V max. Returns 10 bits ADC value (1/1024V).
|
||||||
Voltage range 0 .. 1.0V. RF must be enabled.
|
Voltage range 0 .. 1.0V. RF must be enabled.
|
||||||
Example:
|
Example:
|
||||||
printf ("ADC voltage %.3f", 1.0 / 1024 * sdk_system_adc_read());
|
printf ("ADC voltage is %.3f", 1.0 / 1024 * sdk_system_adc_read());
|
||||||
*/
|
*/
|
||||||
uint16_t sdk_system_adc_read(void);
|
uint16_t sdk_system_adc_read(void);
|
||||||
/*
|
|
||||||
Measure power voltage. Returns 10 bits ADC value (1/1024V).
|
|
||||||
TOUT pin must be floating and RF must be enabled.
|
|
||||||
Example:
|
|
||||||
printf ("Power voltage %.3f", 1.0 / 1024 * sdk_system_get_vdd33());
|
|
||||||
*/
|
|
||||||
uint16_t sdk_system_get_vdd33(void);
|
|
||||||
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
|
Loading…
Reference in a new issue