Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Variables
stv06xx_pb0100.h File Reference
#include "stv06xx_sensor.h"

Go to the source code of this file.

Macros

#define PB0100_CROP_TO_VGA   0x01
 
#define PB0100_SUBSAMPLE   0x02
 
#define PB_IDENT   0x00 /* Chip Version */
 
#define PB_RSTART   0x01 /* Row Window Start */
 
#define PB_CSTART   0x02 /* Column Window Start */
 
#define PB_RWSIZE   0x03 /* Row Window Size */
 
#define PB_CWSIZE   0x04 /* Column Window Size */
 
#define PB_CFILLIN   0x05 /* Column Fill-In */
 
#define PB_VBL   0x06 /* Vertical Blank Count */
 
#define PB_CONTROL   0x07 /* Control Mode */
 
#define PB_FINTTIME   0x08 /* Integration Time/Frame Unit Count */
 
#define PB_RINTTIME   0x09 /* Integration Time/Row Unit Count */
 
#define PB_ROWSPEED   0x0a /* Row Speed Control */
 
#define PB_ABORTFRAME   0x0b /* Abort Frame */
 
#define PB_R12   0x0c /* Reserved */
 
#define PB_RESET   0x0d /* Reset */
 
#define PB_EXPGAIN   0x0e /* Exposure Gain Command */
 
#define PB_R15   0x0f /* Expose0 */
 
#define PB_R16   0x10 /* Expose1 */
 
#define PB_R17   0x11 /* Expose2 */
 
#define PB_R18   0x12 /* Low0_DAC */
 
#define PB_R19   0x13 /* Low1_DAC */
 
#define PB_R20   0x14 /* Low2_DAC */
 
#define PB_R21   0x15 /* Threshold11 */
 
#define PB_R22   0x16 /* Threshold0x */
 
#define PB_UPDATEINT   0x17 /* Update Interval */
 
#define PB_R24   0x18 /* High_DAC */
 
#define PB_R25   0x19 /* Trans0H */
 
#define PB_R26   0x1a /* Trans1L */
 
#define PB_R27   0x1b /* Trans1H */
 
#define PB_R28   0x1c /* Trans2L */
 
#define PB_R29   0x1d /* Reserved */
 
#define PB_R30   0x1e /* Reserved */
 
#define PB_R31   0x1f /* Wait to Read */
 
#define PB_PREADCTRL   0x20 /* Pixel Read Control Mode */
 
#define PB_R33   0x21 /* IREF_VLN */
 
#define PB_R34   0x22 /* IREF_VLP */
 
#define PB_R35   0x23 /* IREF_VLN_INTEG */
 
#define PB_R36   0x24 /* IREF_MASTER */
 
#define PB_R37   0x25 /* IDACP */
 
#define PB_R38   0x26 /* IDACN */
 
#define PB_R39   0x27 /* DAC_Control_Reg */
 
#define PB_R40   0x28 /* VCL */
 
#define PB_R41   0x29 /* IREF_VLN_ADCIN */
 
#define PB_R42   0x2a /* Reserved */
 
#define PB_G1GAIN   0x2b /* Green 1 Gain */
 
#define PB_BGAIN   0x2c /* Blue Gain */
 
#define PB_RGAIN   0x2d /* Red Gain */
 
#define PB_G2GAIN   0x2e /* Green 2 Gain */
 
#define PB_R47   0x2f /* Dark Row Address */
 
#define PB_R48   0x30 /* Dark Row Options */
 
#define PB_R49   0x31 /* Reserved */
 
#define PB_R50   0x32 /* Image Test Data */
 
#define PB_ADCMAXGAIN   0x33 /* Maximum Gain */
 
#define PB_ADCMINGAIN   0x34 /* Minimum Gain */
 
#define PB_ADCGLOBALGAIN   0x35 /* Global Gain */
 
#define PB_R54   0x36 /* Maximum Frame */
 
#define PB_R55   0x37 /* Minimum Frame */
 
#define PB_R56   0x38 /* Reserved */
 
#define PB_VOFFSET   0x39 /* VOFFSET */
 
#define PB_R58   0x3a /* Snap-Shot Sequence Trigger */
 
#define PB_ADCGAINH   0x3b /* VREF_HI */
 
#define PB_ADCGAINL   0x3c /* VREF_LO */
 
#define PB_R61   0x3d /* Reserved */
 
#define PB_R62   0x3e /* Reserved */
 
#define PB_R63   0x3f /* Reserved */
 
#define PB_R64   0x40 /* Red/Blue Gain */
 
#define PB_R65   0x41 /* Green 2/Green 1 Gain */
 
#define PB_R66   0x42 /* VREF_HI/LO */
 
#define PB_R67   0x43 /* Integration Time/Row Unit Count */
 
#define PB_R240   0xf0 /* ADC Test */
 
