1 /* 2 * Copyright (c) 2020 - 2024 Renesas Electronics Corporation and/or its affiliates 3 * 4 * SPDX-License-Identifier: BSD-3-Clause 5 */ 6 7 /********************************************************************************************************************** 8 * File Name : bsp_reset.h 9 * Version : 1.00 10 * Description : bsp_reset header 11 *********************************************************************************************************************/ 12 13 #ifndef BSP_RESET_H 14 #define BSP_RESET_H 15 16 /********************************************************************************************************************** 17 * Macro definitions 18 *********************************************************************************************************************/ 19 #if BSP_CURRENT_CORE == RZG3S_CORE_CM33 20 #define R_BSP_SECURE_VECTOR_SET(vector) {R_SYSC->SYS_CM33_CFG2 = (vector);} 21 #elif BSP_CURRENT_CORE == RZG3S_CORE_CM33_FPU 22 #define R_BSP_SECURE_VECTOR_SET(vector) {R_SYSC->SYS_CM33FPU_CFG2 = (vector);} 23 #endif 24 25 /********************************************************************************************************************** 26 * Typedef definitions 27 *********************************************************************************************************************/ 28 29 /********************************************************************************************************************** 30 * Exported global variables 31 *********************************************************************************************************************/ 32 33 /********************************************************************************************************************** 34 * Exported global functions (to be accessed by other files) 35 *********************************************************************************************************************/ 36 37 /********************************************************************************************************************** 38 * @addtogroup BSP_MPU_RZG3S 39 * @{ 40 *********************************************************************************************************************/ 41 42 /** @} (end addtogroup BSP_MPU_RZG3S) */ 43 44 #endif /* BSP_RESET_H */ 45