chg-stn-motherboard-ti-mcu/Core/Include/ivec_mcal_adc_dma.h

36 lines
1.0 KiB
C

//#ifndef CORE_INCLUDE_IVEC_MCAL_ADC_DMA_H_
//#define CORE_INCLUDE_IVEC_MCAL_ADC_DMA_H_
//
//#include "..\mspm0g3507_mcal\utils\utils.h"
//
///** @defgroup DMA_definition
// * @{
// */
//#define dmaCHID_u8 ((uint8_t) 0) /*!< DMA channel ID */
//#define dmaSAMPLETIME_u16 ((uint16_t) 320) /*!< DMA sample time */
//#define dmaSAMPLECNT_u8 ((uint8_t) 6) /*!< DMA sample count */
///**
// * @}
// */
//
//
///*!<Function for ADC */
//
//IVEC_McalStatus_e xMCAL_AdcInit(ADC12_Regs* const adc_inst);
//IVEC_McalStatus_e xMCAL_AdcDeInit(ADC12_Regs* const adc_inst);
//IVEC_McalStatus_e xMCAL_AdcStart(ADC12_Regs* const adc_inst);
//IVEC_McalStatus_e xMCAL_AdcStop(ADC12_Regs* const adc_inst);
//
//
///*!<Function for DMA */
//IVEC_McalStatus_e xMCAL_DmaInit(void);
//IVEC_McalStatus_e xMCAL_DmaDeInit(void);
//IVEC_McalStatus_e xMCAL_DmaStart(const uint8_t u8channel ,uint16_t* p_u16adcDma);
//IVEC_McalStatus_e xMCAL_DmaStop(void);
//
//void _prv_adccallback();
//
//
//
//#endif /* CORE_INCLUDE_IVEC_MCAL_ADC_DMA_H_ */