#define PB_R241   0xf1 /* Chip Enable */
 
#define PB_R242   0xf2 /* Reserved */
 

Variables

struct stv06xx_sensor stv06xx_sensor_pb0100
 

Macro Definition Documentation

#define PB0100_CROP_TO_VGA   0x01

Definition at line 36 of file stv06xx_pb0100.h.

#define PB0100_SUBSAMPLE   0x02

Definition at line 37 of file stv06xx_pb0100.h.

#define PB_ABORTFRAME   0x0b /* Abort Frame */

Definition at line 51 of file stv06xx_pb0100.h.

#define PB_ADCGAINH   0x3b /* VREF_HI */

Definition at line 99 of file stv06xx_pb0100.h.

#define PB_ADCGAINL   0x3c /* VREF_LO */

Definition at line 100 of file stv06xx_pb0100.h.

#define PB_ADCGLOBALGAIN   0x35 /* Global Gain */

Definition at line 93 of file stv06xx_pb0100.h.

#define PB_ADCMAXGAIN   0x33 /* Maximum Gain */

Definition at line 91 of file stv06xx_pb0100.h.

#define PB_ADCMINGAIN   0x34 /* Minimum Gain */

Definition at line 92 of file stv06xx_pb0100.h.

#define PB_BGAIN   0x2c /* Blue Gain */

Definition at line 84 of file stv06xx_pb0100.h.

#define PB_CFILLIN   0x05 /* Column Fill-In */

Definition at line 45 of file stv06xx_pb0100.h.

#define PB_CONTROL   0x07 /* Control Mode */

Definition at line 47 of file stv06xx_pb0100.h.

#define PB_CSTART   0x02 /* Column Window Start */

Definition at line 42 of file stv06xx_pb0100.h.

#define PB_CWSIZE   0x04 /* Column Window Size */

Definition at line 44 of file stv06xx_pb0100.h.

#define PB_EXPGAIN   0x0e /* Exposure Gain Command */

Definition at line 54 of file stv06xx_pb0100.h.

#define PB_FINTTIME   0x08 /* Integration Time/Frame Unit Count */

Definition at line 48 of file stv06xx_pb0100.h.

#define PB_G1GAIN   0x2b /* Green 1 Gain */

Definition at line 83 of file stv06xx_pb0100.h.

#define PB_G2GAIN   0x2e /* Green 2 Gain */

Definition at line 86 of file stv06xx_pb0100.h.

#define PB_IDENT   0x00 /* Chip Version */

Definition at line 40 of file stv06xx_pb0100.h.

#define PB_PREADCTRL   0x20 /* Pixel Read Control Mode */

Definition at line 72 of file stv06xx_pb0100.h.

#define PB_R12   0x0c /* Reserved */

Definition at line 52 of file stv06xx_pb0100.h.

#define PB_R15   0x0f /* Expose0 */

Definition at line 55 of file stv06xx_pb0100.h.

#define PB_R16   0x10 /* Expose1 */

Definition at line 56 of file stv06xx_pb0100.h.

#define PB_R17   0x11 /* Expose2 */

Definition at line 57 of file stv06xx_pb0100.h.

#define PB_R18   0x12 /* Low0_DAC */

Definition at line 58 of file stv06xx_pb0100.h.

#define PB_R19   0x13 /* Low1_DAC */

Definition at line 59 of file stv06xx_pb0100.h.

#define PB_R20   0x14 /* Low2_DAC */

Definition at line 60 of file stv06xx_pb0100.h.

#define PB_R21   0x15 /* Threshold11 */

Definition at line 61 of file stv06xx_pb0100.h.

#define PB_R22   0x16 /* Threshold0x */

Definition at line 62 of file stv06xx_pb0100.h.

#define PB_R24   0x18 /* High_DAC */

Definition at line 64 of file stv06xx_pb0100.h.

#define PB_R240   0xf0 /* ADC Test */

Definition at line 108 of file stv06xx_pb0100.h.

#define PB_R241   0xf1 /* Chip Enable */

Definition at line 109 of file stv06xx_pb0100.h.

#define PB_R242   0xf2 /* Reserved */

Definition at line 110 of file stv06xx_pb0100.h.

#define PB_R25   0x19 /* Trans0H */

Definition at line 65 of file stv06xx_pb0100.h.

#define PB_R26   0x1a /* Trans1L */

Definition at line 66 of file stv06xx_pb0100.h.

#define PB_R27   0x1b /* Trans1H */

Definition at line 67 of file stv06xx_pb0100.h.

#define PB_R28   0x1c /* Trans2L */

Definition at line 68 of file stv06xx_pb0100.h.

#define PB_R29   0x1d /* Reserved */

Definition at line 69 of file stv06xx_pb0100.h.

#define PB_R30   0x1e /* Reserved */

Definition at line 70 of file stv06xx_pb0100.h.

