Class HardReset

Execute a set of commands that will hard reset the chip.

Commands (e.g. R0) are defined by a code (R) and an argument (0).

The commands are:

D: setDTR - 1=True / 0=False

R: setRTS - 1=True / 0=False

W: Wait (time delay) - positive integer number (miliseconds)

Param

Transport class to perform serial communication.

Param

is it using USB-OTG ?

Hierarchy

  • HardReset

Implements

  • ResetStrategy

Constructors

Properties

Methods

Constructors

Properties

transport: Transport
usingUsbOtg: boolean = false

Methods

  • Returns Promise<void>

Generated using TypeDoc