aboutsummaryrefslogtreecommitdiff
path: root/shared-bindings/microcontroller/RunMode.c
diff options
context:
space:
mode:
authordherrada <dylan.herrada@gmail.com>2020-05-07 15:59:52 -0400
committerdherrada <dylan.herrada@gmail.com>2020-05-07 15:59:52 -0400
commite31e9eeaa1e1dad1bd2243b7be76012aa2ee64b8 (patch)
tree1daaec28f2c720b735bb0336c09b6b068efa6158 /shared-bindings/microcontroller/RunMode.c
parent4f33a20d17c7b7688e5dd1ee37346ff2d4f4a340 (diff)
Did math, microcontroller, and multiterminal
Diffstat (limited to 'shared-bindings/microcontroller/RunMode.c')
-rw-r--r--shared-bindings/microcontroller/RunMode.c37
1 files changed, 17 insertions, 20 deletions
diff --git a/shared-bindings/microcontroller/RunMode.c b/shared-bindings/microcontroller/RunMode.c
index 913242ad2..df3ff4186 100644
--- a/shared-bindings/microcontroller/RunMode.c
+++ b/shared-bindings/microcontroller/RunMode.c
@@ -26,34 +26,31 @@
#include "shared-bindings/microcontroller/RunMode.h"
-//| .. currentmodule:: microcontroller
+//| class RunMode:
+//| """.. currentmodule:: microcontroller
//|
-//| :class:`RunMode` -- run state of the microcontroller
-//| =============================================================
+//| :class:`RunMode` -- run state of the microcontroller
+//| ============================================================="""
//|
-//| .. class:: RunMode()
+//| def __init__(self, ):
+//| """Enum-like class to define the run mode of the microcontroller and
+//| CircuitPython."""
//|
-//| Enum-like class to define the run mode of the microcontroller and
-//| CircuitPython.
+//| NORMAL: Any = ...
+//| """Run CircuitPython as normal.
//|
-//| .. attribute:: NORMAL
+//| :type microcontroller.RunMode:"""
//|
-//| Run CircuitPython as normal.
+//| SAFE_MODE: Any = ...
+//| """Run CircuitPython in safe mode. User code will not be run and the
+//| file system will be writeable over USB.
//|
-//| :type microcontroller.RunMode:
+//| :type microcontroller.RunMode:"""
//|
-//| .. attribute:: SAFE_MODE
+//| BOOTLOADER: Any = ...
+//| """Run the bootloader.
//|
-//| 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;