/*
 * energy.h
 *
 *  Created on: 2024年12月6日
 *      Author: yongchaoz
 */

#ifndef DRIVER_SRC_ENERGY_H_
#define DRIVER_SRC_ENERGY_H_


typedef enum
{
    ADC_GAIN_KEEP = 0UL,/*增益保持*/
    ADC_GAIN_INCREASE = 1UL,/*增益增大*/
    ADC_GAIN_DECREASE = 2UL,/*增益减小*/
} adc_gain_agc_typedef;


uint32_t sound_energy_real_time_count(uint8_t *sound_addr, uint32_t samplepoints, uint32_t bits, uint32_t samplerate);

#endif /* DRIVER_SRC_ENERGY_H_ */
