MAX32675 Peripheral Driver API
Peripheral Driver API for the MAX32675
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Modules
icc.h
1
6/******************************************************************************
7 *
8 * Copyright (C) 2022-2023 Maxim Integrated Products, Inc. (now owned by
9 * Analog Devices, Inc.),
10 * Copyright (C) 2023-2024 Analog Devices, Inc.
11 *
12 * Licensed under the Apache License, Version 2.0 (the "License");
13 * you may not use this file except in compliance with the License.
14 * You may obtain a copy of the License at
15 *
16 * http://www.apache.org/licenses/LICENSE-2.0
17 *
18 * Unless required by applicable law or agreed to in writing, software
19 * distributed under the License is distributed on an "AS IS" BASIS,
20 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
21 * See the License for the specific language governing permissions and
22 * limitations under the License.
23 *
24 ******************************************************************************/
25
26/* Define to prevent redundant inclusion */
27#ifndef LIBRARIES_PERIPHDRIVERS_INCLUDE_MAX32675_ICC_H_
28#define LIBRARIES_PERIPHDRIVERS_INCLUDE_MAX32675_ICC_H_
29
30/* **** Includes **** */
31#include <stdint.h>
32#include "icc_regs.h"
33
34#ifdef __cplusplus
35extern "C" {
36#endif
37
47typedef enum {
52
59
63void MXC_ICC_Enable(void);
64
68void MXC_ICC_Disable(void);
69
73void MXC_ICC_Flush(void);
74
77#ifdef __cplusplus
78}
79#endif
80
81#endif // LIBRARIES_PERIPHDRIVERS_INCLUDE_MAX32675_ICC_H_
void MXC_ICC_Disable(void)
Disable the instruction cache controller.
void MXC_ICC_Enable(void)
Enable the instruction cache controller.
int MXC_ICC_ID(mxc_icc_info_t cid)
Reads the data from the Cache Id Register.
void MXC_ICC_Flush(void)
Flush the instruction cache controller.
mxc_icc_info_t
Enumeration type for the Cache ID Register.
Definition: icc.h:47
@ ICC_INFO_RELNUM
Identifies the RTL release version.
Definition: icc.h:48
@ ICC_INFO_ID
Specifies the value of Cache ID.
Definition: icc.h:50
@ ICC_INFO_PARTNUM
Specifies the value of C_ID Port Number.
Definition: icc.h:49
Registers, Bit Masks and Bit Positions for the ICC Peripheral Module.