OpenOCD
hla_layout.c File Reference
Include dependency graph for hla_layout.c:

Go to the source code of this file.

Functions

static int hl_layout_close (struct hl_interface *adapter)
 
const struct hl_layouthl_layout_get_list (void)
 
int hl_layout_init (struct hl_interface *adapter)
 
static int hl_layout_open (struct hl_interface *adapter)
 

Variables

static const struct hl_layout hl_layouts []
 

Function Documentation

◆ hl_layout_close()

static int hl_layout_close ( struct hl_interface adapter)
static

Definition at line 42 of file hla_layout.c.

References ERROR_OK.

◆ hl_layout_get_list()

const struct hl_layout* hl_layout_get_list ( void  )

Definition at line 76 of file hla_layout.c.

References hl_layouts.

Referenced by COMMAND_HANDLER().

◆ hl_layout_init()

int hl_layout_init ( struct hl_interface adapter)

Definition at line 81 of file hla_layout.c.

References adapter, ERROR_FAIL, ERROR_OK, LOG_DEBUG, and LOG_ERROR.

Referenced by hl_interface_init().

◆ hl_layout_open()

static int hl_layout_open ( struct hl_interface adapter)
static

Definition at line 24 of file hla_layout.c.

References adapter, ERROR_OK, LOG_DEBUG, and NULL.

Variable Documentation

◆ hl_layouts

const struct hl_layout hl_layouts[]
static
Initial value:
= {
{.name = NULL, },
}
#define NULL
Definition: usb.h:16

Definition at line 42 of file hla_layout.c.

Referenced by hl_layout_get_list().