1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/efm32/families/efr32zg23/include/vendor/efr32zg23_fsrco.h
2022-10-24 23:16:39 +02:00

85 lines
4.1 KiB
C

/**************************************************************************//**
* @file
* @brief EFR32ZG23 FSRCO register and bit field definitions
******************************************************************************
* # License
* <b>Copyright 2022 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.
*
*****************************************************************************/
#ifdef __cplusplus
extern "C" {
#endif
#ifndef EFR32ZG23_FSRCO_H
#define EFR32ZG23_FSRCO_H
#define FSRCO_HAS_SET_CLEAR
/**************************************************************************//**
* @addtogroup Parts
* @{
******************************************************************************/
/**************************************************************************//**
* @defgroup EFR32ZG23_FSRCO FSRCO
* @{
* @brief EFR32ZG23 FSRCO Register Declaration.
*****************************************************************************/
/** FSRCO Register Declaration. */
typedef struct {
__IM uint32_t IPVERSION; /**< IP Version */
uint32_t RESERVED0[1023U]; /**< Reserved for future use */
__IM uint32_t IPVERSION_SET; /**< IP Version */
uint32_t RESERVED1[1023U]; /**< Reserved for future use */
__IM uint32_t IPVERSION_CLR; /**< IP Version */
uint32_t RESERVED2[1023U]; /**< Reserved for future use */
__IM uint32_t IPVERSION_TGL; /**< IP Version */
} FSRCO_TypeDef;
/** @} End of group EFR32ZG23_FSRCO */
/**************************************************************************//**
* @addtogroup EFR32ZG23_FSRCO
* @{
* @defgroup EFR32ZG23_FSRCO_BitFields FSRCO Bit Fields
* @{
*****************************************************************************/
/* Bit fields for FSRCO IPVERSION */
#define _FSRCO_IPVERSION_RESETVALUE 0x00000000UL /**< Default value for FSRCO_IPVERSION */
#define _FSRCO_IPVERSION_MASK 0xFFFFFFFFUL /**< Mask for FSRCO_IPVERSION */
#define _FSRCO_IPVERSION_IPVERSION_SHIFT 0 /**< Shift value for FSRCO_IPVERSION */
#define _FSRCO_IPVERSION_IPVERSION_MASK 0xFFFFFFFFUL /**< Bit mask for FSRCO_IPVERSION */
#define _FSRCO_IPVERSION_IPVERSION_DEFAULT 0x00000000UL /**< Mode DEFAULT for FSRCO_IPVERSION */
#define FSRCO_IPVERSION_IPVERSION_DEFAULT (_FSRCO_IPVERSION_IPVERSION_DEFAULT << 0) /**< Shifted mode DEFAULT for FSRCO_IPVERSION */
/** @} End of group EFR32ZG23_FSRCO_BitFields */
/** @} End of group EFR32ZG23_FSRCO */
/** @} End of group Parts */
#endif /* EFR32ZG23_FSRCO_H */
#ifdef __cplusplus
}
#endif