Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of mbed-dev by
targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_romtable.h@50:a417edff4437, 2016-01-15 (annotated)
- Committer:
- mbed_official
- Date:
- Fri Jan 15 07:45:16 2016 +0000
- Revision:
- 50:a417edff4437
- Parent:
- 0:9b334a45a8ff
- Child:
- 144:ef7eb2e8f9f7
Synchronized with git revision 6010f32619bfcbb01cc73747d4ff9040863482d9
Full URL: https://github.com/mbedmicro/mbed/commit/6010f32619bfcbb01cc73747d4ff9040863482d9/
Remove doubling of buffer size in realiseEndpoint()
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
bogdanm | 0:9b334a45a8ff | 1 | /**************************************************************************//** |
bogdanm | 0:9b334a45a8ff | 2 | * @file efm32wg_romtable.h |
bogdanm | 0:9b334a45a8ff | 3 | * @brief EFM32WG_ROMTABLE register and bit field definitions |
mbed_official | 50:a417edff4437 | 4 | * @version 4.2.0 |
bogdanm | 0:9b334a45a8ff | 5 | ****************************************************************************** |
bogdanm | 0:9b334a45a8ff | 6 | * @section License |
mbed_official | 50:a417edff4437 | 7 | * <b>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 | /**************************************************************************//** |
mbed_official | 50:a417edff4437 | 33 | * @addtogroup Parts |
mbed_official | 50:a417edff4437 | 34 | * @{ |
mbed_official | 50:a417edff4437 | 35 | ******************************************************************************/ |
mbed_official | 50:a417edff4437 | 36 | /**************************************************************************//** |
bogdanm | 0:9b334a45a8ff | 37 | * @defgroup EFM32WG_ROMTABLE |
bogdanm | 0:9b334a45a8ff | 38 | * @{ |
bogdanm | 0:9b334a45a8ff | 39 | * @brief Chip Information, Revision numbers |
bogdanm | 0:9b334a45a8ff | 40 | *****************************************************************************/ |
bogdanm | 0:9b334a45a8ff | 41 | typedef struct |
bogdanm | 0:9b334a45a8ff | 42 | { |
bogdanm | 0:9b334a45a8ff | 43 | __I uint32_t PID4; /**< JEP_106_BANK */ |
bogdanm | 0:9b334a45a8ff | 44 | __I uint32_t PID5; /**< Unused */ |
bogdanm | 0:9b334a45a8ff | 45 | __I uint32_t PID6; /**< Unused */ |
bogdanm | 0:9b334a45a8ff | 46 | __I uint32_t PID7; /**< Unused */ |
bogdanm | 0:9b334a45a8ff | 47 | __I uint32_t PID0; /**< Chip family LSB, chip major revision */ |
bogdanm | 0:9b334a45a8ff | 48 | __I uint32_t PID1; /**< JEP_106_NO, Chip family MSB */ |
bogdanm | 0:9b334a45a8ff | 49 | __I uint32_t PID2; /**< Chip minor rev MSB, JEP_106_PRESENT, JEP_106_NO */ |
bogdanm | 0:9b334a45a8ff | 50 | __I uint32_t PID3; /**< Chip minor rev LSB */ |
bogdanm | 0:9b334a45a8ff | 51 | __I uint32_t CID0; /**< Unused */ |
bogdanm | 0:9b334a45a8ff | 52 | } ROMTABLE_TypeDef; /** @} */ |
bogdanm | 0:9b334a45a8ff | 53 | |
bogdanm | 0:9b334a45a8ff | 54 | /**************************************************************************//** |
bogdanm | 0:9b334a45a8ff | 55 | * @defgroup EFM32WG_ROMTABLE_BitFields |
bogdanm | 0:9b334a45a8ff | 56 | * @{ |
bogdanm | 0:9b334a45a8ff | 57 | *****************************************************************************/ |
bogdanm | 0:9b334a45a8ff | 58 | /* Bit fields for EFM32WG_ROMTABLE */ |
bogdanm | 0:9b334a45a8ff | 59 | #define _ROMTABLE_PID0_FAMILYLSB_MASK 0x000000C0UL /**< Least Significant Bits [1:0] of CHIP FAMILY, mask */ |
bogdanm | 0:9b334a45a8ff | 60 | #define _ROMTABLE_PID0_FAMILYLSB_SHIFT 6 /**< Least Significant Bits [1:0] of CHIP FAMILY, shift */ |
bogdanm | 0:9b334a45a8ff | 61 | #define _ROMTABLE_PID0_REVMAJOR_MASK 0x0000003FUL /**< CHIP MAJOR Revison, mask */ |
bogdanm | 0:9b334a45a8ff | 62 | #define _ROMTABLE_PID0_REVMAJOR_SHIFT 0 /**< CHIP MAJOR Revison, shift */ |
bogdanm | 0:9b334a45a8ff | 63 | #define _ROMTABLE_PID1_FAMILYMSB_MASK 0x0000000FUL /**< Most Significant Bits [5:2] of CHIP FAMILY, mask */ |
bogdanm | 0:9b334a45a8ff | 64 | #define _ROMTABLE_PID1_FAMILYMSB_SHIFT 0 /**< Most Significant Bits [5:2] of CHIP FAMILY, shift */ |
bogdanm | 0:9b334a45a8ff | 65 | #define _ROMTABLE_PID2_REVMINORMSB_MASK 0x000000F0UL /**< Most Significant Bits [7:4] of CHIP MINOR revision, mask */ |
bogdanm | 0:9b334a45a8ff | 66 | #define _ROMTABLE_PID2_REVMINORMSB_SHIFT 4 /**< Most Significant Bits [7:4] of CHIP MINOR revision, mask */ |
bogdanm | 0:9b334a45a8ff | 67 | #define _ROMTABLE_PID3_REVMINORLSB_MASK 0x000000F0UL /**< Least Significant Bits [3:0] of CHIP MINOR revision, mask */ |
bogdanm | 0:9b334a45a8ff | 68 | #define _ROMTABLE_PID3_REVMINORLSB_SHIFT 4 /**< Least Significant Bits [3:0] of CHIP MINOR revision, shift */ |
bogdanm | 0:9b334a45a8ff | 69 | |
bogdanm | 0:9b334a45a8ff | 70 | /** @} End of group EFM32WG_ROMTABLE */ |
mbed_official | 50:a417edff4437 | 71 | /** @} End of group Parts */ |
bogdanm | 0:9b334a45a8ff | 72 |