System Peripheral API. More...
![]() |
Data Structures | |
struct | SYSTEM_ChipRevision_TypeDef |
Enumerations | |
enum | SYSTEM_PartFamily_TypeDef { systemPartFamilyUnknown = 0xFF } |
Functions | |
void | SYSTEM_ChipRevisionGet (SYSTEM_ChipRevision_TypeDef *rev) |
Get chip major/minor revision. | |
uint32_t | SYSTEM_GetCalibrationValue (volatile uint32_t *regAddress) |
Get factory calibration value for a given peripheral register. | |
__STATIC_INLINE uint64_t | SYSTEM_GetUnique (void) |
Get the unique number for this part. | |
__STATIC_INLINE uint8_t | SYSTEM_GetProdRev (void) |
Get the production revision for this part. | |
__STATIC_INLINE uint16_t | SYSTEM_GetSRAMSize (void) |
Get the SRAM size (in KB). | |
__STATIC_INLINE uint16_t | SYSTEM_GetFlashSize (void) |
Get the flash size (in KB). | |
__STATIC_INLINE uint32_t | SYSTEM_GetFlashPageSize (void) |
Get the flash page size in bytes. | |
__STATIC_INLINE uint16_t | SYSTEM_GetPartNumber (void) |
Get part number of the MCU. | |
__STATIC_INLINE SYSTEM_PartFamily_TypeDef | SYSTEM_GetFamily (void) |
Get family identifier of the MCU. | |
__STATIC_INLINE uint8_t | SYSTEM_GetCalibrationTemperature (void) |
Get the calibration temperature (in degrees Celsius). |
System Peripheral API.
EFM32 part family identifiers.
systemPartFamilyUnknown |
Unknown Device Family. The family id is missing on unprogrammed parts. |
Definition at line 59 of file em_system.h.
void SYSTEM_ChipRevisionGet | ( | SYSTEM_ChipRevision_TypeDef * | rev | ) |
Get chip major/minor revision.
[out] | rev | Location to place chip revision info. |
Definition at line 59 of file em_system.c.
References SYSTEM_ChipRevision_TypeDef::family, SYSTEM_ChipRevision_TypeDef::major, and SYSTEM_ChipRevision_TypeDef::minor.
Referenced by CHIP_Init().
__STATIC_INLINE uint8_t SYSTEM_GetCalibrationTemperature | ( | void | ) |
Get the calibration temperature (in degrees Celsius).
Definition at line 320 of file em_system.h.
uint32_t SYSTEM_GetCalibrationValue | ( | volatile uint32_t * | regAddress | ) |
Get factory calibration value for a given peripheral register.
[in] | regAddress | Address of register to get a calibration value for. |
Definition at line 91 of file em_system.c.
Referenced by OPAMP_Enable().
__STATIC_INLINE SYSTEM_PartFamily_TypeDef SYSTEM_GetFamily | ( | void | ) |
Get family identifier of the MCU.
Definition at line 305 of file em_system.h.
__STATIC_INLINE uint32_t SYSTEM_GetFlashPageSize | ( | void | ) |
Get the flash page size in bytes.
Definition at line 252 of file em_system.h.
References SYSTEM_GetProdRev().
__STATIC_INLINE uint16_t SYSTEM_GetFlashSize | ( | void | ) |
Get the flash size (in KB).
Definition at line 225 of file em_system.h.
References SYSTEM_GetProdRev().
__STATIC_INLINE uint16_t SYSTEM_GetPartNumber | ( | void | ) |
Get part number of the MCU.
Definition at line 285 of file em_system.h.
__STATIC_INLINE uint8_t SYSTEM_GetProdRev | ( | void | ) |
Get the production revision for this part.
Definition at line 181 of file em_system.h.
Referenced by SYSTEM_GetFlashPageSize(), SYSTEM_GetFlashSize(), and SYSTEM_GetSRAMSize().
__STATIC_INLINE uint16_t SYSTEM_GetSRAMSize | ( | void | ) |
Get the SRAM size (in KB).
Definition at line 199 of file em_system.h.
References SYSTEM_GetProdRev().
__STATIC_INLINE uint64_t SYSTEM_GetUnique | ( | void | ) |
Get the unique number for this part.
Definition at line 169 of file em_system.h.