| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- /**
- * @file STC8G_EEPROM_IAP_ATY.h
- *
- * @param Project DEVICE_GENERAL_ATY_LIB
- *
- * @author ATY
- *
- * @copyright
- * - Copyright 2017 - 2025 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 EEPROM_IAP for STC51
- *
- * @version
- * - 1_01_230114 > ATY
- * -# Preliminary version, first Release
- ********************************************************************************
- */
- #ifndef __STC8G_EEPROM_IAP_ATY_H
- #define __STC8G_EEPROM_IAP_ATY_H
- #include "INCLUDE_ATY.h"
- /******************************* For user *************************************/
- #define __DEBUG_STC8G_EEPROM_IAP_ATY
- // #define EEPROM_USE_MOVC // use MOVC to read
- /******************************************************************************/
- void IAP_Idle(void);
- void IAP_Erase(uint16_t addr);
- uint8_t IAP_ReadByte(uint16_t addr);
- void IAP_WriteByte(uint16_t addr, uint8_t dataByte);
- float IAP_ReadFloat(uint16_t addr);
- void IAP_WriteFloat(uint16_t addr, float dataFloat);
- #ifdef __DEBUG_STC8G_EEPROM_IAP_ATY
- void IAP_Test(void);
- #endif /* __DEBUG_STC8G_EEPROM_IAP_ATY */
- #endif /* __STC8G_EEPROM_IAP_ATY_H */
- /******************************** End Of File *********************************/
|