/* External interface functions */
int jlink_execute_queue(void);
int jlink_speed(int speed);
+int jlink_speed_div(int speed, int* khz);
int jlink_khz(int khz, int *jtag_speed);
int jlink_register_commands(struct command_context_s *cmd_ctx);
int jlink_init(void);
.name = "jlink",
.execute_queue = jlink_execute_queue,
.speed = jlink_speed,
+ .speed_div = jlink_speed_div,
.khz = jlink_khz,
.register_commands = jlink_register_commands,
.init = jlink_init,
return ERROR_OK;
}
+int jlink_speed_div(int speed, int* khz)
+{
+ *khz = speed;
+
+ return ERROR_OK;
+}
+
int jlink_khz(int khz, int *jtag_speed)
{
*jtag_speed = khz;