kernel_samsung_a34x-permissive/drivers/misc/mediatek/auxadc/mtk_auxadc.h
2024-04-28 15:49:01 +02:00

17 lines
472 B
C
Executable file

/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright (c) 2019 MediaTek Inc.
*/
#ifndef _MTK_ADC_H
#define _MTK_ADC_H
/* ------------------------------------------------------------------------- */
extern int IMM_IsAdcInitReady(void);
extern int IMM_get_adc_channel_num(char *channel_name, int len);
extern int IMM_GetOneChannelValue(int dwChannel, int data[4], int *rawdata);
extern int IMM_GetOneChannelValue_Cali(int Channel, int *voltage);
#endif /*_MTK_ADC_H*/