Fork of the official mbed C/C SDK provides the software platform and libraries to build your applications for RenBED.

Dependents:   1-RenBuggyTimed RenBED_RGB RenBED_RGB_PWM RenBED_RGB

Fork of mbed by mbed official

Committer:
elijahorr
Date:
Thu Apr 14 07:28:54 2016 +0000
Revision:
121:672067c3ada4
Parent:
113:f141b2784e32
.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Kojto 98:8ab26030e058 1 /**************************************************************************//**
Kojto 98:8ab26030e058 2 * @file efm32hg_romtable.h
Kojto 98:8ab26030e058 3 * @brief EFM32HG_ROMTABLE register and bit field definitions
Kojto 113:f141b2784e32 4 * @version 4.2.0
Kojto 98:8ab26030e058 5 ******************************************************************************
Kojto 98:8ab26030e058 6 * @section License
Kojto 113:f141b2784e32 7 * <b>Copyright 2015 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 113:f141b2784e32 33 * @addtogroup Parts
Kojto 113:f141b2784e32 34 * @{
Kojto 113:f141b2784e32 35 ******************************************************************************/
Kojto 113:f141b2784e32 36 /**************************************************************************//**
Kojto 98:8ab26030e058 37 * @defgroup EFM32HG_ROMTABLE
Kojto 98:8ab26030e058 38 * @{
Kojto 98:8ab26030e058 39 * @brief Chip Information, Revision numbers
Kojto 98:8ab26030e058 40 *****************************************************************************/
Kojto 98:8ab26030e058 41 typedef struct
Kojto 98:8ab26030e058 42 {
Kojto 98:8ab26030e058 43 __I uint32_t PID4; /**< JEP_106_BANK */
Kojto 98:8ab26030e058 44 __I uint32_t PID5; /**< Unused */
Kojto 98:8ab26030e058 45 __I uint32_t PID6; /**< Unused */
Kojto 98:8ab26030e058 46 __I uint32_t PID7; /**< Unused */
Kojto 98:8ab26030e058 47 __I uint32_t PID0; /**< Chip family LSB, chip major revision */
Kojto 98:8ab26030e058 48 __I uint32_t PID1; /**< JEP_106_NO, Chip family MSB */
Kojto 98:8ab26030e058 49 __I uint32_t PID2; /**< Chip minor rev MSB, JEP_106_PRESENT, JEP_106_NO */
Kojto 98:8ab26030e058 50 __I uint32_t PID3; /**< Chip minor rev LSB */
Kojto 98:8ab26030e058 51 __I uint32_t CID0; /**< Unused */
Kojto 98:8ab26030e058 52 } ROMTABLE_TypeDef; /** @} */
Kojto 98:8ab26030e058 53
Kojto 98:8ab26030e058 54 /**************************************************************************//**
Kojto 98:8ab26030e058 55 * @defgroup EFM32HG_ROMTABLE_BitFields
Kojto 98:8ab26030e058 56 * @{
Kojto 98:8ab26030e058 57 *****************************************************************************/
Kojto 98:8ab26030e058 58 /* Bit fields for EFM32HG_ROMTABLE */
Kojto 98:8ab26030e058 59 #define _ROMTABLE_PID0_FAMILYLSB_MASK 0x000000C0UL /**< Least Significant Bits [1:0] of CHIP FAMILY, mask */
Kojto 98:8ab26030e058 60 #define _ROMTABLE_PID0_FAMILYLSB_SHIFT 6 /**< Least Significant Bits [1:0] of CHIP FAMILY, shift */
Kojto 98:8ab26030e058 61 #define _ROMTABLE_PID0_REVMAJOR_MASK 0x0000003FUL /**< CHIP MAJOR Revison, mask */
Kojto 98:8ab26030e058 62 #define _ROMTABLE_PID0_REVMAJOR_SHIFT 0 /**< CHIP MAJOR Revison, shift */
Kojto 98:8ab26030e058 63 #define _ROMTABLE_PID1_FAMILYMSB_MASK 0x0000000FUL /**< Most Significant Bits [5:2] of CHIP FAMILY, mask */
Kojto 98:8ab26030e058 64 #define _ROMTABLE_PID1_FAMILYMSB_SHIFT 0 /**< Most Significant Bits [5:2] of CHIP FAMILY, shift */
Kojto 98:8ab26030e058 65 #define _ROMTABLE_PID2_REVMINORMSB_MASK 0x000000F0UL /**< Most Significant Bits [7:4] of CHIP MINOR revision, mask */
Kojto 98:8ab26030e058 66 #define _ROMTABLE_PID2_REVMINORMSB_SHIFT 4 /**< Most Significant Bits [7:4] of CHIP MINOR revision, mask */
Kojto 98:8ab26030e058 67 #define _ROMTABLE_PID3_REVMINORLSB_MASK 0x000000F0UL /**< Least Significant Bits [3:0] of CHIP MINOR revision, mask */
Kojto 98:8ab26030e058 68 #define _ROMTABLE_PID3_REVMINORLSB_SHIFT 4 /**< Least Significant Bits [3:0] of CHIP MINOR revision, shift */
Kojto 98:8ab26030e058 69
Kojto 98:8ab26030e058 70 /** @} End of group EFM32HG_ROMTABLE */
Kojto 113:f141b2784e32 71 /** @} End of group Parts */
Kojto 98:8ab26030e058 72