diff options
| author | Scott Shawcroft <scott@tannewt.org> | 2020-12-02 13:10:39 -0800 |
|---|---|---|
| committer | Scott Shawcroft <scott@tannewt.org> | 2020-12-02 13:10:39 -0800 |
| commit | 608c98501bb90e02a480b2d84032a46f9a4d0737 (patch) | |
| tree | adea018a0c0e714ef33b79a306b69885568b6ad0 /shared-bindings/microcontroller/Processor.h | |
| parent | 34bbcc4910014c3b4646d8005baf8244bac51f03 (diff) | |
| parent | d7ba641ff646b48e5ad38ff72a2dcfe17bb54624 (diff) | |
Merge remote-tracking branch 'adafruit/main' into msgpack
Diffstat (limited to 'shared-bindings/microcontroller/Processor.h')
| -rw-r--r-- | shared-bindings/microcontroller/Processor.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/shared-bindings/microcontroller/Processor.h b/shared-bindings/microcontroller/Processor.h index 0f520f940..98d479087 100644 --- a/shared-bindings/microcontroller/Processor.h +++ b/shared-bindings/microcontroller/Processor.h @@ -30,10 +30,12 @@ #include "py/obj.h" #include "common-hal/microcontroller/Processor.h" +#include "shared-bindings/microcontroller/ResetReason.h" extern const mp_obj_type_t mcu_processor_type; uint32_t common_hal_mcu_processor_get_frequency(void); +mcu_reset_reason_t common_hal_mcu_processor_get_reset_reason(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); |
