Krzysztof Sitko / mbed-dev-STM32F031K6

Fork of mbed-dev by mbed official

Committer:
bogdanm
Date:
Thu Oct 01 15:25:22 2015 +0300
Revision:
0:9b334a45a8ff
Child:
50:a417edff4437
Initial commit on mbed-dev

Replaces mbed-src (now inactive)

Who changed what in which revision?

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