Home
last modified time | relevance | path

Searched refs:stlink_current_mode (Results 1 – 9 of 9) sorted by relevance

/dports/devel/stlink/stlink-1.7.0/tests/
H A Dusb.c35 printf("mode before doing anything: %d\n", stlink_current_mode(sl)); in main()
37 if (stlink_current_mode(sl) == STLINK_DEV_DFU_MODE) { in main()
45 printf("-- mode after entering swd mode: %d\n", stlink_current_mode(sl)); in main()
H A Dsg.c45 stlink_current_mode(sl); in main()
203 stlink_current_mode(sl); in main()
/dports/devel/stlink/stlink-1.7.0/src/st-info/
H A Dinfo.c111 if (stlink_current_mode(sl) == STLINK_DEV_DFU_MODE) { stlink_exit_dfu_mode(sl); } in print_data()
113 if (stlink_current_mode(sl) != STLINK_DEV_DEBUG_MODE) { stlink_enter_swd_mode(sl); } in print_data()
/dports/devel/stlink/stlink-1.7.0/src/st-flash/
H A Dflash.c87 if (stlink_current_mode(sl) == STLINK_DEV_DFU_MODE) { in main()
94 if (stlink_current_mode(sl) != STLINK_DEV_DEBUG_MODE) { in main()
/dports/devel/stlink/stlink-1.7.0/inc/
H A Dstlink.h274 int stlink_current_mode(stlink_t *sl);
/dports/devel/stlink/stlink-1.7.0/src/stlink-gui/
H A Dgui.c508 if (stlink_current_mode(gui->sl) == STLINK_DEV_DFU_MODE) { in connect_button_cb()
512 if (stlink_current_mode(gui->sl) != STLINK_DEV_DEBUG_MODE) { in connect_button_cb()
/dports/devel/stlink/stlink-1.7.0/src/stlink-lib/
H A Dsg.c1084 switch (stlink_current_mode(sl)) { in stlink_v1_open_inner()
H A Dusb.c1346 if (stlink_current_mode(sl) == STLINK_DEV_DFU_MODE) { in stlink_open_usb()
/dports/devel/stlink/stlink-1.7.0/src/
H A Dcommon.c2089 int stlink_current_mode(stlink_t *sl) { in stlink_current_mode() function
4739 if (stlink_current_mode(sl) != STLINK_DEV_DEBUG_MODE) { in stlink_target_connect()
4761 if (stlink_current_mode(sl) != STLINK_DEV_DEBUG_MODE) { in stlink_target_connect()