1 /***************************************************************************//** 2 * @file 3 * @brief EFM32GG12B_ROMTABLE register and bit field definitions 4 ******************************************************************************* 5 * # License 6 * <b>Copyright 2022 Silicon Laboratories Inc. www.silabs.com</b> 7 ******************************************************************************* 8 * 9 * SPDX-License-Identifier: Zlib 10 * 11 * The licensor of this software is Silicon Laboratories Inc. 12 * 13 * This software is provided 'as-is', without any express or implied 14 * warranty. In no event will the authors be held liable for any damages 15 * arising from the use of this software. 16 * 17 * Permission is granted to anyone to use this software for any purpose, 18 * including commercial applications, and to alter it and redistribute it 19 * freely, subject to the following restrictions: 20 * 21 * 1. The origin of this software must not be misrepresented; you must not 22 * claim that you wrote the original software. If you use this software 23 * in a product, an acknowledgment in the product documentation would be 24 * appreciated but is not required. 25 * 2. Altered source versions must be plainly marked as such, and must not be 26 * misrepresented as being the original software. 27 * 3. This notice may not be removed or altered from any source distribution. 28 * 29 ******************************************************************************/ 30 31 #if defined(__ICCARM__) 32 #pragma system_include /* Treat file as system include file. */ 33 #elif defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050) 34 #pragma clang system_header /* Treat file as system include file. */ 35 #endif 36 37 /***************************************************************************//** 38 * @addtogroup Parts 39 * @{ 40 ******************************************************************************/ 41 /***************************************************************************//** 42 * @defgroup EFM32GG12B_ROMTABLE ROM Table, Chip Revision Information 43 * @{ 44 * @brief Chip Information, Revision numbers 45 ******************************************************************************/ 46 /** ROMTABLE Register Declaration */ 47 typedef struct { 48 __IM uint32_t PID4; /**< JEP_106_BANK */ 49 __IM uint32_t PID5; /**< Unused */ 50 __IM uint32_t PID6; /**< Unused */ 51 __IM uint32_t PID7; /**< Unused */ 52 __IM uint32_t PID0; /**< Chip family LSB, chip major revision */ 53 __IM uint32_t PID1; /**< JEP_106_NO, Chip family MSB */ 54 __IM uint32_t PID2; /**< Chip minor rev MSB, JEP_106_PRESENT, JEP_106_NO */ 55 __IM uint32_t PID3; /**< Chip minor rev LSB */ 56 __IM uint32_t CID0; /**< Unused */ 57 } ROMTABLE_TypeDef; /** @} */ 58 59 /***************************************************************************//** 60 * @addtogroup EFM32GG12B_ROMTABLE 61 * @{ 62 * @defgroup EFM32GG12B_ROMTABLE_BitFields ROM Table Bit Field definitions 63 * @{ 64 ******************************************************************************/ 65 /* Bit fields for EFM32GG12B_ROMTABLE */ 66 #define _ROMTABLE_PID0_FAMILYLSB_MASK 0x000000C0UL /**< Least Significant Bits [1:0] of CHIP FAMILY, mask */ 67 #define _ROMTABLE_PID0_FAMILYLSB_SHIFT 6 /**< Least Significant Bits [1:0] of CHIP FAMILY, shift */ 68 #define _ROMTABLE_PID0_REVMAJOR_MASK 0x0000003FUL /**< CHIP MAJOR Revison, mask */ 69 #define _ROMTABLE_PID0_REVMAJOR_SHIFT 0 /**< CHIP MAJOR Revison, shift */ 70 #define _ROMTABLE_PID1_FAMILYMSB_MASK 0x0000000FUL /**< Most Significant Bits [5:2] of CHIP FAMILY, mask */ 71 #define _ROMTABLE_PID1_FAMILYMSB_SHIFT 0 /**< Most Significant Bits [5:2] of CHIP FAMILY, shift */ 72 #define _ROMTABLE_PID2_REVMINORMSB_MASK 0x000000F0UL /**< Most Significant Bits [7:4] of CHIP MINOR revision, mask */ 73 #define _ROMTABLE_PID2_REVMINORMSB_SHIFT 4 /**< Most Significant Bits [7:4] of CHIP MINOR revision, mask */ 74 #define _ROMTABLE_PID3_REVMINORLSB_MASK 0x000000F0UL /**< Least Significant Bits [3:0] of CHIP MINOR revision, mask */ 75 #define _ROMTABLE_PID3_REVMINORLSB_SHIFT 4 /**< Least Significant Bits [3:0] of CHIP MINOR revision, shift */ 76 77 /** @} */ 78 /** @} End of group EFM32GG12B_ROMTABLE */ 79 /** @} End of group Parts */ 80