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

Go to the source code of this file.

Functions

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

Variables

static const char *const jep106 [][126]
 

Function Documentation

◆ 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().

Variable Documentation

◆ jep106

const char* const jep106[][126]
static
Initial value:
= {
}

Definition at line 15 of file jep106.c.

Referenced by jep106_table_manufacturer().