/*!
* @file     Gpt_Cfg.h
*
* @version  1.0.0
*
* @brief    This file includes the configuration parameters of the Gpt module.
*
*/

/*******************************************************************************
 * Project Name      : AUTOSAR MCAL
 * Platform          : Arm
 * Autosar Standard  : Classic Platform 4.4.0
 * Revision Number   :
 * Compiled Version  : G32A10xx_MCAL_1_0_0_15-Nov-25
 *
 * Copyright (C) 2026 Geehy Semiconductor
 *
 * You may not use this file except in compliance with the GEEHY COPYRIGHT NOTICE
 * (Geehy Semiconductor Software License Agreement).
 *
 * 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 Semiconductor Software License Agreement for
 * the governing permissions and limitations under the License.
*
*******************************************************************************/
#ifndef GPT_CFG_H
#define GPT_CFG_H

#ifdef __cplusplus
extern "C" {
#endif

#include "Mcal.h"
#include "StdRegMacros.h"
/*******************************************************************************
                        VENDOR ID & AUTOSAR VERSION INFO
*******************************************************************************/
/** Vendor ID (vendorId) of the dedicated implementation of this module according to the AUTOSAR vendor list. */
#define GPT_CFG_H_VENDOR_ID                     0x00C1U
/** Major version number of AUTOSAR release on which the appropriate implementation is based on. */
#define GPT_CFG_H_AR_RELEASE_MAJOR_VERSION      0x04U
/** Minor version number of AUTOSAR release on which the appropriate implementation is based on. */
#define GPT_CFG_H_AR_RELEASE_MINOR_VERSION      0x04U
/** Revision version number of AUTOSAR release on which the appropriate implementation is based on. */
#define GPT_CFG_H_AR_RELEASE_REVISION_VERSION   0x00U
/** Major version number of the vendor specific implementation of the module. The numbering is vendor specific. */
#define GPT_CFG_H_SW_MAJOR_VERSION              0x01U
/** Minor version number of the vendor specific implementation of the module. The numbering is vendor specific. */
#define GPT_CFG_H_SW_MINOR_VERSION              0x00U
/** Patch level version number of the vendor specific implementation of the module. The numbering is vendor specific. */
#define GPT_CFG_H_SW_PATCH_VERSION              0x00U

/*******************************************************************************
                             MACRO DEFINITION
*******************************************************************************/
/** Defines the maxiumum number of hardware channels.  */
#define GPT_CHANNEL_IDX_NUM                                (2U)

#define GPT_HW_TIMER_NUM                                   (2U)

/** Enable or Disableto the Gpt_DeInit Api */
#define GPT_DEINIT_API_ENABLE                              (STD_OFF)

/** Enable or Disableto the Gpt_EnableNotification/Gpt_DisableNotification Api */
#define GPT_ENABLE_DISABLE_NOTIFICATION_API_ENABLE         (STD_ON)

/** Enable or Disableto the Gpt_EnableWakeup/Gpt_DisableWakeup Api */
#define GPT_ENABLE_DISABLE_WAKEUP_FUNCTIONALITY_API_ENABLE (STD_OFF)

/** Enable or Disableto the Gpt_GetTimeElapsed Api */
#define GPT_TIME_ELAPSED_API_ENABLE                        (STD_ON)

/** Enable or Disableto the Gpt_GetTimeRemaining Api */
#define GPT_TIME_REMAINING_API_ENABLE                      (STD_ON)

/** Enable or Disableto the Gpt_GetVersionInfo Api */
#define GPT_GET_VERSION_INFO_API_ENABLE                    (STD_ON)

/** Enable or Disable Gpt report wakeup source function */
#define GPT_REPORT_WAKEUP_SOURCE_ENABLE                    (STD_OFF)

/** Enable or Disable the Det Error Detect Function */
#define GPT_DEV_ERROR_DETECT_ENABLE                        (STD_ON)

/** The max number of Gpt channel */    
#define GPT_TOTAL_CHANNELS_NUMBER                          (19U)

#define GPT_TMR1_ISR_ENABLE
#define GPT_TMR2_ISR_ENABLE

/** Defines for the symbolic names of Gpt Channel */
#define GPT_CHANNEL_NUMBER                                 ((Gpt_ChannelType)0xFF)

#define Gpt_ConfigRef_GptChannelConfiguration_0            (0U)
#define Gpt_ConfigRef_GptChannelConfiguration_1            (1U)

/** Defines for unused channels names.  */
#define GPT_CHANNEL_NOT_USED                               (255U)


#ifdef __cplusplus
}
#endif

#endif /* GPT_TMR_TYPES_H */
