mirror of
https://gitee.com/Vancouver2017/luban-lite-t3e-pro.git
synced 2025-12-14 18:38:55 +00:00
28 lines
646 B
C
28 lines
646 B
C
/*
|
|
* Copyright (c) 2022-2024, ArtInChip Technology Co., Ltd
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*
|
|
* Authors: matteo <duanmt@artinchip.com>
|
|
*/
|
|
|
|
#ifndef _ARTINCHIP_HAL_ADCIM_H_
|
|
#define _ARTINCHIP_HAL_ADCIM_H_
|
|
|
|
#include "aic_common.h"
|
|
|
|
int hal_adcim_calibration_set(unsigned int val);
|
|
s32 hal_adcim_probe(void);
|
|
u32 hal_adcim_auto_calibration(void);
|
|
int hal_adcim_adc2voltage(u16 *val, u32 cal_data, int scale, float def_voltage);
|
|
|
|
#ifdef AIC_ADCIM_DM_DRV
|
|
void hal_dm_chan_show(void);
|
|
s32 hal_dm_chan_store(u32 val);
|
|
void hal_adcdm_rtp_down_store(u32 val);
|
|
ssize_t hal_adcdm_sram_write(int *buf, u32 offset, size_t count);
|
|
#endif
|
|
|
|
|
|
#endif
|