| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- /**
- * @file AD5245_ATY.h
- *
- * @param Project DEVICE_GENERAL_ATY_LIB
- *
- * @author ATY
- *
- * @copyright
- * - Copyright 2017 - 2023 MZ-ATY
- * - This code follows:
- * - MZ-ATY Various Contents Joint Statement -
- * <a href="https://mengze.top/MZ-ATY_VCJS">
- * https://mengze.top/MZ-ATY_VCJS</a>
- * - CC 4.0 BY-NC-SA -
- * <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/">
- * https://creativecommons.org/licenses/by-nc-sa/4.0/</a>
- * - Your use will be deemed to have accepted the terms of this statement.
- *
- * @brief Familiar functions of AD5245 for all embedded device
- *
- * @version
- * - 1_01_220927 > ATY
- * -# Preliminary version, first Release
- ********************************************************************************
- */
- #ifndef __AD5245_ATY_H
- #define __AD5245_ATY_H
- #include "INCLUDE_ATY.h"
- #include "HW_I2C_ATY.h"
- /******************************* For user *************************************/
- // Set AD0 voltage level for device address
- #define AD5245_AD0 1
- #define AD5245_READBACK
- #define __DEBUG_AD5245_ATY
- /******************************************************************************/
- // 0 1 0 1 1 0 AD0 R/W
- #define AD5245_ADDRESS (0x2C | AD5245_AD0)
- void AD5245_SetValue(uint8_t value);
- #endif /* __AD5245_ATY_H */
- /******************************** End Of File *********************************/
|