Linux Kernel
3.7.1
|
#include "m5602_sensor.h"
Go to the source code of this file.
Macros | |
#define | OV7660_GAIN 0x00 |
#define | OV7660_BLUE_GAIN 0x01 |
#define | OV7660_RED_GAIN 0x02 |
#define | OV7660_VREF 0x03 |
#define | OV7660_COM1 0x04 |
#define | OV7660_BAVE 0x05 |
#define | OV7660_GEAVE 0x06 |
#define | OV7660_AECHH 0x07 |
#define | OV7660_RAVE 0x08 |
#define | OV7660_COM2 0x09 |
#define | OV7660_PID 0x0a |
#define | OV7660_VER 0x0b |
#define | OV7660_COM3 0x0c |
#define | OV7660_COM4 0x0d |
#define | OV7660_COM5 0x0e |
#define | OV7660_COM6 0x0f |
#define | OV7660_AECH 0x10 |
#define | OV7660_CLKRC 0x11 |
#define | OV7660_COM7 0x12 |
#define | OV7660_COM8 0x13 |
#define | OV7660_COM9 0x14 |
#define | OV7660_COM10 0x15 |
#define | OV7660_RSVD16 0x16 |
#define | OV7660_HSTART 0x17 |
#define | OV7660_HSTOP 0x18 |
#define | OV7660_VSTART 0x19 |
#define | OV7660_VSTOP 0x1a |
#define | OV7660_PSHFT 0x1b |
#define | OV7660_MIDH 0x1c |
#define | OV7660_MIDL 0x1d |
#define | OV7660_MVFP 0x1e |
#define | OV7660_LAEC 0x1f |
#define | OV7660_BOS 0x20 |
#define | OV7660_GBOS 0x21 |
#define | OV7660_GROS 0x22 |
#define | OV7660_ROS 0x23 |
#define | OV7660_AEW 0x24 |
#define | OV7660_AEB 0x25 |
#define | OV7660_VPT 0x26 |
#define | OV7660_BBIAS 0x27 |
#define | OV7660_GbBIAS 0x28 |
#define | OV7660_RSVD29 0x29 |
#define | OV7660_RBIAS 0x2c |
#define | OV7660_HREF 0x32 |
#define | OV7660_ADC 0x37 |
#define | OV7660_OFON 0x39 |
#define | OV7660_TSLB 0x3a |
#define | OV7660_COM12 0x3c |
#define | OV7660_COM13 0x3d |
#define | OV7660_LCC1 0x62 |
#define | OV7660_LCC2 0x63 |
#define | OV7660_LCC3 0x64 |
#define | OV7660_LCC4 0x65 |
#define | OV7660_LCC5 0x66 |
#define | OV7660_HV 0x69 |
#define | OV7660_RSVDA1 0xa1 |
#define | OV7660_DEFAULT_GAIN 0x0e |
#define | OV7660_DEFAULT_RED_GAIN 0x80 |
#define | OV7660_DEFAULT_BLUE_GAIN 0x80 |
#define | OV7660_DEFAULT_SATURATION 0x00 |
#define | OV7660_DEFAULT_EXPOSURE 0x20 |
Functions | |
int | ov7660_probe (struct sd *sd) |
int | ov7660_init (struct sd *sd) |
int | ov7660_start (struct sd *sd) |
int | ov7660_stop (struct sd *sd) |
void | ov7660_disconnect (struct sd *sd) |
Variables | |
int | force_sensor |
bool | dump_sensor |
#define OV7660_ADC 0x37 |
Definition at line 68 of file m5602_ov7660.h.
#define OV7660_AEB 0x25 |
Definition at line 61 of file m5602_ov7660.h.
#define OV7660_AECH 0x10 |
Definition at line 40 of file m5602_ov7660.h.
#define OV7660_AECHH 0x07 |
Definition at line 31 of file m5602_ov7660.h.
#define OV7660_AEW 0x24 |
Definition at line 60 of file m5602_ov7660.h.
#define OV7660_BAVE 0x05 |
Definition at line 29 of file m5602_ov7660.h.
#define OV7660_BBIAS 0x27 |
Definition at line 63 of file m5602_ov7660.h.
#define OV7660_BLUE_GAIN 0x01 |
Definition at line 25 of file m5602_ov7660.h.
#define OV7660_BOS 0x20 |
Definition at line 56 of file m5602_ov7660.h.
#define OV7660_CLKRC 0x11 |
Definition at line 41 of file m5602_ov7660.h.
#define OV7660_COM1 0x04 |
Definition at line 28 of file m5602_ov7660.h.
#define OV7660_COM10 0x15 |
Definition at line 45 of file m5602_ov7660.h.
#define OV7660_COM12 0x3c |
Definition at line 71 of file m5602_ov7660.h.
#define OV7660_COM13 0x3d |
Definition at line 72 of file m5602_ov7660.h.
#define OV7660_COM2 0x09 |
Definition at line 33 of file m5602_ov7660.h.
#define OV7660_COM3 0x0c |
Definition at line 36 of file m5602_ov7660.h.
#define OV7660_COM4 0x0d |
Definition at line 37 of file m5602_ov7660.h.
#define OV7660_COM5 0x0e |
Definition at line 38 of file m5602_ov7660.h.
#define OV7660_COM6 0x0f |
Definition at line 39 of file m5602_ov7660.h.
#define OV7660_COM7 0x12 |
Definition at line 42 of file m5602_ov7660.h.
#define OV7660_COM8 0x13 |
Definition at line 43 of file m5602_ov7660.h.
#define OV7660_COM9 0x14 |
Definition at line 44 of file m5602_ov7660.h.
#define OV7660_DEFAULT_BLUE_GAIN 0x80 |
Definition at line 83 of file m5602_ov7660.h.
#define OV7660_DEFAULT_EXPOSURE 0x20 |
Definition at line 85 of file m5602_ov7660.h.
#define OV7660_DEFAULT_GAIN 0x0e |
Definition at line 81 of file m5602_ov7660.h.
#define OV7660_DEFAULT_RED_GAIN 0x80 |
Definition at line 82 of file m5602_ov7660.h.
#define OV7660_DEFAULT_SATURATION 0x00 |
Definition at line 84 of file m5602_ov7660.h.
#define OV7660_GAIN 0x00 |
Definition at line 24 of file m5602_ov7660.h.
#define OV7660_GbBIAS 0x28 |
Definition at line 64 of file m5602_ov7660.h.
#define OV7660_GBOS 0x21 |
Definition at line 57 of file m5602_ov7660.h.
#define OV7660_GEAVE 0x06 |
Definition at line 30 of file m5602_ov7660.h.
#define OV7660_GROS 0x22 |
Definition at line 58 of file m5602_ov7660.h.
#define OV7660_HREF 0x32 |
Definition at line 67 of file m5602_ov7660.h.
#define OV7660_HSTART 0x17 |
Definition at line 47 of file m5602_ov7660.h.
#define OV7660_HSTOP 0x18 |
Definition at line 48 of file m5602_ov7660.h.
#define OV7660_HV 0x69 |
Definition at line 78 of file m5602_ov7660.h.
#define OV7660_LAEC 0x1f |
Definition at line 55 of file m5602_ov7660.h.
#define OV7660_LCC1 0x62 |
Definition at line 73 of file m5602_ov7660.h.
#define OV7660_LCC2 0x63 |
Definition at line 74 of file m5602_ov7660.h.
#define OV7660_LCC3 0x64 |
Definition at line 75 of file m5602_ov7660.h.
#define OV7660_LCC4 0x65 |
Definition at line 76 of file m5602_ov7660.h.
#define OV7660_LCC5 0x66 |
Definition at line 77 of file m5602_ov7660.h.
#define OV7660_MIDH 0x1c |
Definition at line 52 of file m5602_ov7660.h.
#define OV7660_MIDL 0x1d |
Definition at line 53 of file m5602_ov7660.h.
#define OV7660_MVFP 0x1e |
Definition at line 54 of file m5602_ov7660.h.
#define OV7660_OFON 0x39 |
Definition at line 69 of file m5602_ov7660.h.
#define OV7660_PID 0x0a |
Definition at line 34 of file m5602_ov7660.h.
#define OV7660_PSHFT 0x1b |
Definition at line 51 of file m5602_ov7660.h.
#define OV7660_RAVE 0x08 |
Definition at line 32 of file m5602_ov7660.h.
#define OV7660_RBIAS 0x2c |
Definition at line 66 of file m5602_ov7660.h.
#define OV7660_RED_GAIN 0x02 |
Definition at line 26 of file m5602_ov7660.h.
#define OV7660_ROS 0x23 |
Definition at line 59 of file m5602_ov7660.h.
#define OV7660_RSVD16 0x16 |
Definition at line 46 of file m5602_ov7660.h.
#define OV7660_RSVD29 0x29 |
Definition at line 65 of file m5602_ov7660.h.
#define OV7660_RSVDA1 0xa1 |
Definition at line 79 of file m5602_ov7660.h.
#define OV7660_TSLB 0x3a |
Definition at line 70 of file m5602_ov7660.h.
#define OV7660_VER 0x0b |
Definition at line 35 of file m5602_ov7660.h.
#define OV7660_VPT 0x26 |
Definition at line 62 of file m5602_ov7660.h.
#define OV7660_VREF 0x03 |
Definition at line 27 of file m5602_ov7660.h.
#define OV7660_VSTART 0x19 |
Definition at line 49 of file m5602_ov7660.h.
#define OV7660_VSTOP 0x1a |
Definition at line 50 of file m5602_ov7660.h.
Definition at line 273 of file m5602_ov7660.c.
Definition at line 211 of file m5602_ov7660.c.
Definition at line 145 of file m5602_ov7660.c.
Definition at line 263 of file m5602_ov7660.c.
Definition at line 268 of file m5602_ov7660.c.
bool dump_sensor |
Definition at line 31 of file m5602_core.c.
int force_sensor |
Definition at line 29 of file m5602_core.c.