transport_register() is only used within OpenOCD.
 
Symbols
loading...
Files
loading...

transport_register() function

Registers a transport. There are general purpose transports (such as JTAG), as well as relatively proprietary ones which are specific to a given chip (or chip family). Code implementing a transport needs to register it before it can be selected and then activated. This is a dynamic process, so that chips (and families) can define transports as needed (without needing error-prone static tables).

Syntax

int transport_register(struct transport *new_transport);
Implemented in transport.c:129

Arguments

new_transport

the transport being registered. On a successful return, this memory is owned by the transport framework.

Return value

ERROR_OK on success, else a fault code.

Call Tree

Functions calling transport_register()
Functions called by transport_register()
transport_register()
strcmp()
all items filtered out
Data read by transport_register()
Data written by transport_register()
transport_register()
transport_register()::t
all items filtered out
Type of transport_register()
transport_register()
all items filtered out