#define PB_R31   0x1f /* Wait to Read */

Definition at line 71 of file stv06xx_pb0100.h.

#define PB_R33   0x21 /* IREF_VLN */

Definition at line 73 of file stv06xx_pb0100.h.

#define PB_R34   0x22 /* IREF_VLP */

Definition at line 74 of file stv06xx_pb0100.h.

#define PB_R35   0x23 /* IREF_VLN_INTEG */

Definition at line 75 of file stv06xx_pb0100.h.

#define PB_R36   0x24 /* IREF_MASTER */

Definition at line 76 of file stv06xx_pb0100.h.

#define PB_R37   0x25 /* IDACP */

Definition at line 77 of file stv06xx_pb0100.h.

#define PB_R38   0x26 /* IDACN */

Definition at line 78 of file stv06xx_pb0100.h.

#define PB_R39   0x27 /* DAC_Control_Reg */

Definition at line 79 of file stv06xx_pb0100.h.

#define PB_R40   0x28 /* VCL */

Definition at line 80 of file stv06xx_pb0100.h.

#define PB_R41   0x29 /* IREF_VLN_ADCIN */

Definition at line 81 of file stv06xx_pb0100.h.

#define PB_R42   0x2a /* Reserved */

Definition at line 82 of file stv06xx_pb0100.h.

#define PB_R47   0x2f /* Dark Row Address */

Definition at line 87 of file stv06xx_pb0100.h.

#define PB_R48   0x30 /* Dark Row Options */

Definition at line 88 of file stv06xx_pb0100.h.

#define PB_R49   0x31 /* Reserved */

Definition at line 89 of file stv06xx_pb0100.h.

#define PB_R50   0x32 /* Image Test Data */

Definition at line 90 of file stv06xx_pb0100.h.

#define PB_R54   0x36 /* Maximum Frame */

Definition at line 94 of file stv06xx_pb0100.h.

#define PB_R55   0x37 /* Minimum Frame */

Definition at line 95 of file stv06xx_pb0100.h.

#define PB_R56   0x38 /* Reserved */

Definition at line 96 of file stv06xx_pb0100.h.

#define PB_R58   0x3a /* Snap-Shot Sequence Trigger */

Definition at line 98 of file stv06xx_pb0100.h.

#define PB_R61   0x3d /* Reserved */

Definition at line 101 of file stv06xx_pb0100.h.

#define PB_R62   0x3e /* Reserved */

Definition at line 102 of file stv06xx_pb0100.h.

#define PB_R63   0x3f /* Reserved */

Definition at line 103 of file stv06xx_pb0100.h.

#define PB_R64   0x40 /* Red/Blue Gain */

Definition at line 104 of file stv06xx_pb0100.h.

#define PB_R65   0x41 /* Green 2/Green 1 Gain */

Definition at line 105 of file stv06xx_pb0100.h.

#define PB_R66   0x42 /* VREF_HI/LO */

Definition at line 106 of file stv06xx_pb0100.h.

#define PB_R67   0x43 /* Integration Time/Row Unit Count */

Definition at line 107 of file stv06xx_pb0100.h.

#define PB_RESET   0x0d /* Reset */

Definition at line 53 of file stv06xx_pb0100.h.

#define PB_RGAIN   0x2d /* Red Gain */

Definition at line 85 of file stv06xx_pb0100.h.

#define PB_RINTTIME   0x09 /* Integration Time/Row Unit Count */

Definition at line 49 of file stv06xx_pb0100.h.

#define PB_ROWSPEED   0x0a /* Row Speed Control */

Definition at line 50 of file stv06xx_pb0100.h.

#define PB_RSTART   0x01 /* Row Window Start */

Definition at line 41 of file stv06xx_pb0100.h.

#define PB_RWSIZE   0x03 /* Row Window Size */

Definition at line 43 of file stv06xx_pb0100.h.

#define PB_UPDATEINT   0x17 /* Update Interval */

Definition at line 63 of file stv06xx_pb0100.h.

#define PB_VBL   0x06 /* Vertical Blank Count */

Definition at line 46 of file stv06xx_pb0100.h.

#define PB_VOFFSET   0x39 /* VOFFSET */

Definition at line 97 of file stv06xx_pb0100.h.

Variable Documentation

struct stv06xx_sensor stv06xx_sensor_pb0100
Initial value:
= {
.name = "PB-0100",
.i2c_flush = 1,
.i2c_addr = 0xba,
.i2c_len = 2,
.min_packet_size = { 635, 847 },
.max_packet_size = { 847, 923 },
.init = pb0100_init,
.init_controls = pb0100_init_controls,
.probe = pb0100_probe,
.start = pb0100_start,
.stop = pb0100_stop,
.dump = pb0100_dump,
}

Definition at line 127 of file stv06xx_pb0100.h.