J722S MCU+ SDK  09.02.00
sdl_esm_soc.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) Texas Instruments Incorporated 2024
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 
35 
36 #ifndef INCLUDE_SDL_ESM_SOC_J722S_H_
37 #define INCLUDE_SDL_ESM_SOC_J722S_H_
38 
39 #ifdef __cplusplus
40 extern "C" {
41 #endif
42 
43 #include <sdl/include/j722s/sdlr_intr_wkup_esm0.h>
44 #include <sdl/include/j722s/sdlr_intr_esm0.h>
45 #include <sdl/include/j722s/sdlr_soc_baseaddress.h>
46 
47 /* Defines for ESM base addresses */
48 #define SOC_WKUP_ESM_BASE (SDL_WKUP_ESM0_CFG_BASE)
49 #define SOC_MAIN_ESM_BASE (SDL_ESM0_CFG_BASE)
50 
51 #define SOC_WKUP_ESM_MAX_NUM_EVENTS (SDLR_WKUP_ESM0_ESM_PLS_EVENT2_WKUP_MCU_GPIOMUX_INTROUTER0_OUTP_11+1U)
52 #define SOC_MAIN_ESM_MAX_NUM_EVENTS (SDLR_ESM0_ESM_PLS_EVENT2_DMPAC0_ECC_UNCORRECTED_ERR_PULSE_0+1U)
53 
54 
55 typedef enum {
63 
64 #ifdef __cplusplus
65 }
66 #endif /* extern "C" */
67 
68 #endif /* INCLUDE_SDL_ESM_SOC_J722S_H_ */
SDL_ESM_Inst
SDL_ESM_Inst
Definition: sdl_esm_soc.h:55
SDL_ESM_INST_MAIN_ESM0
@ SDL_ESM_INST_MAIN_ESM0
Definition: sdl_esm_soc.h:59
SDL_ESM_INSTANCE_MAX
@ SDL_ESM_INSTANCE_MAX
Definition: sdl_esm_soc.h:61
SDL_ESM_INST_WKUP_ESM0
@ SDL_ESM_INST_WKUP_ESM0
Definition: sdl_esm_soc.h:57