AM273x MCU+ SDK  09.02.00
hwa/v0/sdl_hwa.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2022-23 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  */
33 
50 #ifndef SDL_HWA_H_
51 #define SDL_HWA_H_
52 
53 /* ========================================================================== */
54 /* Include Files */
55 /* ========================================================================== */
56 #include "sdl_hwa_hw.h"
57 #include "sdl_ip_hwa.h"
58 #include <sdl/hwa/v0/soc/sdl_hwa_soc.h>
59 #include <sdl/esm/sdlr_esm.h>
60 #if defined (SOC_AM273X)
61 #include <sdl/esm/v1/sdl_esm.h>
62 #include <sdl/include/am273x/sdlr_intr_esm_dss.h>
63 #include <sdl/include/am273x/sdlr_intr_esm_mss.h>
64 #elif defined (SOC_AWR294X)
65 #include <sdl/esm/v1/sdl_esm.h>
66 #include <sdl/include/awr294x/sdlr_intr_esm_dss.h>
67 #include <sdl/include/awr294x/sdlr_intr_esm_mss.h>
68 #endif
69 
70 #ifdef _cplusplus
71 extern "C" {
72 #endif
73 
83 /* ========================================================================== */
84 /* Macros & Typedefs */
85 /* ========================================================================== */
86 
92 #define SDL_HWA_INIT_TIMEOUT (0XFFU)
93 
94 
97 /* ========================================================================== */
98 /* Structure Declarations */
99 /* ========================================================================== */
100 /* ========================================================================== */
101 /* Variable Declarations */
102 /* ========================================================================== */
103 /* ========================================================================== */
104 /* Function Declarations */
105 /* ========================================================================== */
129 int32_t SDL_HWA_ESM_CallbackFunction(SDL_ESM_Inst instance,
130  int32_t grpChannel,
131  int32_t vecNum,
132  void *arg);
133 
149 
161 
165 #ifdef _cplusplus
166 }
167 #endif /*extern "C" */
168 #endif
169 
sdl_esm.h
Header file contains enumerations, structure definitions and function declarations for SDL Error Sign...
sdl_ip_hwa.h
This file contains the prototypes of the APIs present in the device abstraction layer file of HWA....
SDL_HWA_MemBlock
SDL_HWA_MemBlock
Definition: sdl_ip_hwa.h:108
SDL_HWA_MemID
SDL_HWA_MemID
Definition: sdl_ip_hwa.h:133
SDL_HWA_memParityExecute
int32_t SDL_HWA_memParityExecute(SDL_HWA_MemID memID, SDL_HWA_MemBlock memBlock)
This API is used for configuring and testing parity of the HWA memory.
SDL_HWA_ESM_CallbackFunction
int32_t SDL_HWA_ESM_CallbackFunction(SDL_ESM_Inst instance, int32_t grpChannel, int32_t vecNum, void *arg)
This API is a call back function when an interrupt is occured for HWA memory parity and fsm Lockstep.
SDL_HWA_fsmLockStepExecute
int32_t SDL_HWA_fsmLockStepExecute(void)
This API is used to induce the error in the fsm lockstep for HWA.