EFM32 Zero Gecko Software Documentation  efm32zg-doc-5.1.2
efm32zg_devinfo.h
Go to the documentation of this file.
1 /**************************************************************************/
32 /**************************************************************************/
36 /**************************************************************************/
40 typedef struct
41 {
42  __IM uint32_t CAL;
43  __IM uint32_t ADC0CAL0;
44  __IM uint32_t ADC0CAL1;
45  __IM uint32_t ADC0CAL2;
46  uint32_t RESERVED0[2];
47  __IM uint32_t IDAC0CAL0;
48  uint32_t RESERVED1[2];
49  __IM uint32_t AUXHFRCOCAL0;
50  __IM uint32_t AUXHFRCOCAL1;
51  __IM uint32_t HFRCOCAL0;
52  __IM uint32_t HFRCOCAL1;
53  __IM uint32_t MEMINFO;
54  uint32_t RESERVED2[2];
55  __IM uint32_t UNIQUEL;
56  __IM uint32_t UNIQUEH;
57  __IM uint32_t MSIZE;
58  __IM uint32_t PART;
61 /**************************************************************************/
65 /* Bit fields for EFM32ZG_DEVINFO */
66 #define _DEVINFO_CAL_CRC_MASK 0x0000FFFFUL
67 #define _DEVINFO_CAL_CRC_SHIFT 0
68 #define _DEVINFO_CAL_TEMP_MASK 0x00FF0000UL
69 #define _DEVINFO_CAL_TEMP_SHIFT 16
70 #define _DEVINFO_ADC0CAL0_1V25_GAIN_MASK 0x00007F00UL
71 #define _DEVINFO_ADC0CAL0_1V25_GAIN_SHIFT 8
72 #define _DEVINFO_ADC0CAL0_1V25_OFFSET_MASK 0x0000007FUL
73 #define _DEVINFO_ADC0CAL0_1V25_OFFSET_SHIFT 0
74 #define _DEVINFO_ADC0CAL0_2V5_GAIN_MASK 0x7F000000UL
75 #define _DEVINFO_ADC0CAL0_2V5_GAIN_SHIFT 24
76 #define _DEVINFO_ADC0CAL0_2V5_OFFSET_MASK 0x007F0000UL
77 #define _DEVINFO_ADC0CAL0_2V5_OFFSET_SHIFT 16
78 #define _DEVINFO_ADC0CAL1_VDD_GAIN_MASK 0x00007F00UL
79 #define _DEVINFO_ADC0CAL1_VDD_GAIN_SHIFT 8
80 #define _DEVINFO_ADC0CAL1_VDD_OFFSET_MASK 0x0000007FUL
81 #define _DEVINFO_ADC0CAL1_VDD_OFFSET_SHIFT 0
82 #define _DEVINFO_ADC0CAL1_5VDIFF_GAIN_MASK 0x7F000000UL
83 #define _DEVINFO_ADC0CAL1_5VDIFF_GAIN_SHIFT 24
84 #define _DEVINFO_ADC0CAL1_5VDIFF_OFFSET_MASK 0x007F0000UL
85 #define _DEVINFO_ADC0CAL1_5VDIFF_OFFSET_SHIFT 16
86 #define _DEVINFO_ADC0CAL2_2XVDDVSS_OFFSET_MASK 0x0000007FUL
87 #define _DEVINFO_ADC0CAL2_2XVDDVSS_OFFSET_SHIFT 0
88 #define _DEVINFO_ADC0CAL2_TEMP1V25_MASK 0xFFF00000UL
89 #define _DEVINFO_ADC0CAL2_TEMP1V25_SHIFT 20
90 #define _DEVINFO_IDAC0CAL0_RANGE0_MASK 0x000000FFUL
91 #define _DEVINFO_IDAC0CAL0_RANGE0_SHIFT 0
92 #define _DEVINFO_IDAC0CAL0_RANGE1_MASK 0x0000FF00UL
93 #define _DEVINFO_IDAC0CAL0_RANGE1_SHIFT 8
94 #define _DEVINFO_IDAC0CAL0_RANGE2_MASK 0x00FF0000UL
95 #define _DEVINFO_IDAC0CAL0_RANGE2_SHIFT 16
96 #define _DEVINFO_IDAC0CAL0_RANGE3_MASK 0xFF000000UL
97 #define _DEVINFO_IDAC0CAL0_RANGE3_SHIFT 24
98 #define _DEVINFO_AUXHFRCOCAL0_BAND1_MASK 0x000000FFUL
99 #define _DEVINFO_AUXHFRCOCAL0_BAND1_SHIFT 0
100 #define _DEVINFO_AUXHFRCOCAL0_BAND7_MASK 0x0000FF00UL
101 #define _DEVINFO_AUXHFRCOCAL0_BAND7_SHIFT 8
102 #define _DEVINFO_AUXHFRCOCAL0_BAND11_MASK 0x00FF0000UL
103 #define _DEVINFO_AUXHFRCOCAL0_BAND11_SHIFT 16
104 #define _DEVINFO_AUXHFRCOCAL0_BAND14_MASK 0xFF000000UL
105 #define _DEVINFO_AUXHFRCOCAL0_BAND14_SHIFT 24
106 #define _DEVINFO_AUXHFRCOCAL1_BAND21_MASK 0x000000FFUL
107 #define _DEVINFO_AUXHFRCOCAL1_BAND21_SHIFT 0
108 #define _DEVINFO_HFRCOCAL0_BAND1_MASK 0x000000FFUL
109 #define _DEVINFO_HFRCOCAL0_BAND1_SHIFT 0
110 #define _DEVINFO_HFRCOCAL0_BAND7_MASK 0x0000FF00UL
111 #define _DEVINFO_HFRCOCAL0_BAND7_SHIFT 8
112 #define _DEVINFO_HFRCOCAL0_BAND11_MASK 0x00FF0000UL
113 #define _DEVINFO_HFRCOCAL0_BAND11_SHIFT 16
114 #define _DEVINFO_HFRCOCAL0_BAND14_MASK 0xFF000000UL
115 #define _DEVINFO_HFRCOCAL0_BAND14_SHIFT 24
116 #define _DEVINFO_HFRCOCAL1_BAND21_MASK 0x000000FFUL
117 #define _DEVINFO_HFRCOCAL1_BAND21_SHIFT 0
118 #define _DEVINFO_MEMINFO_FLASH_PAGE_SIZE_MASK 0xFF000000UL
119 #define _DEVINFO_MEMINFO_FLASH_PAGE_SIZE_SHIFT 24
120 #define _DEVINFO_UNIQUEL_MASK 0xFFFFFFFFUL
121 #define _DEVINFO_UNIQUEL_SHIFT 0
122 #define _DEVINFO_UNIQUEH_MASK 0xFFFFFFFFUL
123 #define _DEVINFO_UNIQUEH_SHIFT 0
124 #define _DEVINFO_MSIZE_SRAM_MASK 0xFFFF0000UL
125 #define _DEVINFO_MSIZE_SRAM_SHIFT 16
126 #define _DEVINFO_MSIZE_FLASH_MASK 0x0000FFFFUL
127 #define _DEVINFO_MSIZE_FLASH_SHIFT 0
128 #define _DEVINFO_PART_PROD_REV_MASK 0xFF000000UL
129 #define _DEVINFO_PART_PROD_REV_SHIFT 24
130 #define _DEVINFO_PART_DEVICE_FAMILY_MASK 0x00FF0000UL
131 #define _DEVINFO_PART_DEVICE_FAMILY_SHIFT 16
132 /* Legacy family #defines */
133 #define _DEVINFO_PART_DEVICE_FAMILY_G 71
134 #define _DEVINFO_PART_DEVICE_FAMILY_GG 72
135 #define _DEVINFO_PART_DEVICE_FAMILY_TG 73
136 #define _DEVINFO_PART_DEVICE_FAMILY_LG 74
137 #define _DEVINFO_PART_DEVICE_FAMILY_WG 75
138 #define _DEVINFO_PART_DEVICE_FAMILY_ZG 76
139 #define _DEVINFO_PART_DEVICE_FAMILY_HG 77
140 /* New style family #defines */
141 #define _DEVINFO_PART_DEVICE_FAMILY_EFM32G 71
142 #define _DEVINFO_PART_DEVICE_FAMILY_EFM32GG 72
143 #define _DEVINFO_PART_DEVICE_FAMILY_EFM32TG 73
144 #define _DEVINFO_PART_DEVICE_FAMILY_EFM32LG 74
145 #define _DEVINFO_PART_DEVICE_FAMILY_EFM32WG 75
146 #define _DEVINFO_PART_DEVICE_FAMILY_EFM32ZG 76
147 #define _DEVINFO_PART_DEVICE_FAMILY_EFM32HG 77
148 #define _DEVINFO_PART_DEVICE_FAMILY_EZR32WG 120
149 #define _DEVINFO_PART_DEVICE_FAMILY_EZR32LG 121
150 #define _DEVINFO_PART_DEVICE_FAMILY_EZR32HG 122
151 #define _DEVINFO_PART_DEVICE_NUMBER_MASK 0x0000FFFFUL
152 #define _DEVINFO_PART_DEVICE_NUMBER_SHIFT 0
__IM uint32_t UNIQUEH
__IM uint32_t AUXHFRCOCAL0
__IM uint32_t AUXHFRCOCAL1
__IM uint32_t MSIZE
__IM uint32_t ADC0CAL0
__IM uint32_t MEMINFO
__IM uint32_t IDAC0CAL0
__IM uint32_t ADC0CAL1
__IM uint32_t PART
__IM uint32_t UNIQUEL
__IM uint32_t HFRCOCAL1
__IM uint32_t CAL
__IM uint32_t ADC0CAL2
__IM uint32_t HFRCOCAL0