Qualcomm Camera Learning Note four

Source: Internet
Author: User

Sensor module

1. Overview

Sensor module is one of many modules, mainly by the module's various hardware modules, including sensor, Flash, Af, EEprom, OIS, CSI and so on. This module mainly describes some working principles of the module hardware and some related parts of the drive.

2.module_sensor_init () function

As mentioned in the previous server process, the module is initialized after the service is started, including the sensor module, and the sensor initializes the entry function as Module_sensor_init (...). This function creates the sensor module and returns its pointer, creates its port, fills in some function functions, and so on. Its main implementation process is as follows:

1. Create the MCT module for the sensor. --mct_module_create (name)

After creation, populate set mode, query mode, start session, stop session, and set session data five interface functions.

2. Create the module_sensro_ctrl_t structure, which contains bundle information to build the previously mentioned module tree (easy to add, traverse, etc.).

The 3.sensor module is the source module, so its numsinkports should be set to 0.

4.eebin related Operations

5.sensor detection operation to detect effective sensor.

6. Fill in all the information that has been detected by the sensor.

7. Fill in the other information of sensor (Actuator,flash,csid,ois, etc.).

8. Initialize the Sensor module.

9. Create a port based on CID info

10. Initializing the EEPROM

Qualcomm Camera Learning Note four

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.