/*!
 * @file        g32a10xx_int.h
 *
 * @brief       This file contains the headers of the interrupt handlers
 *
 * @version     V1.0.0
 *
 * @date        2026-02-25
 *
 * @attention
 *
 *  Copyright (C) 2026 Geehy Semiconductor
 *
 *  You may not use this file except in compliance with the
 *  GEEHY COPYRIGHT NOTICE (GEEHY SOFTWARE PACKAGE LICENSE).
 *
 *  The program is only for reference, which is distributed in the hope
 *  that it will be useful and instructional for customers to develop
 *  their software. Unless required by applicable law or agreed to in
 *  writing, the program is distributed on an "AS IS" BASIS, WITHOUT
 *  ANY WARRANTY OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the GEEHY SOFTWARE PACKAGE LICENSE for the governing permissions
 *  and limitations under the License.
 */

/* Define to prevent recursive inclusion */
#ifndef USER_CONFIG_H
#define USER_CONFIG_H

#include "g32a10xx_rcm.h"

#ifdef __cplusplus
extern "C" {
#endif

/** @addtogroup Examples
  @{
  */

/** @addtogroup RCM_Examples
  @{
*/

/** @addtogroup RCM_CssDemo
  @{
  */

/** @defgroup RCM_CssDemo_Enumerations Enumerations
  @{
*/

/**
 * @brief   Switch Clock Type 
 */
typedef enum
{
    RCM_SYSCLK_NO_SWITCH,      /*!< system clock source no switch */
    RCM_SYSCLK_SWITCH_HSI,     /*!< system clock source switch to HSI */
    RCM_SYSCLK_SWITCH_HSE,     /*!< system clock source switch to HSE */
    RCM_SYSCLK_SWITCH_PLL      /*!< system clock source switch to PLL */
} Rcm_SysClkSwitchType;

/**@} end of group RCM_CssDemo_Enumerations */

/** @defgroup RCM_CssDemo_Variables Variables
  @{
*/

/* Clock Select */
extern const char *g_rcmSysclkSelTab[3];

extern Rcm_SysClkSwitchType g_clkSwitchFlg;

/**@} end of group RCM_CssDemo_Variables */

/** @defgroup RCM_CssDemo_Functions Functions
  @{
  */
/* Rcm_Delay */
void Rcm_Delay(void);
/* COC Init */
extern void Rcm_ClockOutputInit(void);
extern void Rcm_KeySwitchSysclkIsr(void);
extern void Rcm_SystemClock_HSE_Init(void);
extern void Rcm_SystemClock_HSI_Init(void);
extern void Rcm_SystemClock_PLL_Init(void);


#ifdef __cplusplus
}
#endif

#endif /* USER_CONFIG_H */

/**@} end of group RCM_CssDemo_Functions */
/**@} end of group RCM_CssDemo*/
/**@} end of group RCM_Examples */
/**@} end of group Examples */

