Paparazzi UAS
v5.14.0_stable-0-g3f680d1
Paparazzi is a free software Unmanned Aircraft System.
|
Go to the source code of this file.
#define MT9V117_ACCESS_CTL_STAT 0x0982 |
Definition at line 18 of file mt9v117_regs.h.
Referenced by mt9v117_write_patch().
#define MT9V117_ADDRESS 0xBA |
The i2c address of the chip.
Definition at line 4 of file mt9v117_regs.h.
Referenced by read_reg(), and write_reg().
#define MT9V117_AE_RULE_ALGO_AVERAGE 0 |
Definition at line 27 of file mt9v117_regs.h.
Referenced by mt9v117_init().
#define MT9V117_AE_RULE_ALGO_OFFSET 4 |
Definition at line 26 of file mt9v117_regs.h.
Referenced by mt9v117_init().
#define MT9V117_AE_RULE_ALGO_WEIGHTED 1 |
Definition at line 28 of file mt9v117_regs.h.
#define MT9V117_AE_RULE_VAR 9 |
Definition at line 25 of file mt9v117_regs.h.
Referenced by mt9v117_init().
#define MT9V117_AE_TRACK_JUMP_DIVISOR 0xA812 |
Definition at line 21 of file mt9v117_regs.h.
Referenced by mt9v117_config().
#define MT9V117_AE_TRACK_VAR 10 |
Definition at line 29 of file mt9v117_regs.h.
Referenced by mt9v117_write_patch().
#define MT9V117_AWB_PIXEL_THRESHOLD_COUNT_OFFSET 64 |
Definition at line 31 of file mt9v117_regs.h.
Referenced by mt9v117_init().
#define MT9V117_AWB_VAR 11 |
Definition at line 30 of file mt9v117_regs.h.
Referenced by mt9v117_init().
#define MT9V117_CAM_AET_SKIP_FRAMES 0xC868 |
Definition at line 22 of file mt9v117_regs.h.
Referenced by mt9v117_config().
#define MT9V117_CAM_CROP_MODE_OFFSET 80 |
Definition at line 57 of file mt9v117_regs.h.
Referenced by mt9v117_config().
#define MT9V117_CAM_CROP_WINDOW_HEIGHT_OFFSET 78 |
Definition at line 56 of file mt9v117_regs.h.
Referenced by mt9v117_config().
#define MT9V117_CAM_CROP_WINDOW_WIDTH_OFFSET 76 |
Definition at line 55 of file mt9v117_regs.h.
Referenced by mt9v117_config().
#define MT9V117_CAM_CROP_WINDOW_XOFFSET_OFFSET 72 |
Definition at line 53 of file mt9v117_regs.h.
Referenced by mt9v117_config().
#define MT9V117_CAM_CROP_WINDOW_YOFFSET_OFFSET 74 |
Definition at line 54 of file mt9v117_regs.h.
Referenced by mt9v117_config().
#define MT9V117_CAM_CTRL_VAR 18 |
Definition at line 33 of file mt9v117_regs.h.
Referenced by mt9v117_config(), mt9v117_init(), and mt9v117_write_patch().
#define MT9V117_CAM_FLICKER_PERIOD_50HZ 1 |
Definition at line 52 of file mt9v117_regs.h.
#define MT9V117_CAM_FLICKER_PERIOD_60HZ 0 |
Definition at line 51 of file mt9v117_regs.h.
#define MT9V117_CAM_FLICKER_PERIOD_OFFSET 62 |
Definition at line 50 of file mt9v117_regs.h.
#define MT9V117_CAM_LL_START_GAIN_METRIC_OFFSET 278 |
Definition at line 81 of file mt9v117_regs.h.
Referenced by mt9v117_config().
#define MT9V117_CAM_LL_STOP_GAIN_METRIC_OFFSET 280 |
Definition at line 82 of file mt9v117_regs.h.
Referenced by mt9v117_config().
#define MT9V117_CAM_OUTPUT_FORMAT_BAYER (2 << 8) |
Definition at line 68 of file mt9v117_regs.h.
#define MT9V117_CAM_OUTPUT_FORMAT_BAYER_10 (0 << 10) |
Definition at line 65 of file mt9v117_regs.h.
#define MT9V117_CAM_OUTPUT_FORMAT_BT656_ENABLE (1 << 3) |
Definition at line 69 of file mt9v117_regs.h.
Referenced by mt9v117_init().
#define MT9V117_CAM_OUTPUT_FORMAT_MONO_ENABLE (1 << 2) |
Definition at line 70 of file mt9v117_regs.h.
#define MT9V117_CAM_OUTPUT_FORMAT_OFFSET 88 |
Definition at line 60 of file mt9v117_regs.h.
Referenced by mt9v117_init().
#define MT9V117_CAM_OUTPUT_FORMAT_RGB (1 << 8) |
Definition at line 67 of file mt9v117_regs.h.
#define MT9V117_CAM_OUTPUT_FORMAT_RGB_444X (2 << 12) |
Definition at line 63 of file mt9v117_regs.h.
#define MT9V117_CAM_OUTPUT_FORMAT_RGB_555 (1 << 12) |
Definition at line 62 of file mt9v117_regs.h.
#define MT9V117_CAM_OUTPUT_FORMAT_RGB_565 (0 << 12) |
Definition at line 61 of file mt9v117_regs.h.
#define MT9V117_CAM_OUTPUT_FORMAT_RGB_X444 (3 << 12) |
Definition at line 64 of file mt9v117_regs.h.
#define MT9V117_CAM_OUTPUT_FORMAT_SWAP_BYTES (1 << 1) |
Definition at line 71 of file mt9v117_regs.h.
#define MT9V117_CAM_OUTPUT_FORMAT_SWAP_RED_BLUE (1 << 0) |
Definition at line 72 of file mt9v117_regs.h.
#define MT9V117_CAM_OUTPUT_FORMAT_YUV (0 << 8) |
Definition at line 66 of file mt9v117_regs.h.
#define MT9V117_CAM_OUTPUT_HEIGHT_OFFSET 86 |
Definition at line 59 of file mt9v117_regs.h.
Referenced by mt9v117_config().
#define MT9V117_CAM_OUTPUT_WIDTH_OFFSET 84 |
Definition at line 58 of file mt9v117_regs.h.
Referenced by mt9v117_config().
#define MT9V117_CAM_SENSOR_CFG_CPIPE_LAST_ROW_OFFSET 20 |
Definition at line 39 of file mt9v117_regs.h.
Referenced by mt9v117_config().
#define MT9V117_CAM_SENSOR_CFG_FDPERIOD_50HZ 24 |
Definition at line 41 of file mt9v117_regs.h.
#define MT9V117_CAM_SENSOR_CFG_FDPERIOD_60HZ 22 |
Definition at line 40 of file mt9v117_regs.h.
#define MT9V117_CAM_SENSOR_CFG_FRAME_LENGTH_LINES_OFFSET 14 |
Definition at line 38 of file mt9v117_regs.h.
Referenced by mt9v117_config().
#define MT9V117_CAM_SENSOR_CFG_MAX_FDZONE_50_OFFSET 28 |
Definition at line 43 of file mt9v117_regs.h.
#define MT9V117_CAM_SENSOR_CFG_MAX_FDZONE_60_OFFSET 26 |
Definition at line 42 of file mt9v117_regs.h.
Referenced by mt9v117_config().
#define MT9V117_CAM_SENSOR_CFG_TARGET_FDZONE_50_OFFSET 32 |
Definition at line 45 of file mt9v117_regs.h.
#define MT9V117_CAM_SENSOR_CFG_TARGET_FDZONE_60_OFFSET 30 |
Definition at line 44 of file mt9v117_regs.h.
Referenced by mt9v117_config().
#define MT9V117_CAM_SENSOR_CFG_X_ADDR_END_OFFSET 6 |
Definition at line 37 of file mt9v117_regs.h.
Referenced by mt9v117_config().
#define MT9V117_CAM_SENSOR_CFG_X_ADDR_START_OFFSET 2 |
Definition at line 35 of file mt9v117_regs.h.
Referenced by mt9v117_config().
#define MT9V117_CAM_SENSOR_CFG_Y_ADDR_END_OFFSET 4 |
Definition at line 36 of file mt9v117_regs.h.
Referenced by mt9v117_config().
#define MT9V117_CAM_SENSOR_CFG_Y_ADDR_START_OFFSET 0 |
Definition at line 34 of file mt9v117_regs.h.
Referenced by mt9v117_config().
#define MT9V117_CAM_SENSOR_CONTROL_HORZ_MIRROR_EN (1 << 0) |
Definition at line 49 of file mt9v117_regs.h.
#define MT9V117_CAM_SENSOR_CONTROL_READ_MODE_OFFSET 40 |
Definition at line 46 of file mt9v117_regs.h.
Referenced by mt9v117_config().
#define MT9V117_CAM_SENSOR_CONTROL_VERT_FLIP_EN (1 << 1) |
Definition at line 48 of file mt9v117_regs.h.
#define MT9V117_CAM_SENSOR_CONTROL_Y_SKIP_EN (1 << 2) |
Definition at line 47 of file mt9v117_regs.h.
Referenced by mt9v117_config().
#define MT9V117_CAM_STAT_AE_INITIAL_WINDOW_XEND_OFFSET 248 |
Definition at line 79 of file mt9v117_regs.h.
Referenced by mt9v117_config().
#define MT9V117_CAM_STAT_AE_INITIAL_WINDOW_XSTART_OFFSET 244 |
Definition at line 77 of file mt9v117_regs.h.
Referenced by mt9v117_config().
#define MT9V117_CAM_STAT_AE_INITIAL_WINDOW_YEND_OFFSET 250 |
Definition at line 80 of file mt9v117_regs.h.
Referenced by mt9v117_config().
#define MT9V117_CAM_STAT_AE_INITIAL_WINDOW_YSTART_OFFSET 246 |
Definition at line 78 of file mt9v117_regs.h.
Referenced by mt9v117_config().
#define MT9V117_CAM_STAT_AWB_HG_WINDOW_XEND_OFFSET 240 |
Definition at line 75 of file mt9v117_regs.h.
Referenced by mt9v117_config().
#define MT9V117_CAM_STAT_AWB_HG_WINDOW_XSTART_OFFSET 236 |
Definition at line 73 of file mt9v117_regs.h.
#define MT9V117_CAM_STAT_AWB_HG_WINDOW_YEND_OFFSET 242 |
Definition at line 76 of file mt9v117_regs.h.
Referenced by mt9v117_config().
#define MT9V117_CAM_STAT_AWB_HG_WINDOW_YSTART_OFFSET 238 |
Definition at line 74 of file mt9v117_regs.h.
#define MT9V117_CHIP_ID 0x0000 |
#define MT9V117_CHIP_ID_RESP 0x2282 |
Should be the response to CHIP_ID.
Definition at line 8 of file mt9v117_regs.h.
Referenced by mt9v117_init().
#define MT9V117_COMMAND 0x0040 |
Definition at line 12 of file mt9v117_regs.h.
Referenced by mt9v117_init(), and mt9v117_write_patch().
#define MT9V117_COMMAND_APPLY_PATCH (1 << 0) |
Definition at line 17 of file mt9v117_regs.h.
Referenced by mt9v117_write_patch().
#define MT9V117_COMMAND_OK (1 << 15) |
Definition at line 13 of file mt9v117_regs.h.
Referenced by mt9v117_init(), and mt9v117_write_patch().
#define MT9V117_COMMAND_REFRESH (1 << 2) |
Definition at line 15 of file mt9v117_regs.h.
#define MT9V117_COMMAND_SET_STATE (1 << 1) |
Definition at line 16 of file mt9v117_regs.h.
Referenced by mt9v117_init().
#define MT9V117_COMMAND_WAIT_FOR_EVENT (1 << 3) |
Definition at line 14 of file mt9v117_regs.h.
#define MT9V117_LOGICAL_ADDRESS_ACCESS 0x098E |
Definition at line 20 of file mt9v117_regs.h.
Referenced by mt9v117_write_patch().
#define MT9V117_LOW_LIGHT_VAR 15 |
Definition at line 32 of file mt9v117_regs.h.
Referenced by mt9v117_write_patch().
#define MT9V117_PAD_SLEW 0x0030 |
Definition at line 11 of file mt9v117_regs.h.
Referenced by mt9v117_init().
#define MT9V117_PATCHLDR_FIRMWARE_ID_OFFSET 4 |
Definition at line 96 of file mt9v117_regs.h.
Referenced by mt9v117_write_patch().
#define MT9V117_PATCHLDR_LOADER_ADDRESS_OFFSET 0 |
Definition at line 94 of file mt9v117_regs.h.
Referenced by mt9v117_write_patch().
#define MT9V117_PATCHLDR_PATCH_ID_OFFSET 2 |
Definition at line 95 of file mt9v117_regs.h.
Referenced by mt9v117_write_patch().
#define MT9V117_PATCHLDR_VAR 24 |
Definition at line 93 of file mt9v117_regs.h.
Referenced by mt9v117_write_patch().
#define MT9V117_PHYSICAL_ADDRESS_ACCESS 0x098A |
Definition at line 19 of file mt9v117_regs.h.
Referenced by mt9v117_write_patch().
#define MT9V117_RESET_MISC_CTRL 0x001A |
Definition at line 9 of file mt9v117_regs.h.
Referenced by mt9v117_init().
#define MT9V117_RESET_SOC_I2C (1 << 0) |
Definition at line 10 of file mt9v117_regs.h.
Referenced by mt9v117_init().
#define MT9V117_SYS_STATE_ENTER_CONFIG_CHANGE 0x28 |
Definition at line 85 of file mt9v117_regs.h.
Referenced by mt9v117_init().
#define MT9V117_SYS_STATE_ENTER_STANDBY 0x50 |
Definition at line 90 of file mt9v117_regs.h.
#define MT9V117_SYS_STATE_ENTER_SUSPEND 0x40 |
Definition at line 88 of file mt9v117_regs.h.
#define MT9V117_SYS_STATE_LEAVE_STANDBY 0x54 |
Definition at line 92 of file mt9v117_regs.h.
#define MT9V117_SYS_STATE_STANDBY 0x52 |
Definition at line 91 of file mt9v117_regs.h.
#define MT9V117_SYS_STATE_START_STREAMING 0x34 |
Definition at line 87 of file mt9v117_regs.h.
#define MT9V117_SYS_STATE_STREAMING 0x31 |
Definition at line 86 of file mt9v117_regs.h.
#define MT9V117_SYS_STATE_SUSPENDED 0x41 |
Definition at line 89 of file mt9v117_regs.h.
#define MT9V117_SYSMGR_NEXT_STATE_OFFSET 0 |
Definition at line 84 of file mt9v117_regs.h.
Referenced by mt9v117_init().
#define MT9V117_SYSMGR_VAR 23 |
Definition at line 83 of file mt9v117_regs.h.
Referenced by mt9v117_init().