RunMode – run state of the microcontroller

class microcontroller.RunMode

Enum-like class to define the run mode of the microcontroller and CircuitPython.

NORMAL

Run CircuitPython as normal.

SAFE_MODE

Run CircuitPython in safe mode. User code will not be run and the file system will be writeable over USB.

BOOTLOADER

Run the bootloader.