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  * Includes   <System Includes> , "Project Includes"
9  **********************************************************************************************************************/
10 #include "bsp_api.h"
11 
12 /***********************************************************************************************************************
13  * Macro definitions
14  **********************************************************************************************************************/
15 
16 /***********************************************************************************************************************
17  * Typedef definitions
18  **********************************************************************************************************************/
19 
20 /***********************************************************************************************************************
21  * Exported global variables (to be accessed by other files)
22  **********************************************************************************************************************/
23 
24 /***********************************************************************************************************************
25  * Private global variables and functions
26  **********************************************************************************************************************/
27 
28 /*******************************************************************************************************************//**
29  * @addtogroup BSP_MCU
30  *
31  * @{
32  **********************************************************************************************************************/
33 
34 /*******************************************************************************************************************//**
35  * Register a callback function for supported interrupts. If NULL is passed for the callback argument then any
36  * previously registered callbacks are unregistered.
37  *
38  * @param[in]  irq          Interrupt for which  to register a callback.
39  * @param[in]  p_callback   Pointer to function to call when interrupt occurs.
40  *
41  * @retval     FSP_ERR_UNSUPPORTED          NMI Group IRQ are not supported in this device.
42  **********************************************************************************************************************/
R_BSP_GroupIrqWrite(bsp_grp_irq_t irq,void (* p_callback)(bsp_grp_irq_t irq))43 fsp_err_t R_BSP_GroupIrqWrite (bsp_grp_irq_t irq, void (* p_callback)(bsp_grp_irq_t irq))
44 {
45     (void) irq;
46     (void) p_callback;
47 #if BSP_CFG_PARAM_CHECKING_ENABLE
48 
49     /* Check pointer for NULL value. */
50     FSP_ASSERT(p_callback);
51 #endif
52 
53     return FSP_ERR_UNSUPPORTED;
54 }
55 
56 /** @} (end addtogroup BSP_MCU) */
57