
#ifndef ADC_H__
#define ADC_H__

#include "r_typedefs.h"
/*-----------------use for RH850_F1KM_S1 --------------------*/
// #include "Analog_Signals.h"

#define ADC_RESOLUTION (4096U) /* 12bit ADC */
// enum ADCCh9
// {
//     ADC_CH_KL15_VOLTAGE = 0,
//     ADC_CH_KL30_VOLTAGE,
//     ADC_CH_9_VOLTAGE,
// };



extern void ADC_Init(const uint8_t u8ChList[], uint8_t u8ChNum);
extern void ADC_DeInit(void);
extern void ADC_Start_Conversion(void);
extern void ADC_Stop_Conversion(void);
extern uint8_t ADC_Get_Conversion_Status(void);
extern void ADC_Get_Conversion_Result(uint16_t *pu16Data, uint8_t u8ChNum);


#endif
