77 *
88 * Copyright (C) 2022-2023 Maxim Integrated Products, Inc. (now owned by
99 * Analog Devices, Inc.),
10- * Copyright (C) 2023-2024 Analog Devices, Inc.
10+ * Copyright (C) 2023-2026 Analog Devices, Inc.
1111 *
1212 * Licensed under the Apache License, Version 2.0 (the "License");
1313 * you may not use this file except in compliance with the License.
@@ -73,6 +73,11 @@ void MXC_ICC_Disable(void);
7373 */
7474void MXC_ICC_Flush (void );
7575
76+ /**
77+ * @brief Wait until both of the instruction cache controllers are ready.
78+ */
79+ void MXC_ICC_WaitForReady (void );
80+
7681/**
7782 * @brief Reads ID information from one of the ICC's Cache ID Register.
7883 * @param icc Pointer ICC instance to get ID information from.
@@ -93,12 +98,31 @@ void MXC_ICC_EnableInst(mxc_icc_regs_t *icc);
9398 */
9499void MXC_ICC_DisableInst (mxc_icc_regs_t * icc );
95100
101+ /**
102+ * @brief Checks if one of the ICC's is enabled.
103+ * @param icc Pointer to ICC instance to check.
104+ * @retval Returns 1 if the ICC instance is enabled, 0 otherwise.
105+ */
106+ int MXC_ICC_IsEnabledInst (mxc_icc_regs_t * icc );
107+
96108/**
97109 * @brief Flushes data from one of the ICC's.
98110 * @param icc Pointer to ICC instance to flush.
99111 */
100112void MXC_ICC_FlushInst (mxc_icc_regs_t * icc );
101113
114+ /**
115+ * @brief Invalidates one of the ICC's.
116+ * @param icc Pointer to ICC instance to invalidate.
117+ */
118+ void MXC_ICC_InvalidateInst (mxc_icc_regs_t * icc );
119+
120+ /**
121+ * @brief Wait until one of the instruction cache controller instances is ready.
122+ * @param icc Pointer ICC instance to wait on.
123+ */
124+ void MXC_ICC_WaitForReadyInst (mxc_icc_regs_t * icc );
125+
102126/**@} end of group icc */
103127
104128#ifdef __cplusplus
0 commit comments