bool transport_is_stlink(void) { return get_current_transport() == &stlink_transport; }
/** Returns true if the current debug session * is using SWD as its transport. */ bool transport_is_swd(void) { return get_current_transport() == &swd_transport; }
/** Returns true if the current debug session * is using CMSIS-DAP as its transport. */ bool transport_is_cmsis_dap(void) { return get_current_transport() == &cmsis_dap_transport; }