The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.
Dependents: hello SerialTestv11 SerialTestv12 Sierpinski ... more
mbed 2
This is the mbed 2 library. If you'd like to learn about Mbed OS please see the mbed-os docs.
TARGET_TB_SENSE_12/TOOLCHAIN_ARM_STD/efr32mg12p_romtable.h@171:3a7713b1edbc, 2018-11-08 (annotated)
- Committer:
- AnnaBridge
- Date:
- Thu Nov 08 11:45:42 2018 +0000
- Revision:
- 171:3a7713b1edbc
- Parent:
- TARGET_TB_SENSE_12/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFR32MG12/device/efr32mg12p_romtable.h@142:4eea097334d6
mbed library. Release version 164
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Anna Bridge |
142:4eea097334d6 | 1 | /**************************************************************************//** |
Anna Bridge |
142:4eea097334d6 | 2 | * @file efr32mg12p_romtable.h |
Anna Bridge |
142:4eea097334d6 | 3 | * @brief EFR32MG12P_ROMTABLE register and bit field definitions |
Anna Bridge |
142:4eea097334d6 | 4 | * @version 5.1.2 |
Anna Bridge |
142:4eea097334d6 | 5 | ****************************************************************************** |
Anna Bridge |
142:4eea097334d6 | 6 | * @section License |
Anna Bridge |
142:4eea097334d6 | 7 | * <b>Copyright 2017 Silicon Laboratories, Inc. http://www.silabs.com</b> |
Anna Bridge |
142:4eea097334d6 | 8 | ****************************************************************************** |
Anna Bridge |
142:4eea097334d6 | 9 | * |
Anna Bridge |
142:4eea097334d6 | 10 | * Permission is granted to anyone to use this software for any purpose, |
Anna Bridge |
142:4eea097334d6 | 11 | * including commercial applications, and to alter it and redistribute it |
Anna Bridge |
142:4eea097334d6 | 12 | * freely, subject to the following restrictions: |
Anna Bridge |
142:4eea097334d6 | 13 | * |
Anna Bridge |
142:4eea097334d6 | 14 | * 1. The origin of this software must not be misrepresented; you must not |
Anna Bridge |
142:4eea097334d6 | 15 | * claim that you wrote the original software.@n |
Anna Bridge |
142:4eea097334d6 | 16 | * 2. Altered source versions must be plainly marked as such, and must not be |
Anna Bridge |
142:4eea097334d6 | 17 | * misrepresented as being the original software.@n |
Anna Bridge |
142:4eea097334d6 | 18 | * 3. This notice may not be removed or altered from any source distribution. |
Anna Bridge |
142:4eea097334d6 | 19 | * |
Anna Bridge |
142:4eea097334d6 | 20 | * DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Laboratories, Inc. |
Anna Bridge |
142:4eea097334d6 | 21 | * has no obligation to support this Software. Silicon Laboratories, Inc. is |
Anna Bridge |
142:4eea097334d6 | 22 | * providing the Software "AS IS", with no express or implied warranties of any |
Anna Bridge |
142:4eea097334d6 | 23 | * kind, including, but not limited to, any implied warranties of |
Anna Bridge |
142:4eea097334d6 | 24 | * merchantability or fitness for any particular purpose or warranties against |
Anna Bridge |
142:4eea097334d6 | 25 | * infringement of any proprietary rights of a third party. |
Anna Bridge |
142:4eea097334d6 | 26 | * |
Anna Bridge |
142:4eea097334d6 | 27 | * Silicon Laboratories, Inc. will not be liable for any consequential, |
Anna Bridge |
142:4eea097334d6 | 28 | * incidental, or special damages, or any other relief, or for any claim by |
Anna Bridge |
142:4eea097334d6 | 29 | * any third party, arising from your use of this Software. |
Anna Bridge |
142:4eea097334d6 | 30 | * |
Anna Bridge |
142:4eea097334d6 | 31 | *****************************************************************************/ |
Anna Bridge |
142:4eea097334d6 | 32 | /**************************************************************************//** |
Anna Bridge |
142:4eea097334d6 | 33 | * @addtogroup Parts |
Anna Bridge |
142:4eea097334d6 | 34 | * @{ |
Anna Bridge |
142:4eea097334d6 | 35 | ******************************************************************************/ |
Anna Bridge |
142:4eea097334d6 | 36 | /**************************************************************************//** |
Anna Bridge |
142:4eea097334d6 | 37 | * @defgroup EFR32MG12P_ROMTABLE |
Anna Bridge |
142:4eea097334d6 | 38 | * @{ |
Anna Bridge |
142:4eea097334d6 | 39 | * @brief Chip Information, Revision numbers |
Anna Bridge |
142:4eea097334d6 | 40 | *****************************************************************************/ |
Anna Bridge |
142:4eea097334d6 | 41 | typedef struct |
Anna Bridge |
142:4eea097334d6 | 42 | { |
Anna Bridge |
142:4eea097334d6 | 43 | __IM uint32_t PID4; /**< JEP_106_BANK */ |
Anna Bridge |
142:4eea097334d6 | 44 | __IM uint32_t PID5; /**< Unused */ |
Anna Bridge |
142:4eea097334d6 | 45 | __IM uint32_t PID6; /**< Unused */ |
Anna Bridge |
142:4eea097334d6 | 46 | __IM uint32_t PID7; /**< Unused */ |
Anna Bridge |
142:4eea097334d6 | 47 | __IM uint32_t PID0; /**< Chip family LSB, chip major revision */ |
Anna Bridge |
142:4eea097334d6 | 48 | __IM uint32_t PID1; /**< JEP_106_NO, Chip family MSB */ |
Anna Bridge |
142:4eea097334d6 | 49 | __IM uint32_t PID2; /**< Chip minor rev MSB, JEP_106_PRESENT, JEP_106_NO */ |
Anna Bridge |
142:4eea097334d6 | 50 | __IM uint32_t PID3; /**< Chip minor rev LSB */ |
Anna Bridge |
142:4eea097334d6 | 51 | __IM uint32_t CID0; /**< Unused */ |
Anna Bridge |
142:4eea097334d6 | 52 | } ROMTABLE_TypeDef; /** @} */ |
Anna Bridge |
142:4eea097334d6 | 53 | |
Anna Bridge |
142:4eea097334d6 | 54 | /**************************************************************************//** |
Anna Bridge |
142:4eea097334d6 | 55 | * @defgroup EFR32MG12P_ROMTABLE_BitFields |
Anna Bridge |
142:4eea097334d6 | 56 | * @{ |
Anna Bridge |
142:4eea097334d6 | 57 | *****************************************************************************/ |
Anna Bridge |
142:4eea097334d6 | 58 | /* Bit fields for EFR32MG12P_ROMTABLE */ |
Anna Bridge |
142:4eea097334d6 | 59 | #define _ROMTABLE_PID0_FAMILYLSB_MASK 0x000000C0UL /**< Least Significant Bits [1:0] of CHIP FAMILY, mask */ |
Anna Bridge |
142:4eea097334d6 | 60 | #define _ROMTABLE_PID0_FAMILYLSB_SHIFT 6 /**< Least Significant Bits [1:0] of CHIP FAMILY, shift */ |
Anna Bridge |
142:4eea097334d6 | 61 | #define _ROMTABLE_PID0_REVMAJOR_MASK 0x0000003FUL /**< CHIP MAJOR Revison, mask */ |
Anna Bridge |
142:4eea097334d6 | 62 | #define _ROMTABLE_PID0_REVMAJOR_SHIFT 0 /**< CHIP MAJOR Revison, shift */ |
Anna Bridge |
142:4eea097334d6 | 63 | #define _ROMTABLE_PID1_FAMILYMSB_MASK 0x0000000FUL /**< Most Significant Bits [5:2] of CHIP FAMILY, mask */ |
Anna Bridge |
142:4eea097334d6 | 64 | #define _ROMTABLE_PID1_FAMILYMSB_SHIFT 0 /**< Most Significant Bits [5:2] of CHIP FAMILY, shift */ |
Anna Bridge |
142:4eea097334d6 | 65 | #define _ROMTABLE_PID2_REVMINORMSB_MASK 0x000000F0UL /**< Most Significant Bits [7:4] of CHIP MINOR revision, mask */ |
Anna Bridge |
142:4eea097334d6 | 66 | #define _ROMTABLE_PID2_REVMINORMSB_SHIFT 4 /**< Most Significant Bits [7:4] of CHIP MINOR revision, mask */ |
Anna Bridge |
142:4eea097334d6 | 67 | #define _ROMTABLE_PID3_REVMINORLSB_MASK 0x000000F0UL /**< Least Significant Bits [3:0] of CHIP MINOR revision, mask */ |
Anna Bridge |
142:4eea097334d6 | 68 | #define _ROMTABLE_PID3_REVMINORLSB_SHIFT 4 /**< Least Significant Bits [3:0] of CHIP MINOR revision, shift */ |
Anna Bridge |
142:4eea097334d6 | 69 | |
Anna Bridge |
142:4eea097334d6 | 70 | /** @} End of group EFR32MG12P_ROMTABLE */ |
Anna Bridge |
142:4eea097334d6 | 71 | /** @} End of group Parts */ |
Anna Bridge |
142:4eea097334d6 | 72 |