|
|||||||||||
Technical Support On-Line Manuals RL-ARM User's Guide (MDK v4) ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SPI Flash DriverSPI Flash Driver describes the flash programming interface functions for Flash devices. The functions are located in the file FS_SPI_FlashPrg.c of the folder \ARM\RL\FlashFS\Flash\device_type. The driver control block structure is defined in the file File_Config.h as follows: /* Embedded Flash Device driver */ typedef struct { BOOL (*Init) (U32 adr, U32 clk); BOOL (*UnInit) (void); BOOL (*ReadData) (U32 adr, U32 sz, U8 *buf); BOOL (*ProgramPage) (U32 adr, U32 sz, U8 *buf); BOOL (*EraseSector) (U32 adr); BOOL (*EraseChip) (void); /* Optional, NULL if not existing */ } const EFS_DRV; Developers can adapt the code of the following functions:
| ||||||||||
|
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.