0.31MP OV7251 MIPI CAMERA MODULE
www.ArduCAM.com
9
7.3.3
V4L2 Control Functions
Arducam OV7251 camera driver supports a list of V4L2 control functions, and you can check the
supported functions using the following commands:
1.
Check supported resolution
v4l2-ctl --list-formats-ext
2.
Check the supported controls
v4l2-ctl -l
3.
Manual Exposure Setting
v4l2-ctl -c exposure=0x50
4.
Manual Gain Setting
v4l2-ctl -c gain=0x02
5.
Mirror
v4l2-ctl -c horizontal_flip=1
6.
Flip
v4l2-ctl -c vertical_fli=1
7.
Sensor Register Access
First, you have to set the address of the register to be accessed, for example, 0x0202 in our case
v4l2-ctl -c register_addr=0x0202
Read the value from 0x0202 register
v4l2-ctl -C register_val
Write the value to 0x0202 register
v4l2-ctl -c register_val=0x01