//
// Created by ilya on 20.06.24.
//

#ifndef AMPLIFIER_AW87579_ADDRES_H
#define AMPLIFIER_AW87579_ADDRES_H

/*
 * AW87579 Address
 */

#ifdef AW87579_ADPinConnectToGND
#define AW87579_Addres 0x58
#endif

#ifdef AW87579_ADPinConnectToSCL
#define AW87579_Addres 0x59
#endif

#ifdef AW87579_ADPinConnectToSDA
#define AW87579_Addres 0x5A
#endif

#ifdef AW87579_ADPinConnectToVDD
#define AW87579_Addres 0x5B
#endif

#ifndef AW87579_Addres
#define AW87579_Addres 0x58
#endif

#define AW87579_Addres_Write ((AW87579_Addres<<1)|0)
#define AW87579_Addres_Read ((AW87579_Addres<<1)|1)


#endif //AMPLIFIER_AW87579_ADDRES_H
