OpenOCD
hl_layout_api
is only used within OpenOCD.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
Development Tools
OpenOCD
hl_layout_api
hl_layout_api struct
Syntax
Show:
Summary
Declaration
Definition
from
hla_layout.h:22
struct
hl_layout_api
;
Implemented in
hla_layout.h:27
Fields
Field
Declared as
Description
hl_layout_api::open
int
(
*
)
(
struct
hl_interface_param
*
param
,
void
*
*
handle
)
hl_layout_api::close
int
(
*
)
(
void
*
handle
)
hl_layout_api::reset
int
(
*
)
(
void
*
handle
)
hl_layout_api::assert_srst
int
(
*
)
(
void
*
handle
,
int
srst
)
hl_layout_api::run
int
(
*
)
(
void
*
handle
)
hl_layout_api::halt
int
(
*
)
(
void
*
handle
)
hl_layout_api::step
int
(
*
)
(
void
*
handle
)
hl_layout_api::read_regs
int
(
*
)
(
void
*
handle
)
hl_layout_api::read_reg
int
(
*
)
(
void
*
handle
,
unsigned
int
regsel
,
uint32_t
*
val
)
Read one register from the target.
hl_layout_api::write_reg
int
(
*
)
(
void
*
handle
,
unsigned
int
regsel
,
uint32_t
val
)
Write one register to the target.
hl_layout_api::read_mem
int
(
*
)
(
void
*
handle
,
uint32_t
addr
,
uint32_t
size
,
uint32_t
count
,
uint8_t
*
buffer
)
hl_layout_api::write_mem
int
(
*
)
(
void
*
handle
,
uint32_t
addr
,
uint32_t
size
,
uint32_t
count
,
const
uint8_t
*
buffer
)
hl_layout_api::write_debug_reg
int
(
*
)
(
void
*
handle
,
uint32_t
addr
,
uint32_t
val
)
hl_layout_api::idcode
int
(
*
)
(
void
*
handle
,
uint32_t
*
idcode
)
Read the idcode of the target connected to the adapter If the adapter doesn't support idcode retrieval, this callback should store 0 to indicate a wildcard match.
hl_layout_api::override_target
int
(
*
)
(
const
char
*
targetname
)
hl_layout_api::custom_command
int
(
*
)
(
void
*
handle
,
const
char
*
command
)
hl_layout_api::speed
int
(
*
)
(
void
*
handle
,
int
khz
,
bool
query
)
hl_layout_api::config_trace
int
(
*
)
(
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.
hl_layout_api::poll_trace
int
(
*
)
(
void
*
handle
,
uint8_t
*
buf
,
size_t
*
size
)
Poll for new trace data.
hl_layout_api::state
enum
target_state
(
*
)
(
void
*
fd
)
Examples
References
from
examples
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out