diff options
| author | Dan Halbert <halbert@halwitz.org> | 2019-10-12 15:42:15 -0400 |
|---|---|---|
| committer | Dan Halbert <halbert@halwitz.org> | 2019-10-12 15:42:15 -0400 |
| commit | c1ab2486f9e26c5a61c910cdf08c67d81b92f85b (patch) | |
| tree | b1cc8964a3a3476b03dee6c38be7efd690c99a00 /shared-bindings/microcontroller/Processor.h | |
| parent | 0ccab508f13560d499d87237e25fb4f17913afcb (diff) | |
return chip vcc value
Diffstat (limited to 'shared-bindings/microcontroller/Processor.h')
| -rw-r--r-- | shared-bindings/microcontroller/Processor.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/shared-bindings/microcontroller/Processor.h b/shared-bindings/microcontroller/Processor.h index 28f054420..1088112f4 100644 --- a/shared-bindings/microcontroller/Processor.h +++ b/shared-bindings/microcontroller/Processor.h @@ -36,5 +36,6 @@ const mp_obj_type_t mcu_processor_type; uint32_t common_hal_mcu_processor_get_frequency(void); float common_hal_mcu_processor_get_temperature(void); void common_hal_mcu_processor_get_uid(uint8_t raw_id[]); +float common_hal_mcu_processor_get_voltage(void); #endif // MICROPY_INCLUDED_SHARED_BINDINGS_MICROCONTROLLER_PROCESSOR_H |
