32 #ifndef __SPIFILIB_API_H_
33 #define __SPIFILIB_API_H_
163 return *(pFamily->
pDesc->pDevCount);
255 return pHandle->
pFamFx->eraseAll(pHandle);
266 return pHandle->
pFamFx->eraseSubBlock(pHandle, blknum);
283 return pHandle->
pFamFx->pageProgram(pHandle, addr, writeBuff, bytes);
297 return pHandle->
pFamFx->read(pHandle, addr, readBuff, bytes);
308 pHandle->
pFamFx->reset(pHandle);
321 #define spifiDevGetFamilyName spifiDevGetDeviceName
329 uint32_t spifiDevGetInfo(const SPIFI_HANDLE_T *pHandle, SPIFI_INFO_ID_T infoId);