ov7670.h 476 B

123456789101112131415161718192021
  1. /*
  2. * A V4L2 driver for OmniVision OV7670 cameras.
  3. *
  4. * Copyright 2010 One Laptop Per Child
  5. *
  6. * This file may be distributed under the terms of the GNU General
  7. * Public License, version 2.
  8. */
  9. #ifndef __OV7670_H
  10. #define __OV7670_H
  11. struct ov7670_config {
  12. int min_width; /* Filter out smaller sizes */
  13. int min_height; /* Filter out smaller sizes */
  14. int clock_speed; /* External clock speed (MHz) */
  15. bool use_smbus; /* Use smbus I/O instead of I2C */
  16. };
  17. #endif