diff options
| author | Chris Osterwood <osterwood@gmail.com> | 2019-08-08 14:14:23 -0400 |
|---|---|---|
| committer | Chris Osterwood <osterwood@gmail.com> | 2019-08-08 14:14:23 -0400 |
| commit | fb2712410e49e2e056ca1900b9c49bb0831bad74 (patch) | |
| tree | 8959d4afaa94175a870a5268ed638bac620a9023 /shared-bindings/microcontroller/RunMode.c | |
| parent | 97e7fea517cef72926ac4e8d30c711a59226f259 (diff) | |
| parent | 47a0b7cba141efb0909d74db3401ae902f6e9a96 (diff) | |
Merge branch 'master' into capablerobot-usbhub
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 = { |
