Skip to content

Commit

Permalink
chore(CMSIS): Generate Registers (#1228)
Browse files Browse the repository at this point in the history
Co-authored-by: sihyung-maxim <[email protected]>
Co-authored-by: Woo <[email protected]>
  • Loading branch information
3 people authored Nov 14, 2024
1 parent 51f8b11 commit 3eba814
Show file tree
Hide file tree
Showing 424 changed files with 28,724 additions and 13,734 deletions.
6 changes: 5 additions & 1 deletion Libraries/CMSIS/Device/Maxim/MAX32520/Include/aeskeys_regs.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,11 @@ extern "C" {
#define __IO volatile
#endif
#ifndef __I
#define __I volatile const
#ifdef __cplusplus
#define __I volatile
#else
#define __I volatile const
#endif
#endif
#ifndef __O
#define __O volatile
Expand Down
6 changes: 5 additions & 1 deletion Libraries/CMSIS/Device/Maxim/MAX32520/Include/ctb_regs.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,11 @@ extern "C" {
#define __IO volatile
#endif
#ifndef __I
#define __I volatile const
#ifdef __cplusplus
#define __I volatile
#else
#define __I volatile const
#endif
#endif
#ifndef __O
#define __O volatile
Expand Down
8 changes: 6 additions & 2 deletions Libraries/CMSIS/Device/Maxim/MAX32520/Include/dma_regs.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,11 @@ extern "C" {
#define __IO volatile
#endif
#ifndef __I
#define __I volatile const
#ifdef __cplusplus
#define __I volatile
#else
#define __I volatile const
#endif
#endif
#ifndef __O
#define __O volatile
Expand Down Expand Up @@ -88,7 +92,7 @@ typedef struct {
__IO uint32_t cn; /**< <tt>\b 0x000:</tt> DMA CN Register */
__I uint32_t intr; /**< <tt>\b 0x004:</tt> DMA INTR Register */
__R uint32_t rsv_0x8_0xff[62];
__IO mxc_dma_ch_regs_t ch[8]; /**< <tt>\b 0x100:</tt> DMA CH Register */
__IO mxc_dma_ch_regs_t ch[8]; /**< <tt>\b 0x100:</tt> DMA CH Register */
} mxc_dma_regs_t;

/* Register offsets for module DMA */
Expand Down
6 changes: 5 additions & 1 deletion Libraries/CMSIS/Device/Maxim/MAX32520/Include/fcr_regs.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,11 @@ extern "C" {
#define __IO volatile
#endif
#ifndef __I
#define __I volatile const
#ifdef __cplusplus
#define __I volatile
#else
#define __I volatile const
#endif
#endif
#ifndef __O
#define __O volatile
Expand Down
6 changes: 5 additions & 1 deletion Libraries/CMSIS/Device/Maxim/MAX32520/Include/flc_regs.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,11 @@ extern "C" {
#define __IO volatile
#endif
#ifndef __I
#define __I volatile const
#ifdef __cplusplus
#define __I volatile
#else
#define __I volatile const
#endif
#endif
#ifndef __O
#define __O volatile
Expand Down
6 changes: 5 additions & 1 deletion Libraries/CMSIS/Device/Maxim/MAX32520/Include/gcr_regs.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,11 @@ extern "C" {
#define __IO volatile
#endif
#ifndef __I
#define __I volatile const
#ifdef __cplusplus
#define __I volatile
#else
#define __I volatile const
#endif
#endif
#ifndef __O
#define __O volatile
Expand Down
6 changes: 5 additions & 1 deletion Libraries/CMSIS/Device/Maxim/MAX32520/Include/gpio_regs.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,11 @@ extern "C" {
#define __IO volatile
#endif
#ifndef __I
#define __I volatile const
#ifdef __cplusplus
#define __I volatile
#else
#define __I volatile const
#endif
#endif
#ifndef __O
#define __O volatile
Expand Down
6 changes: 5 additions & 1 deletion Libraries/CMSIS/Device/Maxim/MAX32520/Include/i2c_regs.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,11 @@ extern "C" {
#define __IO volatile
#endif
#ifndef __I
#define __I volatile const
#ifdef __cplusplus
#define __I volatile
#else
#define __I volatile const
#endif
#endif
#ifndef __O
#define __O volatile
Expand Down
6 changes: 5 additions & 1 deletion Libraries/CMSIS/Device/Maxim/MAX32520/Include/icc_regs.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,11 @@ extern "C" {
#define __IO volatile
#endif
#ifndef __I
#define __I volatile const
#ifdef __cplusplus
#define __I volatile
#else
#define __I volatile const
#endif
#endif
#ifndef __O
#define __O volatile
Expand Down
6 changes: 5 additions & 1 deletion Libraries/CMSIS/Device/Maxim/MAX32520/Include/mcr_regs.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,11 @@ extern "C" {
#define __IO volatile
#endif
#ifndef __I
#define __I volatile const
#ifdef __cplusplus
#define __I volatile
#else
#define __I volatile const
#endif
#endif
#ifndef __O
#define __O volatile
Expand Down
6 changes: 5 additions & 1 deletion Libraries/CMSIS/Device/Maxim/MAX32520/Include/pwrseq_regs.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,11 @@ extern "C" {
#define __IO volatile
#endif
#ifndef __I
#define __I volatile const
#ifdef __cplusplus
#define __I volatile
#else
#define __I volatile const
#endif
#endif
#ifndef __O
#define __O volatile
Expand Down
6 changes: 5 additions & 1 deletion Libraries/CMSIS/Device/Maxim/MAX32520/Include/sfe_regs.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,11 @@ extern "C" {
#define __IO volatile
#endif
#ifndef __I
#define __I volatile const
#ifdef __cplusplus
#define __I volatile
#else
#define __I volatile const
#endif
#endif
#ifndef __O
#define __O volatile
Expand Down
6 changes: 5 additions & 1 deletion Libraries/CMSIS/Device/Maxim/MAX32520/Include/sir_regs.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,11 @@ extern "C" {
#define __IO volatile
#endif
#ifndef __I
#define __I volatile const
#ifdef __cplusplus
#define __I volatile
#else
#define __I volatile const
#endif
#endif
#ifndef __O
#define __O volatile
Expand Down
6 changes: 5 additions & 1 deletion Libraries/CMSIS/Device/Maxim/MAX32520/Include/smon_regs.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,11 @@ extern "C" {
#define __IO volatile
#endif
#ifndef __I
#define __I volatile const
#ifdef __cplusplus
#define __I volatile
#else
#define __I volatile const
#endif
#endif
#ifndef __O
#define __O volatile
Expand Down
6 changes: 5 additions & 1 deletion Libraries/CMSIS/Device/Maxim/MAX32520/Include/spi_regs.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,11 @@ extern "C" {
#define __IO volatile
#endif
#ifndef __I
#define __I volatile const
#ifdef __cplusplus
#define __I volatile
#else
#define __I volatile const
#endif
#endif
#ifndef __O
#define __O volatile
Expand Down
6 changes: 5 additions & 1 deletion Libraries/CMSIS/Device/Maxim/MAX32520/Include/tmr_regs.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,11 @@ extern "C" {
#define __IO volatile
#endif
#ifndef __I
#define __I volatile const
#ifdef __cplusplus
#define __I volatile
#else
#define __I volatile const
#endif
#endif
#ifndef __O
#define __O volatile
Expand Down
6 changes: 5 additions & 1 deletion Libraries/CMSIS/Device/Maxim/MAX32520/Include/trng_regs.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,11 @@ extern "C" {
#define __IO volatile
#endif
#ifndef __I
#define __I volatile const
#ifdef __cplusplus
#define __I volatile
#else
#define __I volatile const
#endif
#endif
#ifndef __O
#define __O volatile
Expand Down
6 changes: 5 additions & 1 deletion Libraries/CMSIS/Device/Maxim/MAX32520/Include/uart_regs.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,11 @@ extern "C" {
#define __IO volatile
#endif
#ifndef __I
#define __I volatile const
#ifdef __cplusplus
#define __I volatile
#else
#define __I volatile const
#endif
#endif
#ifndef __O
#define __O volatile
Expand Down
6 changes: 5 additions & 1 deletion Libraries/CMSIS/Device/Maxim/MAX32520/Include/wdt_regs.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,11 @@ extern "C" {
#define __IO volatile
#endif
#ifndef __I
#define __I volatile const
#ifdef __cplusplus
#define __I volatile
#else
#define __I volatile const
#endif
#endif
#ifndef __O
#define __O volatile
Expand Down
25 changes: 11 additions & 14 deletions Libraries/CMSIS/Device/Maxim/MAX32570/Include/adc_regs.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,18 @@
* @file adc_regs.h
* @brief Registers, Bit Masks and Bit Positions for the ADC Peripheral Module.
* @note This file is @generated.
* @ingroup adc_registers
*/

/******************************************************************************
*
* Copyright (C) 2022-2023 Maxim Integrated Products, Inc. (now owned by
* Analog Devices, Inc.),
* Copyright (C) 2023-2024 Analog Devices, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
/******************************************************************************
*
* http://www.apache.org/licenses/LICENSE-2.0
* Copyright (C) 2022-2023 Maxim Integrated Products, Inc. (now owned by
* Analog Devices, Inc.),
* Copyright (C) 2023-2024 Analog Devices, Inc. All Rights Reserved.
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* This software is proprietary to Analog Devices, Inc. and its licensors.
*
******************************************************************************/

Expand Down Expand Up @@ -49,7 +42,11 @@ extern "C" {
#define __IO volatile
#endif
#ifndef __I
#define __I volatile const
#ifdef __cplusplus
#define __I volatile
#else
#define __I volatile const
#endif
#endif
#ifndef __O
#define __O volatile
Expand Down
97 changes: 97 additions & 0 deletions Libraries/CMSIS/Device/Maxim/MAX32570/Include/aeskeys_regs.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
/**
* @file aeskeys_regs.h
* @brief Registers, Bit Masks and Bit Positions for the AESKEYS Peripheral Module.
* @note This file is @generated.
* @ingroup aeskeys_registers
*/

/******************************************************************************
*
/******************************************************************************
*
* Copyright (C) 2022-2023 Maxim Integrated Products, Inc. (now owned by
* Analog Devices, Inc.),
* Copyright (C) 2023-2024 Analog Devices, Inc. All Rights Reserved.
*
* This software is proprietary to Analog Devices, Inc. and its licensors.
*
******************************************************************************/

#ifndef LIBRARIES_CMSIS_DEVICE_MAXIM_MAX32570_INCLUDE_AESKEYS_REGS_H_
#define LIBRARIES_CMSIS_DEVICE_MAXIM_MAX32570_INCLUDE_AESKEYS_REGS_H_

/* **** Includes **** */
#include <stdint.h>

#ifdef __cplusplus
extern "C" {
#endif

#if defined (__ICCARM__)
#pragma system_include
#endif

#if defined (__CC_ARM)
#pragma anon_unions
#endif
/// @cond
/*
If types are not defined elsewhere (CMSIS) define them here
*/
#ifndef __IO
#define __IO volatile
#endif
#ifndef __I
#ifdef __cplusplus
#define __I volatile
#else
#define __I volatile const
#endif
#endif
#ifndef __O
#define __O volatile
#endif
#ifndef __R
#define __R volatile const
#endif
/// @endcond

/* **** Definitions **** */

/**
* @ingroup aeskeys
* @ingroup aes
* @defgroup aeskeys_registers AESKEYS_Registers
* @brief Registers, Bit Masks and Bit Positions for the AESKEYS Peripheral Module.
* @details AES Keys.
*/

/**
* @ingroup aeskeys_registers
* Structure type to access the AESKEYS Registers.
*/
typedef struct {
__IO uint32_t sram_key; /**< <tt>\b 0x00:</tt> AESKEYS SRAM_KEY Register */
__R uint32_t rsv_0x4_0x1f[7];
__IO uint32_t code_key; /**< <tt>\b 0x20:</tt> AESKEYS CODE_KEY Register */
__R uint32_t rsv_0x24_0x3f[7];
__IO uint32_t data_key; /**< <tt>\b 0x40:</tt> AESKEYS DATA_KEY Register */
} mxc_aeskeys_regs_t;

/* Register offsets for module AESKEYS */
/**
* @ingroup aeskeys_registers
* @defgroup AESKEYS_Register_Offsets Register Offsets
* @brief AESKEYS Peripheral Register Offsets from the AESKEYS Base Peripheral Address.
* @{
*/
#define MXC_R_AESKEYS_SRAM_KEY ((uint32_t)0x00000000UL) /**< Offset from AESKEYS Base Address: <tt> 0x0000</tt> */
#define MXC_R_AESKEYS_CODE_KEY ((uint32_t)0x00000020UL) /**< Offset from AESKEYS Base Address: <tt> 0x0020</tt> */
#define MXC_R_AESKEYS_DATA_KEY ((uint32_t)0x00000040UL) /**< Offset from AESKEYS Base Address: <tt> 0x0040</tt> */
/**@} end of group aeskeys_registers */

#ifdef __cplusplus
}
#endif

#endif // LIBRARIES_CMSIS_DEVICE_MAXIM_MAX32570_INCLUDE_AESKEYS_REGS_H_
Loading

0 comments on commit 3eba814

Please sign in to comment.