1 /*
2 * Copyright (c) 2020 - 2024 Renesas Electronics Corporation and/or its affiliates
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6 
7 #ifndef BSP_TZC400_H
8 #define BSP_TZC400_H
9 
10 /** Common macro for FSP header files. There is also a corresponding FSP_FOOTER macro at the end of this file. */
11 FSP_HEADER
12 
13 /***********************************************************************************************************************
14  * Macro definitions
15  **********************************************************************************************************************/
16 #if (1 == BSP_FEATURE_TZC400_SUPPORTED)
17  #define BSP_TZC400_GATEKEEPER_FILTER_0    (1 << 0)
18  #define BSP_TZC400_GATEKEEPER_FILTER_1    (1 << 1)
19  #define BSP_TZC400_GATEKEEPER_FILTER_2    (1 << 2)
20  #define BSP_TZC400_GATEKEEPER_FILTER_3    (1 << 3)
21  #define BSP_TZC400_ATTR_FILTER_0          (1 << 0)
22  #define BSP_TZC400_ATTR_FILTER_1          (1 << 1)
23  #define BSP_TZC400_ATTR_FILTER_2          (1 << 2)
24  #define BSP_TZC400_ATTR_FILTER_3          (1 << 3)
25 #endif
26 
27 /***********************************************************************************************************************
28  * Typedef definitions
29  **********************************************************************************************************************/
30 
31 /*******************************************************************************************************************//**
32  * @addtogroup BSP_MCU
33  * @{
34  **********************************************************************************************************************/
35 
36 /** @} (end addtogroup BSP_MCU) */
37 
38 /***********************************************************************************************************************
39  * Exported global variables
40  **********************************************************************************************************************/
41 
42 /***********************************************************************************************************************
43  * Exported global functions (to be accessed by other files)
44  **********************************************************************************************************************/
45 
46 /* Public functions defined in bsp.h */
47 #if BSP_FEATURE_TZC400_SUPPORTED
48  #if (1 == _RZN_ORDINAL)
49 
50 void bsp_tzc_400_cfg(void);            // Used internally by BSP
51 
52  #endif
53 #endif
54 
55 /** Common macro for FSP header files. There is also a corresponding FSP_HEADER macro at the top of this file. */
56 FSP_FOOTER
57 
58 #endif
59