/* * @Date: 2025-07-15 11:12:08 * @Author: mypx * @LastEditors: mypx mypx_coder@163.com * @LastEditTime: 2025-09-16 11:25:32 * @FilePath: data_sampling.h * @Description: * Copyright (c) 2025 by mypx, All Rights Reserved. */ #ifndef __DATA_SAMPLING_H__ #define __DATA_SAMPLING_H__ #include "bsp_encoder.h" #include "pm_board.h" extern struct rt_messagequeue adc_mq; extern uint16_t adc_raw_buffer[DATA_PROCESS_UNIT_COUNT]; extern float sampling_rate; int data_sampling_init(void); void data_sampling_start(void); void data_sampling_stop(void); #endif