]> git.sur5r.net Git - freertos/blob - FreeRTOS/Demo/CORTEX_EFM32_Gecko_Starter_Kit_Simplicity_Studio/Source/SilLabs_Code/Device/SiliconLabs/EFM32WG/Include/efm32wg_romtable.h
Added a build configuration for the Wonder Gecko starter kit to the existing Giant...
[freertos] / FreeRTOS / Demo / CORTEX_EFM32_Gecko_Starter_Kit_Simplicity_Studio / Source / SilLabs_Code / Device / SiliconLabs / EFM32WG / Include / efm32wg_romtable.h
1 /**************************************************************************//**\r
2  * @file efm32wg_romtable.h\r
3  * @brief EFM32WG_ROMTABLE register and bit field definitions\r
4  * @version 4.0.0\r
5  ******************************************************************************\r
6  * @section License\r
7  * <b>(C) Copyright 2015 Silicon Laboratories, Inc. http://www.silabs.com</b>\r
8  ******************************************************************************\r
9  *\r
10  * Permission is granted to anyone to use this software for any purpose,\r
11  * including commercial applications, and to alter it and redistribute it\r
12  * freely, subject to the following restrictions:\r
13  *\r
14  * 1. The origin of this software must not be misrepresented; you must not\r
15  *    claim that you wrote the original software.@n\r
16  * 2. Altered source versions must be plainly marked as such, and must not be\r
17  *    misrepresented as being the original software.@n\r
18  * 3. This notice may not be removed or altered from any source distribution.\r
19  *\r
20  * DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Laboratories, Inc.\r
21  * has no obligation to support this Software. Silicon Laboratories, Inc. is\r
22  * providing the Software "AS IS", with no express or implied warranties of any\r
23  * kind, including, but not limited to, any implied warranties of\r
24  * merchantability or fitness for any particular purpose or warranties against\r
25  * infringement of any proprietary rights of a third party.\r
26  *\r
27  * Silicon Laboratories, Inc. will not be liable for any consequential,\r
28  * incidental, or special damages, or any other relief, or for any claim by\r
29  * any third party, arising from your use of this Software.\r
30  *\r
31  *****************************************************************************/\r
32 /**************************************************************************//**\r
33  * @defgroup EFM32WG_ROMTABLE\r
34  * @{\r
35  * @brief Chip Information, Revision numbers\r
36  *****************************************************************************/\r
37 typedef struct\r
38 {\r
39   __I uint32_t PID4; /**< JEP_106_BANK */\r
40   __I uint32_t PID5; /**< Unused */\r
41   __I uint32_t PID6; /**< Unused */\r
42   __I uint32_t PID7; /**< Unused */\r
43   __I uint32_t PID0; /**< Chip family LSB, chip major revision */\r
44   __I uint32_t PID1; /**< JEP_106_NO, Chip family MSB */\r
45   __I uint32_t PID2; /**< Chip minor rev MSB, JEP_106_PRESENT, JEP_106_NO */\r
46   __I uint32_t PID3; /**< Chip minor rev LSB */\r
47   __I uint32_t CID0; /**< Unused */\r
48 } ROMTABLE_TypeDef;  /** @} */\r
49 \r
50 /**************************************************************************//**\r
51  * @defgroup EFM32WG_ROMTABLE_BitFields\r
52  * @{\r
53  *****************************************************************************/\r
54 /* Bit fields for EFM32WG_ROMTABLE */\r
55 #define _ROMTABLE_PID0_FAMILYLSB_MASK       0x000000C0UL /**< Least Significant Bits [1:0] of CHIP FAMILY, mask */\r
56 #define _ROMTABLE_PID0_FAMILYLSB_SHIFT      6            /**< Least Significant Bits [1:0] of CHIP FAMILY, shift */\r
57 #define _ROMTABLE_PID0_REVMAJOR_MASK        0x0000003FUL /**< CHIP MAJOR Revison, mask */\r
58 #define _ROMTABLE_PID0_REVMAJOR_SHIFT       0            /**< CHIP MAJOR Revison, shift */\r
59 #define _ROMTABLE_PID1_FAMILYMSB_MASK       0x0000000FUL /**< Most Significant Bits [5:2] of CHIP FAMILY, mask */\r
60 #define _ROMTABLE_PID1_FAMILYMSB_SHIFT      0            /**< Most Significant Bits [5:2] of CHIP FAMILY, shift */\r
61 #define _ROMTABLE_PID2_REVMINORMSB_MASK     0x000000F0UL /**< Most Significant Bits [7:4] of CHIP MINOR revision, mask */\r
62 #define _ROMTABLE_PID2_REVMINORMSB_SHIFT    4            /**< Most Significant Bits [7:4] of CHIP MINOR revision, mask */\r
63 #define _ROMTABLE_PID3_REVMINORLSB_MASK     0x000000F0UL /**< Least Significant Bits [3:0] of CHIP MINOR revision, mask */\r
64 #define _ROMTABLE_PID3_REVMINORLSB_SHIFT    4            /**< Least Significant Bits [3:0] of CHIP MINOR revision, shift */\r
65 \r
66 /** @} End of group EFM32WG_ROMTABLE */\r
67 \r
68 \r