AM62Px MCU+ SDK  09.02.01
sdl_esm_soc.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) Texas Instruments Incorporated 2023-24
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 /*
34  * SDL ESM
35  *
36  * Software Diagnostics Reference module for Error Signaling Module
37  *
38 */
39 
40 
41 
42 #ifndef INCLUDE_SDL_ESM_SOC_AM62PX_H_
43 #define INCLUDE_SDL_ESM_SOC_AM62PX_H_
44 
45 #ifdef __cplusplus
46 extern "C" {
47 #endif
48 
49 #include <sdl/include/am62px/sdlr_intr_wkup_esm0.h>
50 #include <sdl/include/am62px/sdlr_intr_esm0.h>
51 #include <sdl/include/am62px/sdlr_soc_baseaddress.h>
52 
53 /* Defines for ESM base addresses */
54 #define SOC_WKUP_ESM_BASE (SDL_WKUP_ESM0_CFG_BASE)
55 #define SOC_MAIN_ESM_BASE (SDL_ESM0_CFG_BASE)
56 
57 #define SOC_WKUP_ESM_MAX_NUM_EVENTS (SDLR_WKUP_ESM0_ESM_PLS_EVENT2_WKUP_MCU_GPIOMUX_INTROUTER0_OUTP_11+1U)
58 #define SOC_MAIN_ESM_MAX_NUM_EVENTS (SDLR_ESM0_ESM_PLS_EVENT2_RTI15_INTR_WWD_0+1U)
59 
60 
61 typedef enum {
69 
70 #ifdef __cplusplus
71 }
72 #endif /* extern "C" */
73 
74 #endif /* INCLUDE_SDL_ESM_SOC_AM62PX_H_ */
SDL_ESM_Inst
SDL_ESM_Inst
Definition: sdl_esm_soc.h:61
SDL_ESM_INST_MAIN_ESM0
@ SDL_ESM_INST_MAIN_ESM0
Definition: sdl_esm_soc.h:65
SDL_ESM_INSTANCE_MAX
@ SDL_ESM_INSTANCE_MAX
Definition: sdl_esm_soc.h:67
SDL_ESM_INST_WKUP_ESM0
@ SDL_ESM_INST_WKUP_ESM0
Definition: sdl_esm_soc.h:63