📄 eeprom._h
字号:
/*
** Header file : rteeprom.h
*/
#ifdef _AVR
/* AVR EEPROM real-time access functions */
#ifndef __RTEEPROM__H
#define __RTEEPROM__H
// real time EEPROM access functions
// these work for devices with more than 256 bytes of EEPROM
// These functions are provided for real-time systems where waiting for a
// previous write operation to complete may not be acceptable.
// These functions do not wait for any previous eeprom function to complete.
// the user is responsible for tresting that the eeprom is ready for the
// intended operation.
// function to test if the EEPROM is ready for a read or write operation
// returns non zero if ready, zero if not ready
unsigned char RTEEPROMReady(void);
// function to initiate an EEPROM write
// writes the specified data byte to the specified location
// this will fail if the EEPROM is not ready!
void RTEEPROMwrite(int location, unsigned char databyte);
// function to read from the EEPROM
// reads a byte from the specified location
// this will fail if the EEPROM is not ready!
unsigned char RTEEPROMread(int location);
#endif
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -