RTEMS 6.1-rc2
|
The EEFC driver provides the interface to configure and use the EEFC peripheral.
The user needs to set the number of wait states depending on the frequency used.
Configure number of cycles for flash read/write operations in the FWS field of EEFC_FMR.
It offers a function to send flash command to EEFC and waits for the flash to be ready.
To send flash command, the user could do in either of following way:
The command argument could be a page number,GPNVM number or nothing, it depends on the command itself. Some useful functions in this driver could help user translate physical flash address into a page number and vice verse.
For more accurate information, please look at the EEFC section of the Datasheet.
Related files :
efc.c
efc.h.