#ifndef __NVM_ACCESS_H__
#define __NVM_ACCESS_H__
#include <types.h> /* Commonly used type definitions */
/*NVM一旦读/写操作完成执行必要的行动来节省电力*/
extern void Nvm_Disable(void);
/*读操作后,执行必要的行动来节约电能.读单词从NVM存储后准备NVM是可读的。
* buffer [out] Data read from NVM
* length [in] Number of words of data to read
* offset [in] Offset from which to start reading, in words*/
extern void Nvm_Read(uint16 *buffer, uint16 length, uint16 offset);
/*写操作后,执行必要的行动来节约电能.读单词从NVM存储后准备NVM是可读的。
* PARAMETERS
* buffer [in] Data to write to NVM
* length [in] Number of words of data to write
* offset [in] Offset from which to start writing, in words-*/
extern void Nvm_Write(uint16 *buffer, uint16 length, uint16 offset);
#endif /* __NVM_ACCESS_H__ */
#define __NVM_ACCESS_H__
#include <types.h> /* Commonly used type definitions */
/*NVM一旦读/写操作完成执行必要的行动来节省电力*/
extern void Nvm_Disable(void);
/*读操作后,执行必要的行动来节约电能.读单词从NVM存储后准备NVM是可读的。
* buffer [out] Data read from NVM
* length [in] Number of words of data to read
* offset [in] Offset from which to start reading, in words*/
extern void Nvm_Read(uint16 *buffer, uint16 length, uint16 offset);
/*写操作后,执行必要的行动来节约电能.读单词从NVM存储后准备NVM是可读的。
* PARAMETERS
* buffer [in] Data to write to NVM
* length [in] Number of words of data to write
* offset [in] Offset from which to start writing, in words-*/
extern void Nvm_Write(uint16 *buffer, uint16 length, uint16 offset);
#endif /* __NVM_ACCESS_H__ */