OpenOCD
jep106.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

static const char * jep106_manufacturer (unsigned int manufacturer)
 
const char * jep106_table_manufacturer (unsigned int bank, unsigned int id)
 Get the manufacturer name associated with a JEP106 ID. More...
 

Function Documentation

◆ jep106_manufacturer()

static const char* jep106_manufacturer ( unsigned int  manufacturer)
inlinestatic

Definition at line 21 of file jep106.h.

References jep106_table_manufacturer().

Referenced by dap_info_cs_component(), and jtag_examine_chain_display().

◆ jep106_table_manufacturer()

const char* jep106_table_manufacturer ( unsigned int  bank,
unsigned int  id 
)

Get the manufacturer name associated with a JEP106 ID.

Parameters
bankThe bank (number of continuation codes) of the manufacturer ID.
idThe 7-bit manufacturer ID (i.e. with parity stripped).
Returns
A pointer to static const storage containing the name of the manufacturer associated with bank and id, or one of the strings "<invalid>" and "<unknown>".

Definition at line 19 of file jep106.c.

References ARRAY_SIZE, bank, id, jep106, and LOG_DEBUG.

Referenced by jep106_manufacturer().