![]() |
RTEMS 6.2
|
Flashdev backend simulating NAND in memory. More...
#include <dev/flash/flashdev.h>Go to the source code of this file.
Data Structures | |
| struct | flash_sim_flashdev_attributes |
| Configuration options for NAND simulation. More... | |
Functions | |
| rtems_flashdev * | flash_sim_flashdev_init (struct flash_sim_flashdev_attributes *attr) |
| Initializes a simulated flash device. The flash device is not registered in this call. The returned object must be destroyed with rtems_flashdev_destroy if it has not been registered. | |
Flashdev backend simulating NAND in memory.
| rtems_flashdev * flash_sim_flashdev_init | ( | struct flash_sim_flashdev_attributes * | attr | ) |
Initializes a simulated flash device. The flash device is not registered in this call. The returned object must be destroyed with rtems_flashdev_destroy if it has not been registered.
| [in] | attr | A pointer to a flash_sim_flashdev_attributes describing the features of the simulated flash. This parameter may be NULL. |
| A | pointer to the rtems_flashdev. |
| NULL | on failure. |