EFM32 Gecko Software Documentation
efm32g-doc-5.1.2
Main Page
Modules
Files
Documentation Home
silabs.com
File List
efm32g_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
DAC0CAL0
;
48
__IM uint32_t
DAC0CAL1
;
49
__IM uint32_t
DAC0CAL2
;
50
uint32_t RESERVED1[2];
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
;
59
}
DEVINFO_TypeDef
;
61
/**************************************************************************/
65
/* Bit fields for EFM32G_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_DAC0CAL0_1V25_GAIN_MASK 0x007F0000UL
91
#define _DEVINFO_DAC0CAL0_1V25_GAIN_SHIFT 16
92
#define _DEVINFO_DAC0CAL0_1V25_CH1_OFFSET_MASK 0x00003F00UL
93
#define _DEVINFO_DAC0CAL0_1V25_CH1_OFFSET_SHIFT 8
94
#define _DEVINFO_DAC0CAL0_1V25_CH0_OFFSET_MASK 0x0000003FUL
95
#define _DEVINFO_DAC0CAL0_1V25_CH0_OFFSET_SHIFT 0
96
#define _DEVINFO_DAC0CAL1_2V5_GAIN_MASK 0x007F0000UL
97
#define _DEVINFO_DAC0CAL1_2V5_GAIN_SHIFT 16
98
#define _DEVINFO_DAC0CAL1_2V5_CH1_OFFSET_MASK 0x00003F00UL
99
#define _DEVINFO_DAC0CAL1_2V5_CH1_OFFSET_SHIFT 8
100
#define _DEVINFO_DAC0CAL1_2V5_CH0_OFFSET_MASK 0x0000003FUL
101
#define _DEVINFO_DAC0CAL1_2V5_CH0_OFFSET_SHIFT 0
102
#define _DEVINFO_DAC0CAL2_VDD_GAIN_MASK 0x007F0000UL
103
#define _DEVINFO_DAC0CAL2_VDD_GAIN_SHIFT 16
104
#define _DEVINFO_DAC0CAL2_VDD_CH1_OFFSET_MASK 0x00003F00UL
105
#define _DEVINFO_DAC0CAL2_VDD_CH1_OFFSET_SHIFT 8
106
#define _DEVINFO_DAC0CAL2_VDD_CH0_OFFSET_MASK 0x0000003FUL
107
#define _DEVINFO_DAC0CAL2_VDD_CH0_OFFSET_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_HFRCOCAL1_BAND28_MASK 0x0000FF00UL
119
#define _DEVINFO_HFRCOCAL1_BAND28_SHIFT 8
120
#define _DEVINFO_MEMINFO_FLASH_PAGE_SIZE_MASK 0xFF000000UL
121
#define _DEVINFO_MEMINFO_FLASH_PAGE_SIZE_SHIFT 24
122
#define _DEVINFO_UNIQUEL_MASK 0xFFFFFFFFUL
123
#define _DEVINFO_UNIQUEL_SHIFT 0
124
#define _DEVINFO_UNIQUEH_MASK 0xFFFFFFFFUL
125
#define _DEVINFO_UNIQUEH_SHIFT 0
126
#define _DEVINFO_MSIZE_SRAM_MASK 0xFFFF0000UL
127
#define _DEVINFO_MSIZE_SRAM_SHIFT 16
128
#define _DEVINFO_MSIZE_FLASH_MASK 0x0000FFFFUL
129
#define _DEVINFO_MSIZE_FLASH_SHIFT 0
130
#define _DEVINFO_PART_PROD_REV_MASK 0xFF000000UL
131
#define _DEVINFO_PART_PROD_REV_SHIFT 24
132
#define _DEVINFO_PART_DEVICE_FAMILY_MASK 0x00FF0000UL
133
#define _DEVINFO_PART_DEVICE_FAMILY_SHIFT 16
134
/* Legacy family #defines */
135
#define _DEVINFO_PART_DEVICE_FAMILY_G 71
136
#define _DEVINFO_PART_DEVICE_FAMILY_GG 72
137
#define _DEVINFO_PART_DEVICE_FAMILY_TG 73
138
#define _DEVINFO_PART_DEVICE_FAMILY_LG 74
139
#define _DEVINFO_PART_DEVICE_FAMILY_WG 75
140
#define _DEVINFO_PART_DEVICE_FAMILY_ZG 76
141
#define _DEVINFO_PART_DEVICE_FAMILY_HG 77
142
/* New style family #defines */
143
#define _DEVINFO_PART_DEVICE_FAMILY_EFM32G 71
144
#define _DEVINFO_PART_DEVICE_FAMILY_EFM32GG 72
145
#define _DEVINFO_PART_DEVICE_FAMILY_EFM32TG 73
146
#define _DEVINFO_PART_DEVICE_FAMILY_EFM32LG 74
147
#define _DEVINFO_PART_DEVICE_FAMILY_EFM32WG 75
148
#define _DEVINFO_PART_DEVICE_FAMILY_EFM32ZG 76
149
#define _DEVINFO_PART_DEVICE_FAMILY_EFM32HG 77
150
#define _DEVINFO_PART_DEVICE_FAMILY_EZR32WG 120
151
#define _DEVINFO_PART_DEVICE_FAMILY_EZR32LG 121
152
#define _DEVINFO_PART_DEVICE_FAMILY_EZR32HG 122
153
#define _DEVINFO_PART_DEVICE_NUMBER_MASK 0x0000FFFFUL
154
#define _DEVINFO_PART_DEVICE_NUMBER_SHIFT 0
DEVINFO_TypeDef::UNIQUEH
__IM uint32_t UNIQUEH
Definition:
efm32g_devinfo.h:56
DEVINFO_TypeDef::DAC0CAL1
__IM uint32_t DAC0CAL1
Definition:
efm32g_devinfo.h:48
DEVINFO_TypeDef::MSIZE
__IM uint32_t MSIZE
Definition:
efm32g_devinfo.h:57
DEVINFO_TypeDef
Definition:
efm32g_devinfo.h:40
DEVINFO_TypeDef::ADC0CAL0
__IM uint32_t ADC0CAL0
Definition:
efm32g_devinfo.h:43
DEVINFO_TypeDef::DAC0CAL0
__IM uint32_t DAC0CAL0
Definition:
efm32g_devinfo.h:47
DEVINFO_TypeDef::MEMINFO
__IM uint32_t MEMINFO
Definition:
efm32g_devinfo.h:53
DEVINFO_TypeDef::ADC0CAL1
__IM uint32_t ADC0CAL1
Definition:
efm32g_devinfo.h:44
DEVINFO_TypeDef::DAC0CAL2
__IM uint32_t DAC0CAL2
Definition:
efm32g_devinfo.h:49
DEVINFO_TypeDef::PART
__IM uint32_t PART
Definition:
efm32g_devinfo.h:58
DEVINFO_TypeDef::UNIQUEL
__IM uint32_t UNIQUEL
Definition:
efm32g_devinfo.h:55
DEVINFO_TypeDef::HFRCOCAL1
__IM uint32_t HFRCOCAL1
Definition:
efm32g_devinfo.h:52
DEVINFO_TypeDef::CAL
__IM uint32_t CAL
Definition:
efm32g_devinfo.h:42
DEVINFO_TypeDef::ADC0CAL2
__IM uint32_t ADC0CAL2
Definition:
efm32g_devinfo.h:45
DEVINFO_TypeDef::HFRCOCAL0
__IM uint32_t HFRCOCAL0
Definition:
efm32g_devinfo.h:51
platform
Device
SiliconLabs
EFM32G
Include
efm32g_devinfo.h
Generated on Thu Mar 9 2017 20:44:29 for EFM32 Gecko Software Documentation by
1.8.10