dnx RTOS 2.4.0 "Goose"
|
Driver handles Digital Camera Interface.
Major number means peripheral number of camera interface (camera0, camera1, etc). Minor number should be set to 0.
The STM32F4 support only one camera interface, so major number is limited to 0. Minor number has no meaning and should be set always to 0.
To initialize driver the following code can be used:
To release driver the following code can be used:
Only static configuration is possible via configuration files (Configtool).
Writing is not possible.
Only full frame can be read at once. Other transfer sizes are not supported.
User can get current driver parameters (related with frame size) by using ioctl() function with IOCTL_DCI__GET_PARAMS request.
Data Structures | |
struct | DCI_params_t |
Macros | |
#define | IOCTL_DCI__GET_PARAMS _IOR(DCI, 0x00, DCI_params_t*) |
Get image parameters. More... | |
struct DCI_params_t |
#define IOCTL_DCI__GET_PARAMS _IOR(DCI, 0x00, DCI_params_t*) |
[RD] | DCI_params_t* image parameters |