Skip to content

Mcu

MCU

This module enables the access to low level microcontroller functionalities like:

  • unique identifiers
  • soft reset

function reset_reason

reset_reason()

Returns the code related to last board reset reason.

function reset

reset()

Restarts the microcontroller.

function uid

uid()

Returns a bytes object containing the unique id of the mcu.

function info

info()

Returns a tuple with Zerynth target and Zerynth SDK version.

function reset_on_exception

reset_on_exception(default=True)

Sets the Zerynth board to reset on python exception.

function reset_on_outofmemory

reset_on_outofmemory(default=True)

Sets the Zerynth board to reset on out of RAM memory.