AM273x MCU+ SDK  08.05.00
mbox/v0/sdl_mbox.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) Texas Instruments Incorporated 2022
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  */
57 #ifndef SDL_MBOX_H_
58 #define SDL_MBOX_H_
59 
60 /* ========================================================================== */
61 /* Include Files */
62 /* ========================================================================== */
63 #include "sdl_mbox_hw.h"
64 #include <sdl/mbox/v0/soc/sdl_mbox_soc.h>
65 
66 #ifdef _cplusplus
67 extern "C" {
68 #endif
69 
70 /* ========================================================================== */
71 /* Macros & Typedefs */
72 /* ========================================================================== */
73 
74 /* ========================================================================== */
75 /* Structure Declarations */
76 /* ========================================================================== */
77 typedef enum
78 {
85 
86 typedef enum
87 {
94 
95 /* ========================================================================== */
96 /* Variable Declarations */
97 /* ========================================================================== */
98 /* ========================================================================== */
99 /* Function Declarations */
100 /* ========================================================================== */
106 
112 
126 
132 
139 
145 
151 
157 
171 
177 
184 
190 
196 
202 
216 
222 
229 
235 
243 
251 
259 
267 
275 
283 
284 
285 #ifdef _cplusplus
286 }
287 #endif /*extern "C" */
288 #endif
289 
SDL_MBOX_FI_SAFE
@ SDL_MBOX_FI_SAFE
Definition: mbox/v0/sdl_mbox.h:80
SDL_MBOX_FI_INVALID
@ SDL_MBOX_FI_INVALID
Definition: mbox/v0/sdl_mbox.h:83
SDL_MSS_MBOX_redErrorClear
void SDL_MSS_MBOX_redErrorClear(void)
This API is used to clear RED error from MSS MBOX.
SDL_RSS_MBOX_dedExecute
void SDL_RSS_MBOX_dedExecute(void)
This API is used for DED test on RSS MBOX.
SDL_MSS_MBOX_secExecute
void SDL_MSS_MBOX_secExecute(void)
This API is used for SEC test on MSS MBOX.
SDL_MSS_MBOX_redExecute
int32_t SDL_MSS_MBOX_redExecute(SDL_MBOX_busSftyFiType fiType, SDL_MBOX_busSftyFiRedType redType)
This API is used for RED test on MSS MBOX.
SDL_MBOX_MAIN_READ_INTERFACE
@ SDL_MBOX_MAIN_READ_INTERFACE
Definition: mbox/v0/sdl_mbox.h:91
SDL_MBOX_FI_GLOBAL_MAIN
@ SDL_MBOX_FI_GLOBAL_MAIN
Definition: mbox/v0/sdl_mbox.h:81
SDL_MBOX_FI_TYPE_INVALID
@ SDL_MBOX_FI_TYPE_INVALID
Definition: mbox/v0/sdl_mbox.h:92
SDL_MBOX_MAIN_CMD_INTERFACE
@ SDL_MBOX_MAIN_CMD_INTERFACE
Definition: mbox/v0/sdl_mbox.h:88
SDL_DSS_MBOX_dedErrorStatus
uint32_t SDL_DSS_MBOX_dedErrorStatus(void)
This API is used to get the DED error status on MSS MBOX.
SDL_DSS_MBOX_dedExecute
void SDL_DSS_MBOX_dedExecute(void)
This API is used for DED test on DSS MBOX.
SDL_DSS_MBOX_redErrorClear
void SDL_DSS_MBOX_redErrorClear(void)
This API is used to clear RED error from DSS MBOX.
SDL_RSS_MBOX_redErrorStatus
uint32_t SDL_RSS_MBOX_redErrorStatus(void)
This API is used to get the RED error status on RSS MBOX.
SDL_RSS_MBOX_dedErrorClear
void SDL_RSS_MBOX_dedErrorClear(void)
This API is used to clear DED error from RSS MBOX.
SDL_MSS_MBOX_dedExecute
void SDL_MSS_MBOX_dedExecute(void)
This API is used for DED test on MSS MBOX.
SDL_MBOX_FI_MAIN
@ SDL_MBOX_FI_MAIN
Definition: mbox/v0/sdl_mbox.h:79
SDL_MSS_MBOX_dedErrorClear
void SDL_MSS_MBOX_dedErrorClear(void)
This API is used to clear DED error from MSS MBOX.
SDL_RSS_MBOX_secErrorStatus
uint32_t SDL_RSS_MBOX_secErrorStatus(void)
This API is used to get the SEC error status on RSS MBOX.
SDL_RSS_MBOX_dedErrorStatus
uint32_t SDL_RSS_MBOX_dedErrorStatus(void)
This API is used to get the DED error status on RSS MBOX.
SDL_MBOX_MAIN_WRITE_STATUS_INTERFACE
@ SDL_MBOX_MAIN_WRITE_STATUS_INTERFACE
Definition: mbox/v0/sdl_mbox.h:90
SDL_DSS_MBOX_redErrorStatus
uint32_t SDL_DSS_MBOX_redErrorStatus(void)
This API is used to get the RED error status on MSS MBOX.
SDL_DSS_MBOX_secErrorStatus
uint32_t SDL_DSS_MBOX_secErrorStatus(void)
This API is used to get the SEC error status on DSS MBOX.
SDL_MBOX_FI_GLOBAL_SAFE
@ SDL_MBOX_FI_GLOBAL_SAFE
Definition: mbox/v0/sdl_mbox.h:82
SDL_MSS_MBOX_secErrorClear
void SDL_MSS_MBOX_secErrorClear(void)
This API is used to clear SEC error from MSS MBOX.
SDL_RSS_MBOX_redExecute
int32_t SDL_RSS_MBOX_redExecute(SDL_MBOX_busSftyFiType fiType, SDL_MBOX_busSftyFiRedType redType)
This API is used for RED test on RSS MBOX.
SDL_RSS_MBOX_redErrorClear
void SDL_RSS_MBOX_redErrorClear(void)
This API is used to clear RED error from RSS MBOX.
SDL_DSS_MBOX_secErrorClear
void SDL_DSS_MBOX_secErrorClear(void)
This API is used to clear SEC error from DSS MBOX.
SDL_MBOX_busSftyFiRedType
SDL_MBOX_busSftyFiRedType
Definition: mbox/v0/sdl_mbox.h:87
SDL_RSS_MBOX_secErrorClear
void SDL_RSS_MBOX_secErrorClear(void)
This API is used to clear SEC error from RSS MBOX.
SDL_MBOX_busSftyFiType
SDL_MBOX_busSftyFiType
Definition: mbox/v0/sdl_mbox.h:78
SDL_DSS_MBOX_redExecute
int32_t SDL_DSS_MBOX_redExecute(SDL_MBOX_busSftyFiType fiType, SDL_MBOX_busSftyFiRedType redType)
This API is used for RED test on DSS MBOX.
SDL_DSS_MBOX_secExecute
void SDL_DSS_MBOX_secExecute(void)
This API is used for SEC test on DSS MBOX.
SDL_MBOX_MAIN_WRITE_INTERFACE
@ SDL_MBOX_MAIN_WRITE_INTERFACE
Definition: mbox/v0/sdl_mbox.h:89
SDL_DSS_MBOX_dedErrorClear
void SDL_DSS_MBOX_dedErrorClear(void)
This API is used to clear DED error from DSS MBOX.
SDL_RSS_MBOX_secExecute
void SDL_RSS_MBOX_secExecute(void)
This API is used for SEC test on RSS MBOX.