11 #ifndef OPENOCD_JTAG_HLA_HLA_LAYOUT_H
12 #define OPENOCD_JTAG_HLA_HLA_LAYOUT_H
37 int (*
run)(
void *handle);
53 int (*
read_reg)(
void *handle,
unsigned int regsel, uint32_t *val);
62 int (*
write_reg)(
void *handle,
unsigned int regsel, uint32_t val);
87 int (*
speed)(
void *handle,
int khz,
bool query);
102 unsigned int *trace_freq,
unsigned int traceclkin_freq,
103 uint16_t *prescaler);
static struct aice_port_param_s param
Holds the interface to ITM and DWT configuration functions.
static struct libusb_device_handle * adapter
const struct hl_layout * hl_layout_get_list(void)
struct hl_layout_api_s stlink_usb_layout_api
struct hl_layout_api_s nulink_usb_layout_api
int hl_layout_init(struct hl_interface_s *adapter)
struct hl_layout_api_s icdi_usb_layout_api
size_t size
Size of the control block search area.
int(* write_debug_reg)(void *handle, uint32_t addr, uint32_t val)
int(* poll_trace)(void *handle, uint8_t *buf, size_t *size)
Poll for new trace data.
enum target_state(* state)(void *fd)
int(* speed)(void *handle, int khz, bool query)
int(* halt)(void *handle)
int(* read_regs)(void *handle)
int(* override_target)(const char *targetname)
int(* custom_command)(void *handle, const char *command)
int(* write_reg)(void *handle, unsigned int regsel, uint32_t val)
Write one register to the target.
int(* idcode)(void *handle, uint32_t *idcode)
Read the idcode of the target connected to the adapter.
int(* read_mem)(void *handle, uint32_t addr, uint32_t size, uint32_t count, uint8_t *buffer)
int(* write_mem)(void *handle, uint32_t addr, uint32_t size, uint32_t count, const uint8_t *buffer)
int(* read_reg)(void *handle, unsigned int regsel, uint32_t *val)
Read one register from the target.
int(* config_trace)(void *handle, bool enabled, enum tpiu_pin_protocol pin_protocol, uint32_t port_size, unsigned int *trace_freq, unsigned int traceclkin_freq, uint16_t *prescaler)
Configure trace parameters for the adapter.
int(* close)(void *handle)
int(* open)(struct hl_interface_param_s *param, void **handle)
int(* step)(void *handle)
int(* reset)(void *handle)
int(* assert_srst)(void *handle, int srst)
struct hl_layout_api_s * api
int(* close)(struct hl_interface_s *adapter)
int(* open)(struct hl_interface_s *adapter)