adapter_get_speed_readable() is only used within OpenOCD.
 
Symbols
loading...
Files
loading...
CodeScopeDevelopment ToolsOpenOCDadapter_get_speed_readable()

adapter_get_speed_readable() function

Given a @a speed setting, use the interface @c speed_div callback to adjust the setting.

Syntax

int adapter_get_speed_readable(int *speed);
Implemented in adapter.c:283

Arguments

speed

The speed setting to convert back to readable kHz.

Return value

ERROR_OK if the interface has not been initialized or on success; otherwise, the error code produced by the @c speed_div callback.

References

LocationReferrerText
adapter.c:283
int adapter_get_speed_readable(int *khz)
adapter.h:98
int adapter_get_speed_readable(int *speed);
adapter.c:168adapter_init()
retval = adapter_get_speed_readable(&actual_khz);
adapter.c:726handle_adapter_speed_command()
retval = adapter_get_speed_readable(&cur_speed);
tcl.c:888handle_jtag_rclk_command()
retval = adapter_get_speed_readable(&cur_khz);

Call Tree

Functions calling adapter_get_speed_readable()
Functions called by adapter_get_speed_readable()
adapter_get_speed_readable()
Data read by adapter_get_speed_readable()
adapter_get_speed_readable()::khz
adapter_get_speed_readable()::speed_var
adapter_get_speed_readable()::retval
all items filtered out
adapter_get_speed_readable()