/* @Created by VECMOCON Technology * @Date - 26 feb 2024 * TODO - To enable the not define function please go through the project properties --> under the arm complier --> predefine symbols * @ add (_N) at the end of definition to not define * @ Remove (_N) from the end of definition to define * @ Content added by AS - MCAL function for ADC, ADC with DMA, Periodic Timer, PWM, SysTick and Input Capture */ #include "../utils/utils.h" #include "../Core/Include/gpio.h" #include "../Core/Include/ivec_mcal_adc_dma.h" #include "../Core/Include/ivec_mcal_timer.h" #include "../Core/Include/ivec_mcal_mcan.h" #include "../Core/Include/ivec_mcal_spi.h" #include "../Core/Include/ivec_mcal_i2c.h" #include "../Core/Include/ivec_mcal_uart.h" #include "NOR_FLASH/nor_flash.h" #include "ti_msp_dl_config.h" #include "string.h" #include "ivec_cmplx_queue.h" #include "../ivec_ECU/ivec_ecu_uart/inc/ivec_ecu_uart.h" #define DMA_CHANNEL 1 #define ADC_CHANNEL 2 #define SAMPLE_TIME 500 #ifdef ADC_DMA_CONFIG /*!< ADC with DMA _PA15 */ #endif //#ifdef ADC_CONFIG /*!