diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/jtag/jtag.c | 10 | ||||
-rw-r--r-- | src/jtag/jtag.h | 6 |
2 files changed, 14 insertions, 2 deletions
diff --git a/src/jtag/jtag.c b/src/jtag/jtag.c index ec5578b7..885585fd 100644 --- a/src/jtag/jtag.c +++ b/src/jtag/jtag.c @@ -2709,9 +2709,15 @@ void jtag_set_nsrst_delay(unsigned delay) { jtag_nsrst_delay = delay; } +unsigned jtag_get_nsrst_delay(void) +{ + return jtag_nsrst_delay; +} void jtag_set_ntrst_delay(unsigned delay) { jtag_ntrst_delay = delay; } - - +unsigned jtag_get_ntrst_delay(void) +{ + return jtag_ntrst_delay; +} diff --git a/src/jtag/jtag.h b/src/jtag/jtag.h index 809708dc..01ef58cd 100644 --- a/src/jtag/jtag.h +++ b/src/jtag/jtag.h @@ -644,10 +644,16 @@ extern int jtag_add_statemove(tap_state_t goal_state); /// @returns the number of times the scan queue has been flushed int jtag_get_flush_queue_count(void); + void jtag_set_nsrst_delay(unsigned delay); +unsigned jtag_get_nsrst_delay(void); + void jtag_set_ntrst_delay(unsigned delay); +unsigned jtag_get_ntrst_delay(void); + void jtag_set_speed_khz(unsigned speed); unsigned jtag_get_speed_khz(void); + void jtag_set_verify(bool enable); bool jtag_will_verify(void); |