#[non_exhaustive]
pub enum Interface {
    Jtag,
    Swd,
    Bdm3,
    Fine,
    Pic32Icsp,
    Spi,
    C2,
    CJtag,
    Mc2WireJtag,
}
Expand description

List of target interfaces.

Note that this library might not support all of them, despite listing them here.

Variants (Non-exhaustive)

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.

Jtag

JTAG interface (IEEE 1149.1). Supported by most J-Link probes (some embedded J-Links might only support SWD).

Swd

SWD interface (Serial Wire Debug), used by most Cortex-M chips, and supported by almost all J-Link probes.

Bdm3

Background Debug Mode 3, a single-wire debug interface used on some NXP microcontrollers.

Fine

FINE, a two-wire debugging interface used by Renesas RX MCUs.

Note: due to a bug, attempting to select FINE with JayLink::select_inferface will currently hang the probe.

Pic32Icsp

In-Circuit System Programming (ICSP) interface of PIC32 chips.

Spi

Serial Peripheral Interface (for SPI Flash programming).

C2

Silicon Labs’ 2-wire debug interface.

CJtag

cJTAG, or compact JTAG, as specified in IEEE 1149.7.

Mc2WireJtag

2-wire debugging interface used by Microchip’s IS208x MCUs.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.