summaryrefslogtreecommitdiff
path: root/shared-bindings/microcontroller/RunMode.c
diff options
context:
space:
mode:
authorDavePutz <dwputz@gmail.com>2020-05-19 10:32:32 -0500
committerGitHub <noreply@github.com>2020-05-19 10:32:32 -0500
commit7fa5009674c7741436fd45a3d2009019280aa6f6 (patch)
tree9b9197adc9dfc2a7f7a7466abcfc2259f842c16a /shared-bindings/microcontroller/RunMode.c
parent114f06d8250b4250a7c035f3bb1a2820ca2720d2 (diff)
parent2c2b53303d17e07daa8f7a61740835d30f671a18 (diff)
Merge pull request #4 from adafruit/master
merge from adafruit
Diffstat (limited to 'shared-bindings/microcontroller/RunMode.c')
-rw-r--r--shared-bindings/microcontroller/RunMode.c36
1 files changed, 15 insertions, 21 deletions
diff --git a/shared-bindings/microcontroller/RunMode.c b/shared-bindings/microcontroller/RunMode.c
index 913242ad2..6db315d8d 100644
--- a/shared-bindings/microcontroller/RunMode.c
+++ b/shared-bindings/microcontroller/RunMode.c
@@ -26,34 +26,28 @@
#include "shared-bindings/microcontroller/RunMode.h"
-//| .. currentmodule:: microcontroller
+//| class RunMode:
+//| """run state of the microcontroller"""
//|
-//| :class:`RunMode` -- run state of the microcontroller
-//| =============================================================
+//| def __init__(self, ):
+//| """Enum-like class to define the run mode of the microcontroller and
+//| CircuitPython."""
//|
-//| .. class:: RunMode()
+//| NORMAL: Any = ...
+//| """Run CircuitPython as normal.
//|
-//| Enum-like class to define the run mode of the microcontroller and
-//| CircuitPython.
+//| :type microcontroller.RunMode:"""
//|
-//| .. attribute:: NORMAL
+//| SAFE_MODE: Any = ...
+//| """Run CircuitPython in safe mode. User code will not be run and the
+//| file system will be writeable over USB.
//|
-//| Run CircuitPython as normal.
+//| :type microcontroller.RunMode:"""
//|
-//| :type microcontroller.RunMode:
+//| BOOTLOADER: Any = ...
+//| """Run the bootloader.
//|
-//| .. attribute:: SAFE_MODE
-//|
-//| Run CircuitPython in safe mode. User code will not be run and the
-//| file system will be writeable over USB.
-//|
-//| :type microcontroller.RunMode:
-//|
-//| .. attribute:: BOOTLOADER
-//|
-//| Run the bootloader.
-//|
-//| :type microcontroller.RunMode:
+//| :type microcontroller.RunMode:"""
//|
const mp_obj_type_t mcu_runmode_type;