/* * Copyright (c) 2020 - 2024 Renesas Electronics Corporation and/or its affiliates * * SPDX-License-Identifier: BSD-3-Clause */ /********************************************************************************************************************** * File Name : bsp_reset.h * Version : 1.00 * Description : bsp_reset header *********************************************************************************************************************/ #ifndef BSP_RESET_H #define BSP_RESET_H /********************************************************************************************************************** * Macro definitions *********************************************************************************************************************/ #if BSP_CURRENT_CORE == RZG3S_CORE_CM33 #define R_BSP_SECURE_VECTOR_SET(vector) {R_SYSC->SYS_CM33_CFG2 = (vector);} #elif BSP_CURRENT_CORE == RZG3S_CORE_CM33_FPU #define R_BSP_SECURE_VECTOR_SET(vector) {R_SYSC->SYS_CM33FPU_CFG2 = (vector);} #endif /********************************************************************************************************************** * Typedef definitions *********************************************************************************************************************/ /********************************************************************************************************************** * Exported global variables *********************************************************************************************************************/ /********************************************************************************************************************** * Exported global functions (to be accessed by other files) *********************************************************************************************************************/ /********************************************************************************************************************** * @addtogroup BSP_MPU_RZG3S * @{ *********************************************************************************************************************/ /** @} (end addtogroup BSP_MPU_RZG3S) */ #endif /* BSP_RESET_H */