diff options
| author | sommersoft <sommersoft@users.noreply.github.com> | 2019-06-07 23:41:00 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-06-07 23:41:00 -0500 |
| commit | 9e4396bdcd33740d188a59191e00f8a398ee1ed1 (patch) | |
| tree | 49ccd7d11faa73259a7483631cc21f2afea41373 /shared-bindings/microcontroller/RunMode.c | |
| parent | 84e89146d003890ec3e64a9adf7d7889601baf0e (diff) | |
| parent | cfe24b85322a029758c3376eed2726657397bf33 (diff) | |
Merge pull request #1920 from tannewt/fix_rst
Improve rST consistency for rst2pyi use
Diffstat (limited to 'shared-bindings/microcontroller/RunMode.c')
| -rw-r--r-- | shared-bindings/microcontroller/RunMode.c | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/shared-bindings/microcontroller/RunMode.c b/shared-bindings/microcontroller/RunMode.c index 7c3f84fca..913242ad2 100644 --- a/shared-bindings/microcontroller/RunMode.c +++ b/shared-bindings/microcontroller/RunMode.c @@ -31,24 +31,30 @@ //| :class:`RunMode` -- run state of the microcontroller //| ============================================================= //| -//| .. class:: microcontroller.RunMode +//| .. class:: RunMode() //| //| Enum-like class to define the run mode of the microcontroller and //| CircuitPython. //| -//| .. data:: NORMAL +//| .. attribute:: NORMAL //| //| Run CircuitPython as normal. //| -//| .. data:: SAFE_MODE +//| :type microcontroller.RunMode: +//| +//| .. attribute:: SAFE_MODE //| //| Run CircuitPython in safe mode. User code will not be run and the //| file system will be writeable over USB. //| -//| .. data:: BOOTLOADER +//| :type microcontroller.RunMode: +//| +//| .. attribute:: BOOTLOADER //| //| Run the bootloader. //| +//| :type microcontroller.RunMode: +//| const mp_obj_type_t mcu_runmode_type; const mcu_runmode_obj_t mcu_runmode_normal_obj = { |
