/*!
 * @file     Icu_DmaNotification.c
 *
 * @version  1.0.0
 *
 * @brief    This file includes the data exported by the Icu module.
 */
/*******************************************************************************
* Project Name      : AUTOSAR MCAL
* Platform          : Arm
* Autosar Standard  : Classic Platform 4.4.0
* Revision Number   :
* Compiled Version  : G32A10xx_MCAL_1_0_0_01-Otc-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.
*
*******************************************************************************/

#ifdef __cplusplus
extern "C"{
#endif

#include "Icu.h"
#include "Icu_Irq.h"
/**********************************************************************************************************************
                                    VENDOR ID & AUTOSAR VERSION INFO
***********************************************************************************************************************/
/** Vendor ID (vendorId) of the dedicated implementation of this module according to the AUTOSAR vendor list. */
#define ICU_DMANOTIF_VENDOR_ID                          0x00C1U
/** Major version number of AUTOSAR release on which the appropriate implementation is based on. */
#define ICU_DMANOTIF_AR_RELEASE_MAJOR_VERSION           0x04U
/** Minor version number of AUTOSAR release on which the appropriate implementation is based on. */
#define ICU_DMANOTIF_AR_RELEASE_MINOR_VERSION           0x04U
/** Revision version number of AUTOSAR release on which the appropriate implementation is based on. */
#define ICU_DMANOTIF_AR_RELEASE_REVISION_VERSION        0x00U
/** Major version number of the vendor specific implementation of the module. The numbering is vendor specific. */
#define ICU_DMANOTIF_SW_MAJOR_VERSION                   0x01U
/** Minor version number of the vendor specific implementation of the module. The numbering is vendor specific. */
#define ICU_DMANOTIF_SW_MINOR_VERSION                   0x00U
/** Patch level version number of the vendor specific implementation of the module. The numbering is vendor specific. */
#define ICU_DMANOTIF_SW_PATCH_VERSION                   0x00U

/**********************************************************************************************************************
                                      VERSION INFOMATION VERIFICATION
***********************************************************************************************************************/
/* Make sure the vendor id is the same between Icu_DmaNotification.c and Icu.h */
#if(ICU_DMANOTIF_VENDOR_ID != ICU_H_VENDOR_ID)
    #error "Vendor id mismatch between Icu_DmaNotification.c and Icu.h"
#endif
/* Make sure the AUTOSAR major version number is the same between Icu_DmaNotification.c and Icu.h */
#if(ICU_DMANOTIF_AR_RELEASE_MAJOR_VERSION != ICU_H_AR_RELEASE_MAJOR_VERSION)
    #error "AUTOSAR Major Version Number mismatch between Icu_DmaNotification.c and Icu.h"
#endif
/* Make sure the AUTOSAR minor version number is the same between Icu_DmaNotification.c and Icu.h */
#if(ICU_DMANOTIF_AR_RELEASE_MINOR_VERSION != ICU_H_AR_RELEASE_MINOR_VERSION)
    #error "AUTOSAR Minor Version Number mismatch between Icu_DmaNotification.c and Icu.h"
#endif
/* Make sure the AUTOSAR revision version number is the same between Icu_DmaNotification.c and Icu.h */
#if(ICU_DMANOTIF_AR_RELEASE_REVISION_VERSION != ICU_H_AR_RELEASE_REVISION_VERSION)
    #error "AUTOSAR Revision Version Number mismatch between Icu_DmaNotification.c and Icu.h"
#endif
/* Make sure the software major version number is the same between Icu_DmaNotification.c and Icu.h */
#if(ICU_DMANOTIF_SW_MAJOR_VERSION != ICU_H_SW_MAJOR_VERSION)
    #error "Software Major Version Number mismatch between Icu_DmaNotification.c and Icu.h"
#endif
/* Make sure the software minor version number is the same between Icu_DmaNotification.c and Icu.h */
#if(ICU_DMANOTIF_SW_MINOR_VERSION != ICU_H_SW_MINOR_VERSION)
    #error "Software Minor Version Number mismatch between Icu_DmaNotification.c and Icu.h"
#endif
/* Make sure the software patch version number is the same between Icu_DmaNotification.c and Icu.h */
#if(ICU_DMANOTIF_SW_PATCH_VERSION != ICU_H_SW_PATCH_VERSION)
    #error "Software Patch Version Number mismatch between Icu_DmaNotification.c and Icu.h"
#endif

/* Make sure the vendor id is the same between Icu_DmaNotification.c and Icu_Irq.h */
#if(ICU_DMANOTIF_VENDOR_ID != ICU_IRQ_H_VENDOR_ID)
    #error "Vendor id mismatch between Icu_DmaNotification.c and Icu_Irq.h"
#endif
/* Make sure the AUTOSAR major version number is the same between Icu_DmaNotification.c and Icu_Irq.h */
#if(ICU_DMANOTIF_AR_RELEASE_MAJOR_VERSION != ICU_IRQ_H_AR_RELEASE_MAJOR_VERSION)
    #error "AUTOSAR Major Version Number mismatch between Icu_DmaNotification.c and Icu_Irq.h"
#endif
/* Make sure the AUTOSAR minor version number is the same between Icu_DmaNotification.c and Icu_Irq.h */
#if(ICU_DMANOTIF_AR_RELEASE_MINOR_VERSION != ICU_IRQ_H_AR_RELEASE_MINOR_VERSION)
    #error "AUTOSAR Minor Version Number mismatch between Icu_DmaNotification.c and Icu_Irq.h"
#endif
/* Make sure the AUTOSAR revision version number is the same between Icu_DmaNotification.c and Icu_Irq.h */
#if(ICU_DMANOTIF_AR_RELEASE_REVISION_VERSION != ICU_IRQ_H_AR_RELEASE_REVISION_VERSION)
    #error "AUTOSAR Revision Version Number mismatch between Icu_DmaNotification.c and Icu_Irq.h"
#endif
/* Make sure the software major version number is the same between Eep.c and Eep_Flash_Reg.h */
#if(ICU_DMANOTIF_SW_MAJOR_VERSION != ICU_IRQ_H_SW_MAJOR_VERSION)
    #error "Software Major Version Number mismatch between Eep.c and Eep_Flash_Reg.h"
#endif
/* Make sure the software minor version number is the same between Eep.c and Eep_Flash_Reg.h */
#if(ICU_DMANOTIF_SW_MINOR_VERSION != ICU_IRQ_H_SW_MINOR_VERSION)
    #error "Software Minor Version Number mismatch between Eep.c and Eep_Flash_Reg.h"
#endif
/* Make sure the software patch version number is the same between Eep.c and Eep_Flash_Reg.h */
#if(ICU_DMANOTIF_SW_PATCH_VERSION != ICU_IRQ_H_SW_PATCH_VERSION)
    #error "Software Patch Version Number mismatch between Eep.c and Eep_Flash_Reg.h"
#endif

#define ICU_START_SEC_CODE
#include "Icu_MemMap.h"

#if (STD_ON == ICU_TIMESTAMP_USES_DMA_ENABLE)

FUNC (void, ICU_CODE) Icu_Channel_10_PdlDmaTransferCompletionNotif(void);

/** Dma notification handlers for IcuChannel_10 */
FUNC (void, ICU_CODE) Icu_Channel_10_PdlDmaTransferCompletionNotif(void)
{
    Icu_DealWithTimestampWithDma(IcuChannel_10);
}

#endif

#define ICU_STOP_SEC_CODE
#include "Icu_MemMap.h"

#ifdef __cplusplus
}
#endif

