SDL API Guide for J7200
sdl_soc_mtog.h
Go to the documentation of this file.
1 /********************************************************************
2 *
3 * SOC MTOG PROPERTIES. header file
4 *
5 * Copyright (C) 2022 Texas Instruments Incorporated.
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:
9 *
10 * Redistributions of source code must retain the above copyright
11 * notice, this list of conditions and the following disclaimer.
12 *
13 * Redistributions in binary form must reproduce the above copyright
14 * notice, this list of conditions and the following disclaimer in the
15 * documentation and/or other materials provided with the
16 * distribution.
17 *
18 * Neither the name of Texas Instruments Incorporated nor the names of
19 * its contributors may be used to endorse or promote products derived
20 * from this software without specific prior written permission.
21 *
22 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
23 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
24 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
25 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
26 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
27 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
28 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
29 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
30 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
31 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
32 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33 *
34 */
35 #ifndef SDL_VCL_SOC_MTOG_H_
36 #define SDL_VCL_SOC_MTOG_H_
37 
38 #include <sdlr.h>
39 #include <tistdtypes.h>
40 #include <include/soc.h>
41 #ifdef __cplusplus
42 extern "C"
43 {
44 #endif
45 
46 /*
47 * SDL definitions for SoC MTOG Instances:
48 */
49 
59 typedef uint8_t SDL_MTOG_Inst;
61 #define SDL_INSTANCE_MCU_MTOG0 0U
62 
63 #define SDL_INSTANCE_MAIN_MTOG0 1U
64 
65 #define SDL_INSTANCE_MAIN_MTOG1 2U
66 
67 #define SDL_INSTANCE_MAIN_MTOG2 3U
68 
69 #define SDL_INSTANCE_MAIN_MTOG3 4U
70 
71 #define SDL_INSTANCE_MAIN_MTOG4 5U
72 
73 #define SDL_INSTANCE_MAIN_MTOG5 6U
74 
75 #define SDL_INSTANCE_MAIN_MTOG10 7U
76 
77 #define SDL_INSTANCE_MAIN_MTOG11 8U
78 
79 #define SDL_INSTANCE_MAIN_MTOG12 9U
80 
81 #define SDL_INSTANCE_MAIN_MTOG13 10U
82 
83 #define SDL_INSTANCE_MAIN_MTOG16 11U
84 
85 #define SDL_INSTANCE_MAIN_MTOG17 12U
86 
87 #define SDL_INSTANCE_MAIN_MTOG18 13U
88 
89 #define SDL_INSTANCE_MAIN_MTOG19 14U
90 
91 #define SDL_INSTANCE_MAIN_MTOG14 15U
92 
93 #define SDL_INSTANCE_MTOG_MAX SDL_INSTANCE_MAIN_MTOG14
94 
96 {
97  (SDL_CTRL_MMR0_CFG0_BASE + SDL_MAIN_CTRL_MMR_CFG0_MAIN_MTOG0_CTRL ),
98  (SDL_CTRL_MMR0_CFG0_BASE + SDL_MAIN_CTRL_MMR_CFG0_MAIN_MTOG1_CTRL ),
99  (SDL_CTRL_MMR0_CFG0_BASE + SDL_MAIN_CTRL_MMR_CFG0_MAIN_MTOG2_CTRL ),
100  (SDL_CTRL_MMR0_CFG0_BASE + SDL_MAIN_CTRL_MMR_CFG0_MAIN_MTOG3_CTRL ),
101  (SDL_CTRL_MMR0_CFG0_BASE + SDL_MAIN_CTRL_MMR_CFG0_MAIN_MTOG4_CTRL ),
102  (SDL_CTRL_MMR0_CFG0_BASE + SDL_MAIN_CTRL_MMR_CFG0_MAIN_MTOG5_CTRL ),
103  (SDL_CTRL_MMR0_CFG0_BASE + SDL_MAIN_CTRL_MMR_CFG0_MAIN_MTOG10_CTRL),
104  (SDL_CTRL_MMR0_CFG0_BASE + SDL_MAIN_CTRL_MMR_CFG0_MAIN_MTOG11_CTRL),
105  (SDL_CTRL_MMR0_CFG0_BASE + SDL_MAIN_CTRL_MMR_CFG0_MAIN_MTOG12_CTRL),
106  (SDL_CTRL_MMR0_CFG0_BASE + SDL_MAIN_CTRL_MMR_CFG0_MAIN_MTOG13_CTRL),
107  (SDL_CTRL_MMR0_CFG0_BASE + SDL_MAIN_CTRL_MMR_CFG0_MAIN_MTOG14_CTRL),
108  (SDL_MCU_CTRL_MMR0_CFG0_BASE +SDL_MCU_CTRL_MMR_CFG0_MCU_MTOG0_CTRL),
109  (SDL_CTRL_MMR0_CFG0_BASE + SDL_MAIN_CTRL_MMR_CFG0_MAIN_MTOG16_CTRL),
110  (SDL_CTRL_MMR0_CFG0_BASE + SDL_MAIN_CTRL_MMR_CFG0_MAIN_MTOG17_CTRL),
111  (SDL_CTRL_MMR0_CFG0_BASE + SDL_MAIN_CTRL_MMR_CFG0_MAIN_MTOG18_CTRL),
112  (SDL_CTRL_MMR0_CFG0_BASE + SDL_MAIN_CTRL_MMR_CFG0_MAIN_MTOG19_CTRL),
113 };
114 
115 /* Properties of MTOG instances in: MTOG */
116 
117 #ifdef __cplusplus
118 }
119 #endif
120 
121 #endif /* SDL_SOC_MTOG_H_ */
122 
uint8_t SDL_MTOG_Inst
Definition: sdl_soc_mtog.h:59
This file contains SOC specific defintions.
#define SDL_INSTANCE_MTOG_MAX
Definition: sdl_soc_mtog.h:93
static uint32_t SDL_MTOG_baseAddress[SDL_INSTANCE_MTOG_MAX+1U]
Definition: sdl_soc_mtog.h:95