📄 lld.h
字号:
extern int lld_SecErsCmd
(
ADDRESS base_addr, /* device base address is system */
DWORD offset, /* address offset from base address */
PARAM data_cfg, /* data width of flash device in bytes */
PARAM* err_code_ptr, /* variable in which to store error code */
char* err_buf /* buffer to store textual error info */
);
extern int lld_ChipErsCmd
(
ADDRESS base_addr, /* device base address is system */
DWORD offset, /* address offset from base address */
PARAM data_cfg, /* data width of flash device in bytes */
PARAM* err_code_ptr, /* variable in which to store error code */
char* err_buf /* buffer to store textual error info */
);
extern int lld_PgmCmd
(
ADDRESS base_addr, /* device base address is system */
DWORD offset, /* address offset from base address */
PARAM data_cfg, /* data width of flash device in bytes */
FLASHDATA* pgm_data_ptr, /* variable containing data to program */
PARAM* err_code_ptr, /* variable in which to store error code */
char* err_buf /* buffer to store textual error info */
);
extern int lld_UnlockBypassEnterCmd
(
ADDRESS base_addr, /* device base address is system */
DWORD offset, /* address offset from base address */
PARAM data_cfg, /* data width of flash device in bytes */
PARAM* err_code_ptr, /* variable in which to store error code */
char* err_buf /* buffer to store textual error info */
);
extern int lld_UnlockBypassPgmCmd
(
ADDRESS base_addr, /* device base address is system */
DWORD offset, /* address offset from base address */
PARAM data_cfg, /* data width of flash device in bytes */
FLASHDATA* pgm_data_ptr, /* variable containing data to program */
PARAM* err_code_ptr, /* variable in which to store error code */
char* err_buf /* buffer to store textual error info */
);
extern int lld_UnlockBypassExitCmd
(
ADDRESS base_addr, /* device base address is system */
DWORD offset, /* address offset from base address */
PARAM data_cfg, /* data width of flash device in bytes */
PARAM* err_code_ptr, /* variable in which to store error code */
char* err_buf /* buffer to store textual error info */
);
extern int lld_AutoselectEnterCmd
(
ADDRESS base_addr, /* device base address is system */
DWORD offset, /* address offset from base address */
PARAM data_cfg, /* data width of flash device in bytes */
PARAM* err_code_ptr, /* variable in which to store error code */
char* err_buf /* buffer to store textual error info */
);
extern int lld_AutoselectExitCmd
(
ADDRESS base_addr, /* device base address is system */
DWORD offset, /* address offset from base address */
PARAM data_cfg, /* data width of flash device in bytes */
PARAM* err_code_ptr, /* variable in which to store error code */
char* err_buf /* buffer to store textual error info */
);
extern int lld_SecSiSecEnterCmd
(
ADDRESS base_addr, /* device base address is system */
DWORD offset, /* address offset from base address */
PARAM data_cfg, /* data width of flash device in bytes */
PARAM* err_code_ptr, /* variable in which to store error code */
char* err_buf /* buffer to store textual error info */
);
extern int lld_SecSiSecExitCmd
(
ADDRESS base_addr, /* device base address is system */
DWORD offset, /* address offset from base address */
PARAM data_cfg, /* data width of flash device in bytes */
PARAM* err_code_ptr, /* variable in which to store error code */
char* err_buf /* buffer to store textual error info */
);
extern int lld_WrtToBufCmd
(
ADDRESS base_addr, /* device base address is system */
DWORD offset, /* address offset from base address */
PARAM data_cfg, /* data width of flash device in bytes */
PARAM* err_code_ptr, /* variable in which to store error code */
char* err_buf /* buffer to store textual error info */
);
extern int lld_PgmBufToFlashCmd
(
ADDRESS base_addr, /* device base address is system */
DWORD offset, /* address offset from base address */
PARAM data_cfg, /* data width of flash device in bytes */
PARAM* err_code_ptr, /* variable in which to store error code */
char* err_buf /* buffer to store textual error info */
);
extern int lld_WrtToBufAbortResetCmd
(
ADDRESS base_addr, /* device base address is system */
DWORD offset, /* address offset from base address */
PARAM data_cfg, /* data width of flash device in bytes */
PARAM* err_code_ptr, /* variable in which to store error code */
char* err_buf /* buffer to store textual error info */
);
extern int lld_ProgramSuspendCmd
(
ADDRESS base_addr, /* device base address is system */
DWORD offset, /* address offset from base address */
PARAM data_cfg, /* data width of flash device in bytes */
PARAM* err_code_ptr, /* variable in which to store error code */
char* err_buf /* buffer to store textual error info */
);
extern int lld_EraseSuspendCmd
(
ADDRESS base_addr, /* device base address is system */
DWORD offset, /* address offset from base address */
PARAM data_cfg, /* data width of flash device in bytes */
PARAM* err_code_ptr, /* variable in which to store error code */
char* err_buf /* buffer to store textual error info */
);
extern int lld_EraseResumeCmd
(
ADDRESS base_addr, /* device base address is system */
DWORD offset, /* address offset from base address */
PARAM data_cfg, /* data width of flash device in bytes */
PARAM* err_code_ptr, /* variable in which to store error code */
char* err_buf /* buffer to store textual error info */
);
extern int lld_ProgramResumeCmd
(
ADDRESS base_addr, /* device base address is system */
DWORD offset, /* address offset from base address */
PARAM data_cfg, /* data width of flash device in bytes */
PARAM* err_code_ptr, /* variable in which to store error code */
char* err_buf /* buffer to store textual error info */
);
extern int lld_CfiEnterCmd
(
ADDRESS base_addr, /* device base address is system */
DWORD offset, /* address offset from base address */
PARAM data_cfg, /* data width of flash device in bytes */
PARAM* err_code_ptr, /* variable in which to store error code */
char* err_buf /* buffer to store textual error info */
);
extern int lld_CfiExitCmd
(
ADDRESS base_addr, /* device base address is system */
DWORD offset, /* address offset from base address */
PARAM data_cfg, /* data width of flash device in bytes */
PARAM* err_code_ptr, /* variable in which to store error code */
char* err_buf /* buffer to store textual error info */
);
/* Utility Functions */
extern int lld_StatusGet
(
ADDRESS base_addr, /* device base address is system */
DWORD offset, /* address offset from base address */
PARAM data_cfg, /* data config (data width, # of devices) */
DEVSTATUS* dev_status_ptr, /* device status */
FLASHDATA* act_data_ptr, /* actual data */
PARAM polling_type, /* type of polling to perform */
PARAM* err_code_ptr, /* variable in which to store error code */
char* err_buf /* buffer to store textual error info */
);
extern int lld_Poll
(
ADDRESS base_addr, /* device base address is system */
DWORD offset, /* address offset from base address */
PARAM data_cfg, /* data config (data width, # of devices) */
FLASHDATA* exp_data_ptr, /* expect data */
FLASHDATA* act_data_ptr, /* actual data */
PARAM polling_type, /* type of polling to perform */
PARAM* err_code_ptr, /* variable in which to store error code */
char* err_buf /* buffer to store textual error info */
);
extern int lld_BytesPerOpInitFromDataCfg
(
int* bytes_per_op, /* width of each write/read operation */
PARAM data_cfg, /* data config (data width, # of devices) */
PARAM* err_code_ptr, /* variable in which to store error code */
char* err_buf /* buffer to store textual error info */
);
/*****************************************************************************/
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* __INC_lldh */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -