HI_MIPI_RESET_SENSOR
Applicable Products
Product |
Supported |
|---|---|
☓ |
|
☓ |
|
☓ |
|
√ |
|
☓ |
|
☓ |
Function
Resets a sensor.
Definition
#define HI_MIPI_RESET_SENSOR _IOW(HI_MIPI_IOC_MAGIC, 0x05, sns_rst_source_t)
Parameters
- HI_MIPI_IOC_MAGIC: indicates the magic number of MIPI RX ioctl commands.
#define HI_MIPI_IOC_MAGIC 'm'
- 0x05: indicates the command identifier function and resets the sensor.
- sns_rst_source_t: indicates the ID of the sensor reset signal cable.
Returns
- 0: success
- -1: failure
Precautions
Some sensors have requirements on the reset time. You can add a delay before the reset is deasserted.
Parent topic: MIPI RX Ioctl Command Identifiers