dnx RTOS 2.2.0 "Eagle"
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
FMC Driver (Flexible Memory Controller)

Detailed Description

Description

Driver handles ...

Supported architectures

Details

Meaning of major and minor numbers

Todo:
Meaning of major and minor numbers

Numeration restrictions

Todo:
Numeration restrictions

Driver initialization

To initialize driver the following code can be used:

driver_init("FMC", 0, 0, "/dev/FMC0-0");
driver_init("FMC", 0, 1, "/dev/FMC0-1");

Driver release

To release driver the following code can be used:

driver_release("FMC", 0, 0);
driver_release("FMC", 0, 1);

Driver configuration

Todo:
Driver configuration

Data write

Todo:
Data write

Data read

Todo:
Data read

Macros

#define IOCTL_FMC__EXAMPLE   _IO(FMC, 0x00)
 Example IOCTL request. More...
 

Macro Definition Documentation

#define IOCTL_FMC__EXAMPLE   _IO(FMC, 0x00)
Parameters
[WR,RD]ioctl() params...
Returns
On success 0 is returned, otherwise -1.

Example

#include <sys/ioctl.h>
//...
//...