AW93015.h 613 Bytes
#ifndef __SOUND_IIC_H__
#define __SOUND_IIC_H__
/** SWDG *********************************************************************/

#define MAX_NUM    30


typedef void (*aw9310x_irq_init_t)(void(*)(void));

typedef struct {
    uint16_t Value_Filter[MAX_NUM]; 
		uint16_t MaxValue;
		uint16_t MinValue;
		uint16_t CurValue;
	  uint16_t AveValue; 
		uint32_t CumulativeSum;
		uint8_t MaxValuePtr;
		uint8_t MinValuePtr;
}PD_VALUE_FILTER_PARA;

extern PD_VALUE_FILTER_PARA PD1_Value;
extern PD_VALUE_FILTER_PARA PD2_Value;

extern void Init93015_IIC(void);
uint8_t GET_Key_Prosess(void);
#endif /* __SOUND_IIC_H__ */