1 /***************************************************************************
2 * Copyright (C) 2015 Andreas Fritiofson *
3 * andreas.fritiofson@gmail.com *
5 * This program is free software; you can redistribute it and/or modify *
6 * it under the terms of the GNU General Public License as published by *
7 * the Free Software Foundation; either version 2 of the License, or *
8 * (at your option) any later version. *
10 * This program is distributed in the hope that it will be useful, *
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
13 * GNU General Public License for more details. *
14 ***************************************************************************/
20 * Get the manufacturer name associated with a JEP106 ID.
21 * @param bank The bank (number of continuation codes) of the manufacturer ID.
22 * @param id The 7-bit manufacturer ID (i.e. with parity stripped).
23 * @return A pointer to static const storage containing the name of the
24 * manufacturer associated with bank and id, or one of the strings
25 * "<invalid>" and "<unknown>".
27 const char *jep106_manufacturer(unsigned bank, unsigned id);