You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
1.0 KiB
30 lines
1.0 KiB
////////////////////////////////////////////////////////////////////////////
|
|
///@copyright Copyright (c) 2018, 传控科技 All rights reserved.
|
|
///-------------------------------------------------------------------------
|
|
/// @file bsp_drv.c
|
|
/// @brief bsp @ driver config
|
|
///-------------------------------------------------------------------------
|
|
/// @version 1.0
|
|
/// @author CC
|
|
/// @date 20180331
|
|
/// @note cc_AS_stc02
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
|
|
#include "app_task_adc.h"
|
|
#include "common.h"
|
|
|
|
void L3_task_adc_handler(u8 ch)
|
|
{
|
|
L3_task_adc_sample(&ts_adc_samples[ch]);
|
|
/***********
|
|
//方法论和计算书 https://ccsensp.yuque.com/tegchg/lr84bm/hhexas
|
|
L3_task_adc_channel_sample(&ts_adc_channel_samples[ch]);
|
|
//L3_task_adc_filter_mid(&ts_adc_blur_mid[ch]);
|
|
L3_task_adc_filter_avg(&ts_adc_blur_avg[ch]);
|
|
L3_task_adc_filter_shift(&ts_adc_blur_shift[ch]);
|
|
L3_task_adc_filter_out(&ts_adc_blur_out[ch]);
|
|
***********/
|
|
}
|
|
|
|
|
|
|
|
|