AM263Px MCU+ SDK: sdl_esm_soc.h Source File

| AM263Px MCU+ SDK 26.00.00 |

sdl_esm_soc.h
Go to the documentation of this file.
1 /*
2 * SDL ESM
3 *
4 * Software Diagnostics Reference module for Error Signaling Module
5 *
6 * Copyright (c) Texas Instruments Incorporated 2022-2024
7 *
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions
10 * are met:
11 *
12 * Redistributions of source code must retain the above copyright
13 * notice, this list of conditions and the following disclaimer.
14 *
15 * Redistributions in binary form must reproduce the above copyright
16 * notice, this list of conditions and the following disclaimer in the
17 * documentation and/or other materials provided with the
18 * distribution.
19 *
20 * Neither the name of Texas Instruments Incorporated nor the names of
21 * its contributors may be used to endorse or promote products derived
22 * from this software without specific prior written permission.
23 *
24 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
25 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
26 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
27 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
28 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
29 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
30 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
31 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
32 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
33 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
34 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
35 *
36 */
37
51 #ifndef INCLUDE_SDL_ESM_SOC_AM263X_H_
52 #define INCLUDE_SDL_ESM_SOC_AM263X_H_
53
54 #ifdef __cplusplus
55 extern "C" {
56 #endif
57
58 #include <sdl/include/am263px/sdlr_intr_esm0.h>
59 #include <sdl/include/am263px/sdlr_soc_baseaddress.h>
60
65 typedef enum {
66 SDL_ESM_INST_MAIN_ESM0 = 2U,
68 SDL_ESM_INSTANCE_MAX=0xFFFF
69 } SDL_ESM_Inst;
70
71
72 /* Defines for ESM base addresses */
73 #define SOC_MAIN_ESM_BASE (SDL_TOP_ESM_U_BASE)
74
75 #define SOC_MAIN_ESM_MAX_NUM_EVENTS (SDL_ESM0_MCAN7_MCAN7_ECC_UNCORR_LVL_INT+1U)
76
77 #ifdef __cplusplus
78 }
79 #endif /* extern "C" */
80
83 #endif /* INCLUDE_SDL_ESM_SOC_AM263X_H_ */
SDL_ESM_INST_MAIN_ESM0
@ SDL_ESM_INST_MAIN_ESM0
Definition: sdl_esm_soc.h:66
SDL_ESM_Inst
SDL_ESM_Inst
Definition: sdl_esm_soc.h:65
SDL_ESM_INSTANCE_MAX
@ SDL_ESM_INSTANCE_MAX
Definition: sdl_esm_soc.h:68