*/
extern int jtag_execute_queue(void);
-/* same as jtag_execute_queue() but does not clear the error flag */
+/// same as jtag_execute_queue() but does not clear the error flag
extern void jtag_execute_queue_noclear(void);
+/// @returns the number of times the scan queue has been flushed
+int jtag_get_flush_queue_count(void);
+
+
/* can be implemented by hw+sw */
extern int jtag_power_dropout(int* dropout);
extern int jtag_srst_asserted(int* srst_asserted);
tap_state_t end_state);
-/// @returns the number of times the scan queue has been flushed
-int jtag_get_flush_queue_count(void);
-
/**
* Set the current JTAG core execution error, unless one was set
* by a previous call previously. Driver or application code must