#ifndef SRC_ADC_INFO_H_
#define SRC_ADC_INFO_H_

typedef struct{
    char Company[16];
    unsigned int ID;//IDк
    char Label[16];//Ʒͺ
    unsigned int Max_Sample;//ǰ
    unsigned char Channel_Num;//ͨ
    unsigned char Data_Type;//,1Ϊ룬0Ϊ޷
    unsigned char Resolution;//ֱ
    unsigned char mode;//ģʽ
    unsigned int reserved;//Ԥ

    float Max_Volta;//ѹ
    float Min_Volta;//Сѹ
    unsigned int Clk_Freq;//ʱHz
    float Cycle;//ns
    unsigned char reserve[192];//ȷ256ֽ
}__attribute__((__packed__))ADC_info;

static const ADC_info ACM7606C_18_info = {
    .Company = "xiaomeigefpga",
    .ID = 0x00000003,
    .Label = "ACM7606C-18",
    .Max_Sample = 100000000,
    .Channel_Num= 8,
    .Data_Type   = 1,
    .Resolution   = 18,
    .mode = 1,
    .reserved = 0,
    .Max_Volta  = 10.0,
    .Min_Volta  = -10.0,
    .Clk_Freq   = 100000000,
    .Cycle   = 10,
    .reserve = {0}
};


#endif /* SRC_ADC_INFO_H_ */
