#[non_exhaustive]pub enum Interface {
Jtag = 0,
Swd = 1,
Bdm3 = 2,
Fine = 3,
Pic32Icsp = 4,
Spi = 5,
C2 = 6,
CJtag = 7,
Mc2WireJtag = 10,
}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
Jtag = 0
JTAG interface (IEEE 1149.1). Supported by most J-Link probes (some embedded J-Links might only support SWD).
Swd = 1
SWD interface (Serial Wire Debug), used by most Cortex-M chips, and supported by almost all J-Link probes.
Bdm3 = 2
Background Debug Mode 3, a single-wire debug interface used on some NXP microcontrollers.
Fine = 3
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 = 4
In-Circuit System Programming (ICSP) interface of PIC32 chips.
Spi = 5
Serial Peripheral Interface (for SPI Flash programming).
C2 = 6
Silicon Labs’ 2-wire debug interface.
CJtag = 7
cJTAG, or compact JTAG, as specified in IEEE 1149.7.
Mc2WireJtag = 10
2-wire debugging interface used by Microchip’s IS208x MCUs.