#[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
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
Auto Trait Implementations
impl RefUnwindSafe for Interface
impl UnwindSafe for Interface
Blanket Implementations
Mutably borrows from an owned value. Read more