Interface ResetConstructors

Set of reset functions for ESP Loader connection. ResetConstructors

Hierarchy

  • ResetConstructors

Properties

classicReset?: ((transport, resetDelay) => ClassicReset)

Type declaration

    • (transport, resetDelay): ClassicReset
    • Execute a classic set of commands that will reset the chip.

      Parameters

      • transport: Transport

        Transport class to perform serial communication.

      • resetDelay: number

        Delay in milliseconds for reset.

      Returns ClassicReset

customReset?: ((transport, sequenceString) => CustomReset)

Type declaration

    • (transport, sequenceString): CustomReset
    • Execute a custom set of commands that will reset the chip.

      Parameters

      • transport: Transport

        Transport class to perform serial communication.

      • sequenceString: string

        Custom string sequence for reset strategy

      Returns CustomReset

hardReset?: ((transport, usingUsbOtg?) => HardReset)

Type declaration

    • (transport, usingUsbOtg?): HardReset
    • Execute a classic set of commands that will reset the chip.

      Parameters

      • transport: Transport

        Transport class to perform serial communication.

      • Optional usingUsbOtg: boolean

        is it using USB-OTG ?

      Returns HardReset

usbJTAGSerialReset?: ((transport) => UsbJtagSerialReset)

Type declaration

Generated using TypeDoc