The official mbed C/C SDK provides the software platform and libraries to build your applications.

Fork of mbed by mbed official

Committer:
Mikchel
Date:
Sun May 03 16:04:42 2015 +0000
Revision:
99:7f6c6de930c0
Parent:
98:8ab26030e058
12

Who changed what in which revision?

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