6 releases
0.1.5 | Aug 11, 2020 |
---|---|
0.1.4 | Aug 4, 2020 |
0.1.3 | Jul 30, 2020 |
#960 in Embedded development
Used in 3 crates
(2 directly)
2MB
549 lines
mt9v034-i2c
Rust no_std driver for the ON Semiconductor MT9V034 image sensor
This is a low-cost global shutter CMOS image sensor useful for robotics and machine vision applications.
This driver specifically interfaces with the sensor's
two-wire (i2c) programming interface, which allows you to set
various camera configuration parameters. This driver does not obtain
pixel data from the camera. For that you will need a driver that
pulls data from the camera's parallel data lines.
(Example in the px4flow_bsp crate.)
License
BSD-3-Clause: see LICENSE file
Status
- Access to basic configuration registers
- Support for register locking (to prevent accidental changes due to i2c noise)
- Example for cortex-m
lib.rs
:
Configuration driver for the ON Semiconductor MT9V034 image sensor This imaging sensor has multiple interfaces:
- Two-wire i2c for configuration registers (i2c)
- parallel pixel data out (dout)
- pixel out sync (vsync, hsync, pix clock) This driver is concerned only with the i2c interface