MAX32670 Peripheral Driver API
Peripheral Driver API for the MAX32670
aes_key_regs.h
1
7/******************************************************************************
8 *
9 * Copyright (C) 2022-2023 Maxim Integrated Products, Inc. (now owned by
10 * Analog Devices, Inc.),
11 * Copyright (C) 2023-2024 Analog Devices, Inc.
12 *
13 * Licensed under the Apache License, Version 2.0 (the "License");
14 * you may not use this file except in compliance with the License.
15 * You may obtain a copy of the License at
16 *
17 * http://www.apache.org/licenses/LICENSE-2.0
18 *
19 * Unless required by applicable law or agreed to in writing, software
20 * distributed under the License is distributed on an "AS IS" BASIS,
21 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
22 * See the License for the specific language governing permissions and
23 * limitations under the License.
24 *
25 ******************************************************************************/
26
27#ifndef LIBRARIES_CMSIS_DEVICE_MAXIM_MAX32670_INCLUDE_AES_KEY_REGS_H_
28#define LIBRARIES_CMSIS_DEVICE_MAXIM_MAX32670_INCLUDE_AES_KEY_REGS_H_
29
30#warning "DEPRECATED(1-10-2023): aes_key_regs.h - Scheduled for removal. Please use aeskeys_regs.h."
31
32/* **** Includes **** */
33#include <stdint.h>
34
35#ifdef __cplusplus
36extern "C" {
37#endif
38
39#if defined (__ICCARM__)
40 #pragma system_include
41#endif
42
43#if defined (__CC_ARM)
44 #pragma anon_unions
45#endif
47/*
48 If types are not defined elsewhere (CMSIS) define them here
49*/
50#ifndef __IO
51#define __IO volatile
52#endif
53#ifndef __I
54#define __I volatile const
55#endif
56#ifndef __O
57#define __O volatile
58#endif
59#ifndef __R
60#define __R volatile const
61#endif
63
64/* **** Definitions **** */
65
77#if defined(__GNUC__)
78__attribute__((deprecated("mxc_aes_key_regs_t struct and aes_key_regs.h no longer supported. Use aeskeys_regs.h and MXC_AESKEYS (mxc_aeskeys_regs_t) for AES Key Access. 1-10-2023")))
79#else
80#warning "mxc_aes_key_regs_t struct and aes_key_regs.h no longer supported. Use aeskeys_regs.h and MXC_AESKEYS (mxc_aeskeys_regs_t) for AES Key Access. 1-10-2023"
81#endif
82typedef struct {
83 __IO uint32_t aes_key0;
84 __IO uint32_t aes_key1;
85 __IO uint32_t aes_key2;
86 __IO uint32_t aes_key3;
87 __IO uint32_t aes_key4;
88 __IO uint32_t aes_key5;
89 __IO uint32_t aes_key6;
90 __IO uint32_t aes_key7;
92
93/* Register offsets for module AES_KEY */
100#define MXC_R_AES_KEY_AES_KEY0 ((uint32_t)0x00000000UL)
101#define MXC_R_AES_KEY_AES_KEY1 ((uint32_t)0x00000004UL)
102#define MXC_R_AES_KEY_AES_KEY2 ((uint32_t)0x00000008UL)
103#define MXC_R_AES_KEY_AES_KEY3 ((uint32_t)0x0000000CUL)
104#define MXC_R_AES_KEY_AES_KEY4 ((uint32_t)0x00000010UL)
105#define MXC_R_AES_KEY_AES_KEY5 ((uint32_t)0x00000014UL)
106#define MXC_R_AES_KEY_AES_KEY6 ((uint32_t)0x00000018UL)
107#define MXC_R_AES_KEY_AES_KEY7 ((uint32_t)0x0000001CUL)
110#ifdef __cplusplus
111}
112#endif
113
114#endif // LIBRARIES_CMSIS_DEVICE_MAXIM_MAX32670_INCLUDE_AES_KEY_REGS_H_
__IO uint32_t aes_key5
Definition: aes_key_regs.h:88
__IO uint32_t aes_key1
Definition: aes_key_regs.h:84
__IO uint32_t aes_key4
Definition: aes_key_regs.h:87
__IO uint32_t aes_key0
Definition: aes_key_regs.h:83
__IO uint32_t aes_key2
Definition: aes_key_regs.h:85
__IO uint32_t aes_key6
Definition: aes_key_regs.h:89
__IO uint32_t aes_key3
Definition: aes_key_regs.h:86
__IO uint32_t aes_key7
Definition: aes_key_regs.h:90
Definition: aes_key_regs.h:82