SDL API Guide for J721E
sdl_mcu_armss_ccmr5.h
Go to the documentation of this file.
1 /********************************************************************
2  * Copyright (C) 2018-2019 Texas Instruments Incorporated.
3  *
4  * Redistribution and use in source and binary forms, with or without
5  * modification, are permitted provided that the following conditions
6  * are met:
7  *
8  * Redistributions of source code must retain the above copyright
9  * notice, this list of conditions and the following disclaimer.
10  *
11  * Redistributions in binary form must reproduce the above copyright
12  * notice, this list of conditions and the following disclaimer in the
13  * documentation and/or other materials provided with the
14  * distribution.
15  *
16  * Neither the name of Texas Instruments Incorporated nor the names of
17  * its contributors may be used to endorse or promote products derived
18  * from this software without specific prior written permission.
19  *
20  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
23  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
24  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
25  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
26  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31  *
32  * Name : sdl_mcu_armss_ccmr5.h
33 */
34 #ifndef SDL_MCU_ARMSS_CCMR5_H
35 #define SDL_MCU_ARMSS_CCMR5_H
36 
37 #ifdef __cplusplus
38 extern "C"
39 {
40 #endif
41 #include "sdlr_mcu_armss_ccmr5.h"
42 
79 typedef enum SDL_McuArmssCcmR5RegId_e
80 {
98 
104 typedef enum SDL_McuArmssCcmR5ModuleId_e
105 {
115 
116 
123 typedef enum SDL_McuArmssCcmR5OpModeKey_e
124 {
134 
135 /* @} */
136 
165 int32_t SDL_armR5ReadCCMRegister (
166  uintptr_t baseAddress,
168  uint32_t *pValToBeRead,
169  int32_t *pMetaInfo
170 );
171 
194  uintptr_t baseAddress,
196  uint32_t valToBeWritten,
197  int32_t *pMetaInfo
198 );
199 
223  uintptr_t baseAddress,
224  SDL_McuArmssCcmR5ModuleId moduleId,
225  SDL_McuArmssCcmR5OpModeKey opModeKey,
226  int32_t *pMetaInfo
227 );
228 
252  uintptr_t baseAddress,
253  SDL_McuArmssCcmR5ModuleId moduleId,
254  uint32_t *pCmpError,
255  int32_t *pMetaInfo
256 );
257 
294  uintptr_t baseAddress,
295  SDL_McuArmssCcmR5ModuleId moduleId,
296  SDL_McuArmssCcmR5OpModeKey *pOpModeKey,
297  int32_t *pMetaInfo
298 );
299 
322  uintptr_t baseAddress,
323  SDL_McuArmssCcmR5ModuleId moduleId,
324  int32_t *pMetaInfo
325 );
326 
327 /* @} */
328 
329 #ifdef __cplusplus
330 }
331 #endif /* __cplusplus */
332 #endif /* SDL_MCU_ARMSS_CCMR5_H */
int32_t SDL_armR5CCMSetOperationModeKey(uintptr_t baseAddress, SDL_McuArmssCcmR5ModuleId moduleId, SDL_McuArmssCcmR5OpModeKey opModeKey, int32_t *pMetaInfo)
Configure Operating mode for CPU, VIM, CCM Inactivity monitor.
Definition: sdl_mcu_armss_ccmr5.h:110
int32_t SDL_armR5CCMClearCompareError(uintptr_t baseAddress, SDL_McuArmssCcmR5ModuleId moduleId, int32_t *pMetaInfo)
Clear Compare Error value for CPU, VIM, CCM Inactivity monitor.
Definition: sdl_mcu_armss_ccmr5.h:108
Definition: sdl_mcu_armss_ccmr5.h:85
Definition: sdl_mcu_armss_ccmr5.h:81
Definition: sdl_mcu_armss_ccmr5.h:95
int32_t SDL_armR5CCMGetCompareError(uintptr_t baseAddress, SDL_McuArmssCcmR5ModuleId moduleId, uint32_t *pCmpError, int32_t *pMetaInfo)
Read Compare Error status for CPU, VIM, CCM Inactivity monitor.
int32_t SDL_armR5ConfigureCCMRegister(uintptr_t baseAddress, SDL_McuArmssCcmR5RegId regId, uint32_t valToBeWritten, int32_t *pMetaInfo)
Configure CCM Regiser.
Definition: sdl_mcu_armss_ccmr5.h:125
Definition: sdl_mcu_armss_ccmr5.h:87
Definition: sdl_mcu_armss_ccmr5.h:93
SDL_McuArmssCcmR5OpModeKey
This enum defines the MCU ARMSS CCM R5 Operation Mode Key values used under the context of SDL CCMR5 ...
Definition: sdl_mcu_armss_ccmr5.h:123
Definition: sdl_mcu_armss_ccmr5.h:131
Definition: sdl_mcu_armss_ccmr5.h:83
Definition: sdl_mcu_armss_ccmr5.h:91
int32_t SDL_armR5ReadCCMRegister(uintptr_t baseAddress, SDL_McuArmssCcmR5RegId regId, uint32_t *pValToBeRead, int32_t *pMetaInfo)
Read CCM Regiser.
int32_t SDL_armR5CCMGetOperationModeKey(uintptr_t baseAddress, SDL_McuArmssCcmR5ModuleId moduleId, SDL_McuArmssCcmR5OpModeKey *pOpModeKey, int32_t *pMetaInfo)
Get Operation mode key value for CPU, VIM, CCM Inactivity monitor.
SDL_McuArmssCcmR5ModuleId
This enum defines the MCU ARMSS CCM R5 module ID type used under the context of SDL CCMR5 APIs...
Definition: sdl_mcu_armss_ccmr5.h:104
Definition: sdl_mcu_armss_ccmr5.h:129
SDL_McuArmssCcmR5RegId
This typedef defines the MCU ARMSS CCM R5 register ID type used under the context of SDL CCMR5 APIs...
Definition: sdl_mcu_armss_ccmr5.h:79
Definition: sdl_mcu_armss_ccmr5.h:112
Definition: sdl_mcu_armss_ccmr5.h:106
Definition: sdl_mcu_armss_ccmr5.h:89
Definition: sdl_mcu_armss_ccmr5.h:127