-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
simplicity_sdk: add EFR32FG23 device
Origin: Simplicity SDK License: Zlib URL: https://github.com/SiliconLabs/simplicity_sdk Commit: 19a4476b12e9e827cbdd89c58141494fea188a67 Version: 2024.6.2 Purpose: HAL for EFR32ZG23 Silicon Labs device Signed-off-by: Yishai Jaffe <[email protected]>
- Loading branch information
1 parent
b258374
commit 6371fa8
Showing
60 changed files
with
44,370 additions
and
0 deletions.
There are no files selected for viewing
654 changes: 654 additions & 0 deletions
654
simplicity_sdk/platform/Device/SiliconLabs/EFR32ZG23/Include/efr32zg23_acmp.h
Large diffs are not rendered by default.
Oops, something went wrong.
453 changes: 453 additions & 0 deletions
453
simplicity_sdk/platform/Device/SiliconLabs/EFR32ZG23/Include/efr32zg23_aes.h
Large diffs are not rendered by default.
Oops, something went wrong.
80 changes: 80 additions & 0 deletions
80
simplicity_sdk/platform/Device/SiliconLabs/EFR32ZG23/Include/efr32zg23_buram.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
/**************************************************************************//** | ||
* @file | ||
* @brief EFR32ZG23 BURAM register and bit field definitions | ||
****************************************************************************** | ||
* # License | ||
* <b>Copyright 2024 Silicon Laboratories, Inc. www.silabs.com</b> | ||
****************************************************************************** | ||
* | ||
* SPDX-License-Identifier: Zlib | ||
* | ||
* The licensor of this software is Silicon Laboratories Inc. | ||
* | ||
* This software is provided 'as-is', without any express or implied | ||
* warranty. In no event will the authors be held liable for any damages | ||
* arising from the use of this software. | ||
* | ||
* Permission is granted to anyone to use this software for any purpose, | ||
* including commercial applications, and to alter it and redistribute it | ||
* freely, subject to the following restrictions: | ||
* | ||
* 1. The origin of this software must not be misrepresented; you must not | ||
* claim that you wrote the original software. If you use this software | ||
* in a product, an acknowledgment in the product documentation would be | ||
* appreciated but is not required. | ||
* 2. Altered source versions must be plainly marked as such, and must not be | ||
* misrepresented as being the original software. | ||
* 3. This notice may not be removed or altered from any source distribution. | ||
* | ||
*****************************************************************************/ | ||
#ifndef EFR32ZG23_BURAM_H | ||
#define EFR32ZG23_BURAM_H | ||
#define BURAM_HAS_SET_CLEAR | ||
|
||
/**************************************************************************//** | ||
* @addtogroup Parts | ||
* @{ | ||
******************************************************************************/ | ||
/**************************************************************************//** | ||
* @defgroup EFR32ZG23_BURAM BURAM | ||
* @{ | ||
* @brief EFR32ZG23 BURAM Register Declaration. | ||
*****************************************************************************/ | ||
|
||
/** BURAM RET Register Group Declaration. */ | ||
typedef struct buram_ret_typedef{ | ||
__IOM uint32_t REG; /**< Retention Register */ | ||
} BURAM_RET_TypeDef; | ||
|
||
/** BURAM Register Declaration. */ | ||
typedef struct buram_typedef{ | ||
BURAM_RET_TypeDef RET[32U]; /**< RetentionReg */ | ||
uint32_t RESERVED0[992U]; /**< Reserved for future use */ | ||
BURAM_RET_TypeDef RET_SET[32U]; /**< RetentionReg */ | ||
uint32_t RESERVED1[992U]; /**< Reserved for future use */ | ||
BURAM_RET_TypeDef RET_CLR[32U]; /**< RetentionReg */ | ||
uint32_t RESERVED2[992U]; /**< Reserved for future use */ | ||
BURAM_RET_TypeDef RET_TGL[32U]; /**< RetentionReg */ | ||
} BURAM_TypeDef; | ||
/** @} End of group EFR32ZG23_BURAM */ | ||
|
||
/**************************************************************************//** | ||
* @addtogroup EFR32ZG23_BURAM | ||
* @{ | ||
* @defgroup EFR32ZG23_BURAM_BitFields BURAM Bit Fields | ||
* @{ | ||
*****************************************************************************/ | ||
|
||
/* Bit fields for BURAM RET_REG */ | ||
#define _BURAM_RET_REG_RESETVALUE 0x00000000UL /**< Default value for BURAM_RET_REG */ | ||
#define _BURAM_RET_REG_MASK 0xFFFFFFFFUL /**< Mask for BURAM_RET_REG */ | ||
#define _BURAM_RET_REG_RETREG_SHIFT 0 /**< Shift value for BURAM_RETREG */ | ||
#define _BURAM_RET_REG_RETREG_MASK 0xFFFFFFFFUL /**< Bit mask for BURAM_RETREG */ | ||
#define _BURAM_RET_REG_RETREG_DEFAULT 0x00000000UL /**< Mode DEFAULT for BURAM_RET_REG */ | ||
#define BURAM_RET_REG_RETREG_DEFAULT (_BURAM_RET_REG_RETREG_DEFAULT << 0) /**< Shifted mode DEFAULT for BURAM_RET_REG */ | ||
|
||
/** @} End of group EFR32ZG23_BURAM_BitFields */ | ||
/** @} End of group EFR32ZG23_BURAM */ | ||
/** @} End of group Parts */ | ||
|
||
#endif // EFR32ZG23_BURAM_H |
332 changes: 332 additions & 0 deletions
332
simplicity_sdk/platform/Device/SiliconLabs/EFR32ZG23/Include/efr32zg23_burtc.h
Large diffs are not rendered by default.
Oops, something went wrong.
1,128 changes: 1,128 additions & 0 deletions
1,128
simplicity_sdk/platform/Device/SiliconLabs/EFR32ZG23/Include/efr32zg23_cmu.h
Large diffs are not rendered by default.
Oops, something went wrong.
461 changes: 461 additions & 0 deletions
461
simplicity_sdk/platform/Device/SiliconLabs/EFR32ZG23/Include/efr32zg23_dcdc.h
Large diffs are not rendered by default.
Oops, something went wrong.
1,008 changes: 1,008 additions & 0 deletions
1,008
simplicity_sdk/platform/Device/SiliconLabs/EFR32ZG23/Include/efr32zg23_devinfo.h
Large diffs are not rendered by default.
Oops, something went wrong.
59 changes: 59 additions & 0 deletions
59
simplicity_sdk/platform/Device/SiliconLabs/EFR32ZG23/Include/efr32zg23_dma_descriptor.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
/**************************************************************************//** | ||
* @file | ||
* @brief EFR32ZG23 DMA descriptor bit field definitions | ||
****************************************************************************** | ||
* # License | ||
* <b>Copyright 2024 Silicon Laboratories, Inc. www.silabs.com</b> | ||
****************************************************************************** | ||
* | ||
* SPDX-License-Identifier: Zlib | ||
* | ||
* The licensor of this software is Silicon Laboratories Inc. | ||
* | ||
* This software is provided 'as-is', without any express or implied | ||
* warranty. In no event will the authors be held liable for any damages | ||
* arising from the use of this software. | ||
* | ||
* Permission is granted to anyone to use this software for any purpose, | ||
* including commercial applications, and to alter it and redistribute it | ||
* freely, subject to the following restrictions: | ||
* | ||
* 1. The origin of this software must not be misrepresented; you must not | ||
* claim that you wrote the original software. If you use this software | ||
* in a product, an acknowledgment in the product documentation would be | ||
* appreciated but is not required. | ||
* 2. Altered source versions must be plainly marked as such, and must not be | ||
* misrepresented as being the original software. | ||
* 3. This notice may not be removed or altered from any source distribution. | ||
* | ||
*****************************************************************************/ | ||
#ifndef EFR32ZG23_DMA_DESCRIPTOR_H | ||
#define EFR32ZG23_DMA_DESCRIPTOR_H | ||
|
||
#if defined(__ICCARM__) | ||
#pragma system_include /* Treat file as system include file. */ | ||
#elif defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050) | ||
#pragma clang system_header /* Treat file as system include file. */ | ||
#endif | ||
|
||
/**************************************************************************//** | ||
* @addtogroup Parts | ||
* @{ | ||
******************************************************************************/ | ||
/**************************************************************************//** | ||
* @defgroup DMA_DESCRIPTOR DMA Descriptor | ||
* @{ | ||
*****************************************************************************/ | ||
/** DMA_DESCRIPTOR Register Declaration */ | ||
typedef struct { | ||
/* Note! Use of double __IOM (volatile) qualifier to ensure that both */ | ||
/* pointer and referenced memory are declared volatile. */ | ||
__IOM uint32_t CTRL; /**< DMA control register */ | ||
__IOM void * __IOM SRC; /**< DMA source address */ | ||
__IOM void * __IOM DST; /**< DMA destination address */ | ||
__IOM void * __IOM LINK; /**< DMA link address */ | ||
} DMA_DESCRIPTOR_TypeDef; /**< @} */ | ||
|
||
/** @} End of group Parts */ | ||
|
||
#endif // EFR32ZG23_DMA_DESCRIPTOR_H |
Oops, something went wrong.