SM.h
上传用户:xs588588
上传日期:2021-03-30
资源大小:242k
文件大小:1k
- void SM_Port_Init(void);
- void CLE_Enable(void);
- void CLE_Disable(void);
- void CE_Enable(void);
- void CE_Disable(void);
- void ALE_Enable(void);
- void ALE_Disable(void);
- void WE_Enable(void);
- void WE_Disable(void);
- void RE_Enable(void);
- void RE_Disable(void);
- int GetSMStatus(void);
- int ReadID(unsigned char pBuf[2]);
- int PageWrite(int nCol,unsigned long nRow,char *pBuf);
- int WriteByte(int nCommand,int nCol,unsigned long nRow,char nValue);
- char ReadByte(int nCommand,int nCol,unsigned long nRow);
- int PageRead(int nCol,unsigned long nRow,char *pBuf);
- int BlockErase(unsigned long nAddr);
- int VerifyValid(unsigned long nAddr);
- void ResetSM(void);
- int BlockRead(unsigned long nAddr,char pBuf[32][528]);
- int CopyToFlash(unsigned long nAddr);
- int RealTimeBadMark(unsigned long nAddr);