Add accessors to retrieve values of jtag_n{s,t}rst_delay variables.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2112 b42882b7-edfa-0310-969c-e2dbd0fdcd60__archive__
parent
d7c4e1ec93
commit
ae0ba6f355
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue