LibDriver OV2640
Loading...
Searching...
No Matches
ov2640 dsp driver function

ov2640 dsp driver modules More...

Collaboration diagram for ov2640 dsp driver function:

Enumerations

enum  ov2640_dvp_output_format_t { OV2640_DVP_OUTPUT_FORMAT_YUV422 = 0x00 , OV2640_DVP_OUTPUT_FORMAT_RAW10 = 0x01 , OV2640_DVP_OUTPUT_FORMAT_RGB565 = 0x02 }
 ov2640 dvp output format enumeration definition More...
enum  ov2640_href_timing_t { OV2640_HREF_TIMING_SENSOR = 0x00 , OV2640_HREF_TIMING_VSYNC = 0x01 }
 ov2640 href timing enumeration definition More...
enum  ov2640_byte_swap_t { OV2640_BYTE_SWAP_YUYV = 0x00 , OV2640_BYTE_SWAP_UVUV = 0x01 }
 ov2640 byte sawp enumeration definition More...
enum  ov2640_reset_t {
  OV2640_RESET_MICROCONTROLLER = 6 , OV2640_RESET_SCCB = 5 , OV2640_RESET_JPEG = 4 , OV2640_RESET_DVP = 2 ,
  OV2640_RESET_IPU = 1 , OV2640_RESET_CIF = 0
}
 ov2640 reset enumeration definition More...
enum  ov2640_bist_t {
  OV2640_BIST_MICROCONTROLLER_RESET = 7 , OV2640_BIST_BOOT_ROM = 6 , OV2640_BIST_RW_1_ERROR_12K_BYTE = 5 , OV2640_BIST_RW_0_ERROR_12K_BYTE = 4 ,
  OV2640_BIST_RW_1_ERROR_512_BYTE = 3 , OV2640_BIST_RW_0_ERROR_512_BYTE = 2 , OV2640_BIST_BUSY_OR_SHOT_RESET = 1 , OV2640_BIST_LAUNCH = 0
}
 ov2640 bist enumeration definition More...

Functions

uint8_t ov2640_set_dsp_bypass (ov2640_handle_t *handle, ov2640_bool_t enable)
 enable or disable dsp bypass
uint8_t ov2640_get_dsp_bypass (ov2640_handle_t *handle, ov2640_bool_t *enable)
 get dsp bypass status
uint8_t ov2640_set_auto_mode (ov2640_handle_t *handle, ov2640_bool_t enable)
 enable or disable auto_mode
uint8_t ov2640_get_auto_mode (ov2640_handle_t *handle, ov2640_bool_t *enable)
 get auto mode status
uint8_t ov2640_set_dvp_pclk (ov2640_handle_t *handle, uint8_t pclk)
 set dvp pclk
uint8_t ov2640_get_dvp_pclk (ov2640_handle_t *handle, uint8_t *pclk)
 get dvp pclk
uint8_t ov2640_set_dvp_y8 (ov2640_handle_t *handle, ov2640_bool_t enable)
 enable or disable dvp y8
uint8_t ov2640_get_dvp_y8 (ov2640_handle_t *handle, ov2640_bool_t *enable)
 get dvp y8 status
uint8_t ov2640_set_jpeg_output (ov2640_handle_t *handle, ov2640_bool_t enable)
 enable or disable jpeg output
uint8_t ov2640_get_jpeg_output (ov2640_handle_t *handle, ov2640_bool_t *enable)
 get jpeg output status
uint8_t ov2640_set_dvp_output_format (ov2640_handle_t *handle, ov2640_dvp_output_format_t format)
 set dvp output format
uint8_t ov2640_get_dvp_output_format (ov2640_handle_t *handle, ov2640_dvp_output_format_t *format)
 get dvp output format
uint8_t ov2640_set_dvp_jpeg_output_href_timing (ov2640_handle_t *handle, ov2640_href_timing_t timing)
 set dvp jpeg output href timing
uint8_t ov2640_get_dvp_jpeg_output_href_timing (ov2640_handle_t *handle, ov2640_href_timing_t *timing)
 get dvp jpeg output href timing
uint8_t ov2640_set_byte_swap (ov2640_handle_t *handle, ov2640_byte_swap_t byte_swap)
 set byte swap
uint8_t ov2640_get_byte_swap (ov2640_handle_t *handle, ov2640_byte_swap_t *byte_swap)
 get byte swap
uint8_t ov2640_set_reset (ov2640_handle_t *handle, ov2640_reset_t type, ov2640_bool_t enable)
 enable or disable reset
uint8_t ov2640_get_reset (ov2640_handle_t *handle, ov2640_reset_t type, ov2640_bool_t *enable)
 get reset status
uint8_t ov2640_set_sccb_master_speed (ov2640_handle_t *handle, uint8_t speed)
 set sccb master speed
uint8_t ov2640_get_sccb_master_speed (ov2640_handle_t *handle, uint8_t *speed)
 get sccb master speed
uint8_t ov2640_set_sccb_slave_id (ov2640_handle_t *handle, uint8_t id)
 set sccb slave id
uint8_t ov2640_get_sccb_slave_id (ov2640_handle_t *handle, uint8_t *id)
 get sccb slave id
uint8_t ov2640_set_address_auto_increase (ov2640_handle_t *handle, ov2640_bool_t enable)
 enable or disable address auto increase
uint8_t ov2640_get_address_auto_increase (ov2640_handle_t *handle, ov2640_bool_t *enable)
 get address auto increase status
uint8_t ov2640_set_sccb (ov2640_handle_t *handle, ov2640_bool_t enable)
 enable or disable sccb
uint8_t ov2640_get_sccb (ov2640_handle_t *handle, ov2640_bool_t *enable)
 get sccb status
uint8_t ov2640_set_sccb_master_clock_delay (ov2640_handle_t *handle, ov2640_bool_t enable)
 enable or disable sccb master clock delay
uint8_t ov2640_get_sccb_master_clock_delay (ov2640_handle_t *handle, ov2640_bool_t *enable)
 get sccb master clock delay status
uint8_t ov2640_set_sccb_master_access (ov2640_handle_t *handle, ov2640_bool_t enable)
 enable or disable sccb master access
uint8_t ov2640_get_sccb_master_access (ov2640_handle_t *handle, ov2640_bool_t *enable)
 get sccb master access status
uint8_t ov2640_set_sensor_pass_through_access (ov2640_handle_t *handle, ov2640_bool_t enable)
 enable or disable sensor pass through access
uint8_t ov2640_get_sensor_pass_through_access (ov2640_handle_t *handle, ov2640_bool_t *enable)
 get sensor pass through access status
uint8_t ov2640_set_bist (ov2640_handle_t *handle, ov2640_bist_t bist, ov2640_bool_t enable)
 enable or disable bist
uint8_t ov2640_get_bist (ov2640_handle_t *handle, ov2640_bist_t bist, ov2640_bool_t *enable)
 get bist status
uint8_t ov2640_set_program_memory_pointer_address (ov2640_handle_t *handle, uint16_t addr)
 set program memory pointer address
uint8_t ov2640_get_program_memory_pointer_address (ov2640_handle_t *handle, uint16_t *addr)
 get program memory pointer address
uint8_t ov2640_set_program_memory_pointer_access_address (ov2640_handle_t *handle, uint8_t addr)
 set program memory pointer access address
uint8_t ov2640_get_program_memory_pointer_access_address (ov2640_handle_t *handle, uint8_t *addr)
 get program memory pointer access address
uint8_t ov2640_set_sccb_protocol_command (ov2640_handle_t *handle, uint8_t cmd)
 set sccb protocol command
uint8_t ov2640_get_sccb_protocol_command (ov2640_handle_t *handle, uint8_t *cmd)
 get sccb protocol command
uint8_t ov2640_set_sccb_protocol_status (ov2640_handle_t *handle, uint8_t status)
 set sccb protocol status
uint8_t ov2640_get_sccb_protocol_status (ov2640_handle_t *handle, uint8_t *status)
 get sccb protocol status
uint8_t ov2640_set_cip (ov2640_handle_t *handle, ov2640_bool_t enable)
 enable or disable cip
uint8_t ov2640_get_cip (ov2640_handle_t *handle, ov2640_bool_t *enable)
 get cip status
uint8_t ov2640_set_dmy (ov2640_handle_t *handle, ov2640_bool_t enable)
 enable or disable dmy
uint8_t ov2640_get_dmy (ov2640_handle_t *handle, ov2640_bool_t *enable)
 get dmy status
uint8_t ov2640_set_raw_gma (ov2640_handle_t *handle, ov2640_bool_t enable)
 enable or disable raw gma
uint8_t ov2640_get_raw_gma (ov2640_handle_t *handle, ov2640_bool_t *enable)
 get raw gma status
uint8_t ov2640_set_dg (ov2640_handle_t *handle, ov2640_bool_t enable)
 enable or disable dg
uint8_t ov2640_get_dg (ov2640_handle_t *handle, ov2640_bool_t *enable)
 get dg status
uint8_t ov2640_set_awb (ov2640_handle_t *handle, ov2640_bool_t enable)
 enable or disable awb
uint8_t ov2640_get_awb (ov2640_handle_t *handle, ov2640_bool_t *enable)
 get awb status
uint8_t ov2640_set_awb_gain (ov2640_handle_t *handle, ov2640_bool_t enable)
 enable or disable awb gain
uint8_t ov2640_get_awb_gain (ov2640_handle_t *handle, ov2640_bool_t *enable)
 get awb gain status
uint8_t ov2640_set_lenc (ov2640_handle_t *handle, ov2640_bool_t enable)
 enable or disable lenc
uint8_t ov2640_get_lenc (ov2640_handle_t *handle, ov2640_bool_t *enable)
 get lenc status
uint8_t ov2640_set_pre (ov2640_handle_t *handle, ov2640_bool_t enable)
 enable or disable pre
uint8_t ov2640_get_pre (ov2640_handle_t *handle, ov2640_bool_t *enable)
 get pre status
uint8_t ov2640_set_aec_enable (ov2640_handle_t *handle, ov2640_bool_t enable)
 enable or disable aec enable
uint8_t ov2640_get_aec_enable (ov2640_handle_t *handle, ov2640_bool_t *enable)
 get aec enable status
uint8_t ov2640_set_aec_sel (ov2640_handle_t *handle, ov2640_bool_t enable)
 enable or disable aec sel
uint8_t ov2640_get_aec_sel (ov2640_handle_t *handle, ov2640_bool_t *enable)
 get aec sel status
uint8_t ov2640_set_stat_sel (ov2640_handle_t *handle, ov2640_bool_t enable)
 enable or disable stat sel
uint8_t ov2640_get_stat_sel (ov2640_handle_t *handle, ov2640_bool_t *enable)
 get stat sel status
uint8_t ov2640_set_vfirst (ov2640_handle_t *handle, ov2640_bool_t enable)
 enable or disable vfirst
uint8_t ov2640_get_vfirst (ov2640_handle_t *handle, ov2640_bool_t *enable)
 get vfirst status
uint8_t ov2640_set_yuv422 (ov2640_handle_t *handle, ov2640_bool_t enable)
 enable or disable yuv422
uint8_t ov2640_get_yuv422 (ov2640_handle_t *handle, ov2640_bool_t *enable)
 get yuv422 status
uint8_t ov2640_set_yuv (ov2640_handle_t *handle, ov2640_bool_t enable)
 enable or disable yuv
uint8_t ov2640_get_yuv (ov2640_handle_t *handle, ov2640_bool_t *enable)
 get yuv status
uint8_t ov2640_set_rgb (ov2640_handle_t *handle, ov2640_bool_t enable)
 enable or disable rgb
uint8_t ov2640_get_rgb (ov2640_handle_t *handle, ov2640_bool_t *enable)
 get rgb status
uint8_t ov2640_set_raw (ov2640_handle_t *handle, ov2640_bool_t enable)
 enable or disable raw
uint8_t ov2640_get_raw (ov2640_handle_t *handle, ov2640_bool_t *enable)
 get raw status
uint8_t ov2640_set_dcw (ov2640_handle_t *handle, ov2640_bool_t enable)
 enable or disable dcw
uint8_t ov2640_get_dcw (ov2640_handle_t *handle, ov2640_bool_t *enable)
 get dcw status
uint8_t ov2640_set_sde (ov2640_handle_t *handle, ov2640_bool_t enable)
 enable or disable sde
uint8_t ov2640_get_sde (ov2640_handle_t *handle, ov2640_bool_t *enable)
 get sde status
uint8_t ov2640_set_uv_adj (ov2640_handle_t *handle, ov2640_bool_t enable)
 enable or disable uv adj
uint8_t ov2640_get_uv_adj (ov2640_handle_t *handle, ov2640_bool_t *enable)
 get uv adj status
uint8_t ov2640_set_uv_avg (ov2640_handle_t *handle, ov2640_bool_t enable)
 enable or disable uv avg
uint8_t ov2640_get_uv_avg (ov2640_handle_t *handle, ov2640_bool_t *enable)
 get uv avg status
uint8_t ov2640_set_cmx (ov2640_handle_t *handle, ov2640_bool_t enable)
 enable or disable cmx
uint8_t ov2640_get_cmx (ov2640_handle_t *handle, ov2640_bool_t *enable)
 get cmx status
uint8_t ov2640_set_bpc (ov2640_handle_t *handle, ov2640_bool_t enable)
 enable or disable bpc
uint8_t ov2640_get_bpc (ov2640_handle_t *handle, ov2640_bool_t *enable)
 get bpc status
uint8_t ov2640_set_wpc (ov2640_handle_t *handle, ov2640_bool_t enable)
 enable or disable wpc
uint8_t ov2640_get_wpc (ov2640_handle_t *handle, ov2640_bool_t *enable)
 get wpc status
uint8_t ov2640_set_sde_indirect_register_address (ov2640_handle_t *handle, uint8_t addr)
 set sde indirect register address
uint8_t ov2640_get_sde_indirect_register_address (ov2640_handle_t *handle, uint8_t *addr)
 get sde indirect register address
uint8_t ov2640_set_sde_indirect_register_data (ov2640_handle_t *handle, uint8_t data)
 set sde indirect register data
uint8_t ov2640_get_sde_indirect_register_data (ov2640_handle_t *handle, uint8_t *data)
 get sde indirect register data
uint8_t ov2640_set_image_horizontal (ov2640_handle_t *handle, uint16_t size)
 set image horizontal
uint8_t ov2640_get_image_horizontal (ov2640_handle_t *handle, uint16_t *size)
 get image horizontal
uint8_t ov2640_set_image_vertical (ov2640_handle_t *handle, uint16_t size)
 set image vertical
uint8_t ov2640_get_image_vertical (ov2640_handle_t *handle, uint16_t *size)
 get image vertical
uint8_t ov2640_set_quantization_scale_factor (ov2640_handle_t *handle, uint8_t factor)
 set quantization scale factor
uint8_t ov2640_get_quantization_scale_factor (ov2640_handle_t *handle, uint8_t *factor)
 get quantization scale factor
uint8_t ov2640_set_lp_dp (ov2640_handle_t *handle, ov2640_bool_t enable)
 enable or disable lp dp
uint8_t ov2640_get_lp_dp (ov2640_handle_t *handle, ov2640_bool_t *enable)
 get lp dp status
uint8_t ov2640_set_round (ov2640_handle_t *handle, ov2640_bool_t enable)
 enable or disable round
uint8_t ov2640_get_round (ov2640_handle_t *handle, ov2640_bool_t *enable)
 get round status
uint8_t ov2640_set_vertical_divider (ov2640_handle_t *handle, uint8_t divider)
 set vertical divider
uint8_t ov2640_get_vertical_divider (ov2640_handle_t *handle, uint8_t *divider)
 get vertical divider
uint8_t ov2640_set_horizontal_divider (ov2640_handle_t *handle, uint8_t divider)
 set horizontal divider
uint8_t ov2640_get_horizontal_divider (ov2640_handle_t *handle, uint8_t *divider)
 get horizontal divider
uint8_t ov2640_set_horizontal_size (ov2640_handle_t *handle, uint16_t size)
 set horizontal size
uint8_t ov2640_get_horizontal_size (ov2640_handle_t *handle, uint16_t *size)
 get horizontal size
uint8_t ov2640_set_vertical_size (ov2640_handle_t *handle, uint16_t size)
 set vertical size
uint8_t ov2640_get_vertical_size (ov2640_handle_t *handle, uint16_t *size)
 get vertical size
uint8_t ov2640_set_offset_x (ov2640_handle_t *handle, uint16_t size)
 set offset x
uint8_t ov2640_get_offset_x (ov2640_handle_t *handle, uint16_t *size)
 get offset x
uint8_t ov2640_set_offset_y (ov2640_handle_t *handle, uint16_t size)
 set offset y
uint8_t ov2640_get_offset_y (ov2640_handle_t *handle, uint16_t *size)
 get offset y
uint8_t ov2640_set_dp_selx (ov2640_handle_t *handle, uint8_t size)
 set dp selx
uint8_t ov2640_get_dp_selx (ov2640_handle_t *handle, uint8_t *size)
 get dp selx
uint8_t ov2640_set_dp_sely (ov2640_handle_t *handle, uint8_t size)
 set dp sely
uint8_t ov2640_get_dp_sely (ov2640_handle_t *handle, uint8_t *size)
 get dp sely
uint8_t ov2640_set_output_width (ov2640_handle_t *handle, uint16_t size)
 set output width
uint8_t ov2640_get_output_width (ov2640_handle_t *handle, uint16_t *size)
 get output width
uint8_t ov2640_set_output_height (ov2640_handle_t *handle, uint16_t size)
 set output height
uint8_t ov2640_get_output_height (ov2640_handle_t *handle, uint16_t *size)
 get output height
uint8_t ov2640_set_zoom_speed (ov2640_handle_t *handle, uint8_t speed)
 set zoom speed
uint8_t ov2640_get_zoom_speed (ov2640_handle_t *handle, uint8_t *speed)
 get zoom speed

Detailed Description

ov2640 dsp driver modules

Enumeration Type Documentation

◆ ov2640_bist_t

ov2640 bist enumeration definition

Enumerator
OV2640_BIST_MICROCONTROLLER_RESET 

microcontroller reset

OV2640_BIST_BOOT_ROM 

boot rom select

OV2640_BIST_RW_1_ERROR_12K_BYTE 

r/w 1 error for 12k - byte memory

OV2640_BIST_RW_0_ERROR_12K_BYTE 

r/w 0 error for 12k - byte memory

OV2640_BIST_RW_1_ERROR_512_BYTE 

r/w 1 error for 512 - byte memory

OV2640_BIST_RW_0_ERROR_512_BYTE 

r/w 0 error for 512 - byte memory

OV2640_BIST_BUSY_OR_SHOT_RESET 

busy or one shot reset

OV2640_BIST_LAUNCH 

launch bist

Definition at line 231 of file driver_ov2640.h.

◆ ov2640_byte_swap_t

ov2640 byte sawp enumeration definition

Enumerator
OV2640_BYTE_SWAP_YUYV 

high byte first

OV2640_BYTE_SWAP_UVUV 

low byte first

Definition at line 209 of file driver_ov2640.h.

◆ ov2640_dvp_output_format_t

ov2640 dvp output format enumeration definition

Enumerator
OV2640_DVP_OUTPUT_FORMAT_YUV422 

yuv422

OV2640_DVP_OUTPUT_FORMAT_RAW10 

dvp raw10

OV2640_DVP_OUTPUT_FORMAT_RGB565 

rgb565

Definition at line 190 of file driver_ov2640.h.

◆ ov2640_href_timing_t

ov2640 href timing enumeration definition

Enumerator
OV2640_HREF_TIMING_SENSOR 

href is same as sensor

OV2640_HREF_TIMING_VSYNC 

href vsync

Definition at line 200 of file driver_ov2640.h.

◆ ov2640_reset_t

ov2640 reset enumeration definition

Enumerator
OV2640_RESET_MICROCONTROLLER 

microcontroller reset

OV2640_RESET_SCCB 

sccb reset

OV2640_RESET_JPEG 

jpeg reset

OV2640_RESET_DVP 

dvp reset

OV2640_RESET_IPU 

ipu reset

OV2640_RESET_CIF 

cif reset

Definition at line 218 of file driver_ov2640.h.

Function Documentation

◆ ov2640_get_address_auto_increase()

uint8_t ov2640_get_address_auto_increase ( ov2640_handle_t * handle,
ov2640_bool_t * enable )

get address auto increase status

Parameters
[in]*handlepointer to an ov2640 handle structure
[out]*enablepointer to a bool value buffer
Returns
status code
  • 0 success
  • 1 get address auto increase failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 6452 of file driver_ov2640.c.

◆ ov2640_get_aec_enable()

uint8_t ov2640_get_aec_enable ( ov2640_handle_t * handle,
ov2640_bool_t * enable )

get aec enable status

Parameters
[in]*handlepointer to an ov2640 handle structure
[out]*enablepointer to a bool value buffer
Returns
status code
  • 0 success
  • 1 get aec enable failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 7914 of file driver_ov2640.c.

◆ ov2640_get_aec_sel()

uint8_t ov2640_get_aec_sel ( ov2640_handle_t * handle,
ov2640_bool_t * enable )

get aec sel status

Parameters
[in]*handlepointer to an ov2640 handle structure
[out]*enablepointer to a bool value buffer
Returns
status code
  • 0 success
  • 1 get aec sel failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 7996 of file driver_ov2640.c.

◆ ov2640_get_auto_mode()

uint8_t ov2640_get_auto_mode ( ov2640_handle_t * handle,
ov2640_bool_t * enable )

get auto mode status

Parameters
[in]*handlepointer to an ov2640 handle structure
[out]*enablepointer to a bool value buffer
Returns
status code
  • 0 success
  • 1 get auto mode failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 5638 of file driver_ov2640.c.

◆ ov2640_get_awb()

uint8_t ov2640_get_awb ( ov2640_handle_t * handle,
ov2640_bool_t * enable )

get awb status

Parameters
[in]*handlepointer to an ov2640 handle structure
[out]*enablepointer to a bool value buffer
Returns
status code
  • 0 success
  • 1 get awb failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 7586 of file driver_ov2640.c.

◆ ov2640_get_awb_gain()

uint8_t ov2640_get_awb_gain ( ov2640_handle_t * handle,
ov2640_bool_t * enable )

get awb gain status

Parameters
[in]*handlepointer to an ov2640 handle structure
[out]*enablepointer to a bool value buffer
Returns
status code
  • 0 success
  • 1 get awb gain failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 7668 of file driver_ov2640.c.

◆ ov2640_get_bist()

uint8_t ov2640_get_bist ( ov2640_handle_t * handle,
ov2640_bist_t bist,
ov2640_bool_t * enable )

get bist status

Parameters
[in]*handlepointer to an ov2640 handle structure
[in]bistbist type
[out]*enablepointer to a bool value buffer
Returns
status code
  • 0 success
  • 1 get bist failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 6864 of file driver_ov2640.c.

◆ ov2640_get_bpc()

uint8_t ov2640_get_bpc ( ov2640_handle_t * handle,
ov2640_bool_t * enable )

get bpc status

Parameters
[in]*handlepointer to an ov2640 handle structure
[out]*enablepointer to a bool value buffer
Returns
status code
  • 0 success
  • 1 get bpc failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 8980 of file driver_ov2640.c.

◆ ov2640_get_byte_swap()

uint8_t ov2640_get_byte_swap ( ov2640_handle_t * handle,
ov2640_byte_swap_t * byte_swap )

get byte swap

Parameters
[in]*handlepointer to an ov2640 handle structure
[out]*byte_swappointer to a byte swap buffer
Returns
status code
  • 0 success
  • 1 get byte swap failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 6137 of file driver_ov2640.c.

◆ ov2640_get_cip()

uint8_t ov2640_get_cip ( ov2640_handle_t * handle,
ov2640_bool_t * enable )

get cip status

Parameters
[in]*handlepointer to an ov2640 handle structure
[out]*enablepointer to a bool value buffer
Returns
status code
  • 0 success
  • 1 get cip failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 7258 of file driver_ov2640.c.

◆ ov2640_get_cmx()

uint8_t ov2640_get_cmx ( ov2640_handle_t * handle,
ov2640_bool_t * enable )

get cmx status

Parameters
[in]*handlepointer to an ov2640 handle structure
[out]*enablepointer to a bool value buffer
Returns
status code
  • 0 success
  • 1 get cmx failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 8898 of file driver_ov2640.c.

◆ ov2640_get_dcw()

uint8_t ov2640_get_dcw ( ov2640_handle_t * handle,
ov2640_bool_t * enable )

get dcw status

Parameters
[in]*handlepointer to an ov2640 handle structure
[out]*enablepointer to a bool value buffer
Returns
status code
  • 0 success
  • 1 get dcw failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 8570 of file driver_ov2640.c.

◆ ov2640_get_dg()

uint8_t ov2640_get_dg ( ov2640_handle_t * handle,
ov2640_bool_t * enable )

get dg status

Parameters
[in]*handlepointer to an ov2640 handle structure
[out]*enablepointer to a bool value buffer
Returns
status code
  • 0 success
  • 1 get dg failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 7504 of file driver_ov2640.c.

◆ ov2640_get_dmy()

uint8_t ov2640_get_dmy ( ov2640_handle_t * handle,
ov2640_bool_t * enable )

get dmy status

Parameters
[in]*handlepointer to an ov2640 handle structure
[out]*enablepointer to a bool value buffer
Returns
status code
  • 0 success
  • 1 get dmy failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 7340 of file driver_ov2640.c.

◆ ov2640_get_dp_selx()

uint8_t ov2640_get_dp_selx ( ov2640_handle_t * handle,
uint8_t * size )

get dp selx

Parameters
[in]*handlepointer to an ov2640 handle structure
[out]*sizepointer to a set dp selx size buffer
Returns
status code
  • 0 success
  • 1 get dp selx failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 10372 of file driver_ov2640.c.

◆ ov2640_get_dp_sely()

uint8_t ov2640_get_dp_sely ( ov2640_handle_t * handle,
uint8_t * size )

get dp sely

Parameters
[in]*handlepointer to an ov2640 handle structure
[out]*sizepointer to a set dp sely size buffer
Returns
status code
  • 0 success
  • 1 get dp sely failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 10461 of file driver_ov2640.c.

◆ ov2640_get_dsp_bypass()

uint8_t ov2640_get_dsp_bypass ( ov2640_handle_t * handle,
ov2640_bool_t * enable )

get dsp bypass status

Parameters
[in]*handlepointer to an ov2640 handle structure
[out]*enablepointer to a bool value buffer
Returns
status code
  • 0 success
  • 1 get dsp bypass failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 5556 of file driver_ov2640.c.

◆ ov2640_get_dvp_jpeg_output_href_timing()

uint8_t ov2640_get_dvp_jpeg_output_href_timing ( ov2640_handle_t * handle,
ov2640_href_timing_t * timing )

get dvp jpeg output href timing

Parameters
[in]*handlepointer to an ov2640 handle structure
[out]*timingpointer to a href timing buffer
Returns
status code
  • 0 success
  • 1 get dvp jpeg output href timing failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 6055 of file driver_ov2640.c.

◆ ov2640_get_dvp_output_format()

uint8_t ov2640_get_dvp_output_format ( ov2640_handle_t * handle,
ov2640_dvp_output_format_t * format )

get dvp output format

Parameters
[in]*handlepointer to an ov2640 handle structure
[out]*formatpointer to a dvp output format buffer
Returns
status code
  • 0 success
  • 1 get dvp output format failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 5973 of file driver_ov2640.c.

◆ ov2640_get_dvp_pclk()

uint8_t ov2640_get_dvp_pclk ( ov2640_handle_t * handle,
uint8_t * pclk )

get dvp pclk

Parameters
[in]*handlepointer to an ov2640 handle structure
[out]*pclkpointer to a pclk buffer
Returns
status code
  • 0 success
  • 1 get dvp pclk failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 5727 of file driver_ov2640.c.

◆ ov2640_get_dvp_y8()

uint8_t ov2640_get_dvp_y8 ( ov2640_handle_t * handle,
ov2640_bool_t * enable )

get dvp y8 status

Parameters
[in]*handlepointer to an ov2640 handle structure
[out]*enablepointer to a bool value buffer
Returns
status code
  • 0 success
  • 1 get dvp y8 failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 5809 of file driver_ov2640.c.

◆ ov2640_get_horizontal_divider()

uint8_t ov2640_get_horizontal_divider ( ov2640_handle_t * handle,
uint8_t * divider )

get horizontal divider

Parameters
[in]*handlepointer to an ov2640 handle structure
[out]*dividerpointer to a divider buffer
Returns
status code
  • 0 success
  • 1 get horizontal divider failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 9839 of file driver_ov2640.c.

◆ ov2640_get_horizontal_size()

uint8_t ov2640_get_horizontal_size ( ov2640_handle_t * handle,
uint16_t * size )

get horizontal size

Parameters
[in]*handlepointer to an ov2640 handle structure
[out]*sizepointer to a horizontal size buffer
Returns
status code
  • 0 success
  • 1 get horizontal size failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 9952 of file driver_ov2640.c.

◆ ov2640_get_image_horizontal()

uint8_t ov2640_get_image_horizontal ( ov2640_handle_t * handle,
uint16_t * size )

get image horizontal

Parameters
[in]*handlepointer to an ov2640 handle structure
[out]*sizepointer to an image horizontal size buffer
Returns
status code
  • 0 success
  • 1 get image horizontal failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 9309 of file driver_ov2640.c.

◆ ov2640_get_image_vertical()

uint8_t ov2640_get_image_vertical ( ov2640_handle_t * handle,
uint16_t * size )

get image vertical

Parameters
[in]*handlepointer to an ov2640 handle structure
[out]*sizepointer to an image vertical size buffer
Returns
status code
  • 0 success
  • 1 get image vertical failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 9415 of file driver_ov2640.c.

◆ ov2640_get_jpeg_output()

uint8_t ov2640_get_jpeg_output ( ov2640_handle_t * handle,
ov2640_bool_t * enable )

get jpeg output status

Parameters
[in]*handlepointer to an ov2640 handle structure
[out]*enablepointer to a bool value buffer
Returns
status code
  • 0 success
  • 1 get jpeg output failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 5891 of file driver_ov2640.c.

◆ ov2640_get_lenc()

uint8_t ov2640_get_lenc ( ov2640_handle_t * handle,
ov2640_bool_t * enable )

get lenc status

Parameters
[in]*handlepointer to an ov2640 handle structure
[out]*enablepointer to a bool value buffer
Returns
status code
  • 0 success
  • 1 get lenc failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 7750 of file driver_ov2640.c.

◆ ov2640_get_lp_dp()

uint8_t ov2640_get_lp_dp ( ov2640_handle_t * handle,
ov2640_bool_t * enable )

get lp dp status

Parameters
[in]*handlepointer to an ov2640 handle structure
[out]*enablepointer to a bool value buffer
Returns
status code
  • 0 success
  • 1 get lp dp failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 9579 of file driver_ov2640.c.

◆ ov2640_get_offset_x()

uint8_t ov2640_get_offset_x ( ov2640_handle_t * handle,
uint16_t * size )

get offset x

Parameters
[in]*handlepointer to an ov2640 handle structure
[out]*sizepointer to a set offset x size buffer
Returns
status code
  • 0 success
  • 1 get offset x failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 10170 of file driver_ov2640.c.

◆ ov2640_get_offset_y()

uint8_t ov2640_get_offset_y ( ov2640_handle_t * handle,
uint16_t * size )

get offset y

Parameters
[in]*handlepointer to an ov2640 handle structure
[out]*sizepointer to a set offset y size buffer
Returns
status code
  • 0 success
  • 1 get offset y failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 10275 of file driver_ov2640.c.

◆ ov2640_get_output_height()

uint8_t ov2640_get_output_height ( ov2640_handle_t * handle,
uint16_t * size )

get output height

Parameters
[in]*handlepointer to an ov2640 handle structure
[out]*sizepointer to an output height buffer
Returns
status code
  • 0 success
  • 1 get output height failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 10663 of file driver_ov2640.c.

◆ ov2640_get_output_width()

uint8_t ov2640_get_output_width ( ov2640_handle_t * handle,
uint16_t * size )

get output width

Parameters
[in]*handlepointer to an ov2640 handle structure
[out]*sizepointer to an output width buffer
Returns
status code
  • 0 success
  • 1 get output width failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 10558 of file driver_ov2640.c.

◆ ov2640_get_pre()

uint8_t ov2640_get_pre ( ov2640_handle_t * handle,
ov2640_bool_t * enable )

get pre status

Parameters
[in]*handlepointer to an ov2640 handle structure
[out]*enablepointer to a bool value buffer
Returns
status code
  • 0 success
  • 1 get pre failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 7832 of file driver_ov2640.c.

◆ ov2640_get_program_memory_pointer_access_address()

uint8_t ov2640_get_program_memory_pointer_access_address ( ov2640_handle_t * handle,
uint8_t * addr )

get program memory pointer access address

Parameters
[in]*handlepointer to an ov2640 handle structure
[out]*addrpointer to a program memory pointer access address buffer
Returns
status code
  • 0 success
  • 1 get program memory pointer access address failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 7028 of file driver_ov2640.c.

◆ ov2640_get_program_memory_pointer_address()

uint8_t ov2640_get_program_memory_pointer_address ( ov2640_handle_t * handle,
uint16_t * addr )

get program memory pointer address

Parameters
[in]*handlepointer to an ov2640 handle structure
[out]*addrpointer to a program memory pointer address buffer
Returns
status code
  • 0 success
  • 1 get program memory pointer address failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 6946 of file driver_ov2640.c.

◆ ov2640_get_quantization_scale_factor()

uint8_t ov2640_get_quantization_scale_factor ( ov2640_handle_t * handle,
uint8_t * factor )

get quantization scale factor

Parameters
[in]*handlepointer to an ov2640 handle structure
[out]*factorpointer to a quantization scale factor buffer
Returns
status code
  • 0 success
  • 1 get quantization scale factor failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 9497 of file driver_ov2640.c.

◆ ov2640_get_raw()

uint8_t ov2640_get_raw ( ov2640_handle_t * handle,
ov2640_bool_t * enable )

get raw status

Parameters
[in]*handlepointer to an ov2640 handle structure
[out]*enablepointer to a bool value buffer
Returns
status code
  • 0 success
  • 1 get raw failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 8488 of file driver_ov2640.c.

◆ ov2640_get_raw_gma()

uint8_t ov2640_get_raw_gma ( ov2640_handle_t * handle,
ov2640_bool_t * enable )

get raw gma status

Parameters
[in]*handlepointer to an ov2640 handle structure
[out]*enablepointer to a bool value buffer
Returns
status code
  • 0 success
  • 1 get raw gma failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 7422 of file driver_ov2640.c.

◆ ov2640_get_reset()

uint8_t ov2640_get_reset ( ov2640_handle_t * handle,
ov2640_reset_t type,
ov2640_bool_t * enable )

get reset status

Parameters
[in]*handlepointer to an ov2640 handle structure
[in]typereset type
[out]*enablepointer to a bool value buffer
Returns
status code
  • 0 success
  • 1 get reset failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 6222 of file driver_ov2640.c.

◆ ov2640_get_rgb()

uint8_t ov2640_get_rgb ( ov2640_handle_t * handle,
ov2640_bool_t * enable )

get rgb status

Parameters
[in]*handlepointer to an ov2640 handle structure
[out]*enablepointer to a bool value buffer
Returns
status code
  • 0 success
  • 1 get rgb failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 8406 of file driver_ov2640.c.

◆ ov2640_get_round()

uint8_t ov2640_get_round ( ov2640_handle_t * handle,
ov2640_bool_t * enable )

get round status

Parameters
[in]*handlepointer to an ov2640 handle structure
[out]*enablepointer to a bool value buffer
Returns
status code
  • 0 success
  • 1 get round failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 9661 of file driver_ov2640.c.

◆ ov2640_get_sccb()

uint8_t ov2640_get_sccb ( ov2640_handle_t * handle,
ov2640_bool_t * enable )

get sccb status

Parameters
[in]*handlepointer to an ov2640 handle structure
[out]*enablepointer to a bool value buffer
Returns
status code
  • 0 success
  • 1 get sccb failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 6534 of file driver_ov2640.c.

◆ ov2640_get_sccb_master_access()

uint8_t ov2640_get_sccb_master_access ( ov2640_handle_t * handle,
ov2640_bool_t * enable )

get sccb master access status

Parameters
[in]*handlepointer to an ov2640 handle structure
[out]*enablepointer to a bool value buffer
Returns
status code
  • 0 success
  • 1 get sccb master access failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 6698 of file driver_ov2640.c.

◆ ov2640_get_sccb_master_clock_delay()

uint8_t ov2640_get_sccb_master_clock_delay ( ov2640_handle_t * handle,
ov2640_bool_t * enable )

get sccb master clock delay status

Parameters
[in]*handlepointer to an ov2640 handle structure
[out]*enablepointer to a bool value buffer
Returns
status code
  • 0 success
  • 1 get sccb master clock delay failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 6616 of file driver_ov2640.c.

◆ ov2640_get_sccb_master_speed()

uint8_t ov2640_get_sccb_master_speed ( ov2640_handle_t * handle,
uint8_t * speed )

get sccb master speed

Parameters
[in]*handlepointer to an ov2640 handle structure
[out]*speedpointer to an sccb master speed buffer
Returns
status code
  • 0 success
  • 1 get sccb master speed failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 6296 of file driver_ov2640.c.

◆ ov2640_get_sccb_protocol_command()

uint8_t ov2640_get_sccb_protocol_command ( ov2640_handle_t * handle,
uint8_t * cmd )

get sccb protocol command

Parameters
[in]*handlepointer to an ov2640 handle structure
[out]*cmdpointer to an sccb protocol command buffer
Returns
status code
  • 0 success
  • 1 get sccb protocol command failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 7102 of file driver_ov2640.c.

◆ ov2640_get_sccb_protocol_status()

uint8_t ov2640_get_sccb_protocol_status ( ov2640_handle_t * handle,
uint8_t * status )

get sccb protocol status

Parameters
[in]*handlepointer to an ov2640 handle structure
[out]*statuspointer to an sccb protocol status buffer
Returns
status code
  • 0 success
  • 1 get sccb protocol status failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 7176 of file driver_ov2640.c.

◆ ov2640_get_sccb_slave_id()

uint8_t ov2640_get_sccb_slave_id ( ov2640_handle_t * handle,
uint8_t * id )

get sccb slave id

Parameters
[in]*handlepointer to an ov2640 handle structure
[out]*idpointer to a slave id buffer
Returns
status code
  • 0 success
  • 1 get sccb slave id failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 6370 of file driver_ov2640.c.

◆ ov2640_get_sde()

uint8_t ov2640_get_sde ( ov2640_handle_t * handle,
ov2640_bool_t * enable )

get sde status

Parameters
[in]*handlepointer to an ov2640 handle structure
[out]*enablepointer to a bool value buffer
Returns
status code
  • 0 success
  • 1 get sde failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 8652 of file driver_ov2640.c.

◆ ov2640_get_sde_indirect_register_address()

uint8_t ov2640_get_sde_indirect_register_address ( ov2640_handle_t * handle,
uint8_t * addr )

get sde indirect register address

Parameters
[in]*handlepointer to an ov2640 handle structure
[out]*addrpointer to a register address buffer
Returns
status code
  • 0 success
  • 1 get sde indirect register address failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 9136 of file driver_ov2640.c.

◆ ov2640_get_sde_indirect_register_data()

uint8_t ov2640_get_sde_indirect_register_data ( ov2640_handle_t * handle,
uint8_t * data )

get sde indirect register data

Parameters
[in]*handlepointer to an ov2640 handle structure
[out]*datapointer to a data buffer
Returns
status code
  • 0 success
  • 1 get sde indirect register data failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 9210 of file driver_ov2640.c.

◆ ov2640_get_sensor_pass_through_access()

uint8_t ov2640_get_sensor_pass_through_access ( ov2640_handle_t * handle,
ov2640_bool_t * enable )

get sensor pass through access status

Parameters
[in]*handlepointer to an ov2640 handle structure
[out]*enablepointer to a bool value buffer
Returns
status code
  • 0 success
  • 1 get sensor pass through access failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 6780 of file driver_ov2640.c.

◆ ov2640_get_stat_sel()

uint8_t ov2640_get_stat_sel ( ov2640_handle_t * handle,
ov2640_bool_t * enable )

get stat sel status

Parameters
[in]*handlepointer to an ov2640 handle structure
[out]*enablepointer to a bool value buffer
Returns
status code
  • 0 success
  • 1 get stat sel failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 8078 of file driver_ov2640.c.

◆ ov2640_get_uv_adj()

uint8_t ov2640_get_uv_adj ( ov2640_handle_t * handle,
ov2640_bool_t * enable )

get uv adj status

Parameters
[in]*handlepointer to an ov2640 handle structure
[out]*enablepointer to a bool value buffer
Returns
status code
  • 0 success
  • 1 get uv adj failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 8734 of file driver_ov2640.c.

◆ ov2640_get_uv_avg()

uint8_t ov2640_get_uv_avg ( ov2640_handle_t * handle,
ov2640_bool_t * enable )

get uv avg status

Parameters
[in]*handlepointer to an ov2640 handle structure
[out]*enablepointer to a bool value buffer
Returns
status code
  • 0 success
  • 1 get uv avg failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 8816 of file driver_ov2640.c.

◆ ov2640_get_vertical_divider()

uint8_t ov2640_get_vertical_divider ( ov2640_handle_t * handle,
uint8_t * divider )

get vertical divider

Parameters
[in]*handlepointer to an ov2640 handle structure
[out]*dividerpointer to a divider buffer
Returns
status code
  • 0 success
  • 1 get vertical divider failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 9750 of file driver_ov2640.c.

◆ ov2640_get_vertical_size()

uint8_t ov2640_get_vertical_size ( ov2640_handle_t * handle,
uint16_t * size )

get vertical size

Parameters
[in]*handlepointer to an ov2640 handle structure
[out]*sizepointer to a vertical size buffer
Returns
status code
  • 0 success
  • 1 get vertical size failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 10065 of file driver_ov2640.c.

◆ ov2640_get_vfirst()

uint8_t ov2640_get_vfirst ( ov2640_handle_t * handle,
ov2640_bool_t * enable )

get vfirst status

Parameters
[in]*handlepointer to an ov2640 handle structure
[out]*enablepointer to a bool value buffer
Returns
status code
  • 0 success
  • 1 get vfirst failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 8160 of file driver_ov2640.c.

◆ ov2640_get_wpc()

uint8_t ov2640_get_wpc ( ov2640_handle_t * handle,
ov2640_bool_t * enable )

get wpc status

Parameters
[in]*handlepointer to an ov2640 handle structure
[out]*enablepointer to a bool value buffer
Returns
status code
  • 0 success
  • 1 get wpc failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 9062 of file driver_ov2640.c.

◆ ov2640_get_yuv()

uint8_t ov2640_get_yuv ( ov2640_handle_t * handle,
ov2640_bool_t * enable )

get yuv status

Parameters
[in]*handlepointer to an ov2640 handle structure
[out]*enablepointer to a bool value buffer
Returns
status code
  • 0 success
  • 1 get yuv failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 8324 of file driver_ov2640.c.

◆ ov2640_get_yuv422()

uint8_t ov2640_get_yuv422 ( ov2640_handle_t * handle,
ov2640_bool_t * enable )

get yuv422 status

Parameters
[in]*handlepointer to an ov2640 handle structure
[out]*enablepointer to a bool value buffer
Returns
status code
  • 0 success
  • 1 get yuv422 failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 8242 of file driver_ov2640.c.

◆ ov2640_get_zoom_speed()

uint8_t ov2640_get_zoom_speed ( ov2640_handle_t * handle,
uint8_t * speed )

get zoom speed

Parameters
[in]*handlepointer to an ov2640 handle structure
[out]*speedpointer to a zoom speed buffer
Returns
status code
  • 0 success
  • 1 get zoom speed failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 10760 of file driver_ov2640.c.

◆ ov2640_set_address_auto_increase()

uint8_t ov2640_set_address_auto_increase ( ov2640_handle_t * handle,
ov2640_bool_t enable )

enable or disable address auto increase

Parameters
[in]*handlepointer to an ov2640 handle structure
[in]enablebool value
Returns
status code
  • 0 success
  • 1 set address auto increase failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 6407 of file driver_ov2640.c.

◆ ov2640_set_aec_enable()

uint8_t ov2640_set_aec_enable ( ov2640_handle_t * handle,
ov2640_bool_t enable )

enable or disable aec enable

Parameters
[in]*handlepointer to an ov2640 handle structure
[in]enablebool value
Returns
status code
  • 0 success
  • 1 set aec enable failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 7869 of file driver_ov2640.c.

◆ ov2640_set_aec_sel()

uint8_t ov2640_set_aec_sel ( ov2640_handle_t * handle,
ov2640_bool_t enable )

enable or disable aec sel

Parameters
[in]*handlepointer to an ov2640 handle structure
[in]enablebool value
Returns
status code
  • 0 success
  • 1 set aec sel failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 7951 of file driver_ov2640.c.

◆ ov2640_set_auto_mode()

uint8_t ov2640_set_auto_mode ( ov2640_handle_t * handle,
ov2640_bool_t enable )

enable or disable auto_mode

Parameters
[in]*handlepointer to an ov2640 handle structure
[in]enablebool value
Returns
status code
  • 0 success
  • 1 set auto mode failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 5593 of file driver_ov2640.c.

◆ ov2640_set_awb()

uint8_t ov2640_set_awb ( ov2640_handle_t * handle,
ov2640_bool_t enable )

enable or disable awb

Parameters
[in]*handlepointer to an ov2640 handle structure
[in]enablebool value
Returns
status code
  • 0 success
  • 1 set awb failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 7541 of file driver_ov2640.c.

◆ ov2640_set_awb_gain()

uint8_t ov2640_set_awb_gain ( ov2640_handle_t * handle,
ov2640_bool_t enable )

enable or disable awb gain

Parameters
[in]*handlepointer to an ov2640 handle structure
[in]enablebool value
Returns
status code
  • 0 success
  • 1 set awb gain failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 7623 of file driver_ov2640.c.

◆ ov2640_set_bist()

uint8_t ov2640_set_bist ( ov2640_handle_t * handle,
ov2640_bist_t bist,
ov2640_bool_t enable )

enable or disable bist

Parameters
[in]*handlepointer to an ov2640 handle structure
[in]bistbist type
[in]enablebool value
Returns
status code
  • 0 success
  • 1 set bist failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 6818 of file driver_ov2640.c.

◆ ov2640_set_bpc()

uint8_t ov2640_set_bpc ( ov2640_handle_t * handle,
ov2640_bool_t enable )

enable or disable bpc

Parameters
[in]*handlepointer to an ov2640 handle structure
[in]enablebool value
Returns
status code
  • 0 success
  • 1 set bpc failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 8935 of file driver_ov2640.c.

◆ ov2640_set_byte_swap()

uint8_t ov2640_set_byte_swap ( ov2640_handle_t * handle,
ov2640_byte_swap_t byte_swap )

set byte swap

Parameters
[in]*handlepointer to an ov2640 handle structure
[in]byte_swapbyte swap
Returns
status code
  • 0 success
  • 1 set byte swap failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 6092 of file driver_ov2640.c.

◆ ov2640_set_cip()

uint8_t ov2640_set_cip ( ov2640_handle_t * handle,
ov2640_bool_t enable )

enable or disable cip

Parameters
[in]*handlepointer to an ov2640 handle structure
[in]enablebool value
Returns
status code
  • 0 success
  • 1 set cip failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 7213 of file driver_ov2640.c.

◆ ov2640_set_cmx()

uint8_t ov2640_set_cmx ( ov2640_handle_t * handle,
ov2640_bool_t enable )

enable or disable cmx

Parameters
[in]*handlepointer to an ov2640 handle structure
[in]enablebool value
Returns
status code
  • 0 success
  • 1 set cmx failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 8853 of file driver_ov2640.c.

◆ ov2640_set_dcw()

uint8_t ov2640_set_dcw ( ov2640_handle_t * handle,
ov2640_bool_t enable )

enable or disable dcw

Parameters
[in]*handlepointer to an ov2640 handle structure
[in]enablebool value
Returns
status code
  • 0 success
  • 1 set dcw failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 8525 of file driver_ov2640.c.

◆ ov2640_set_dg()

uint8_t ov2640_set_dg ( ov2640_handle_t * handle,
ov2640_bool_t enable )

enable or disable dg

Parameters
[in]*handlepointer to an ov2640 handle structure
[in]enablebool value
Returns
status code
  • 0 success
  • 1 set dg failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 7459 of file driver_ov2640.c.

◆ ov2640_set_dmy()

uint8_t ov2640_set_dmy ( ov2640_handle_t * handle,
ov2640_bool_t enable )

enable or disable dmy

Parameters
[in]*handlepointer to an ov2640 handle structure
[in]enablebool value
Returns
status code
  • 0 success
  • 1 set dmy failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 7295 of file driver_ov2640.c.

◆ ov2640_set_dp_selx()

uint8_t ov2640_set_dp_selx ( ov2640_handle_t * handle,
uint8_t size )

set dp selx

Parameters
[in]*handlepointer to an ov2640 handle structure
[in]sizeset dp selx size
Returns
status code
  • 0 success
  • 1 set dp selx failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 size > 0xF
Note
none

Definition at line 10321 of file driver_ov2640.c.

◆ ov2640_set_dp_sely()

uint8_t ov2640_set_dp_sely ( ov2640_handle_t * handle,
uint8_t size )

set dp sely

Parameters
[in]*handlepointer to an ov2640 handle structure
[in]sizeset dp sely size
Returns
status code
  • 0 success
  • 1 set dp sely failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 size > 0xF
Note
none

Definition at line 10410 of file driver_ov2640.c.

◆ ov2640_set_dsp_bypass()

uint8_t ov2640_set_dsp_bypass ( ov2640_handle_t * handle,
ov2640_bool_t enable )

enable or disable dsp bypass

Parameters
[in]*handlepointer to an ov2640 handle structure
[in]enablebool value
Returns
status code
  • 0 success
  • 1 set dsp bypass failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 5511 of file driver_ov2640.c.

◆ ov2640_set_dvp_jpeg_output_href_timing()

uint8_t ov2640_set_dvp_jpeg_output_href_timing ( ov2640_handle_t * handle,
ov2640_href_timing_t timing )

set dvp jpeg output href timing

Parameters
[in]*handlepointer to an ov2640 handle structure
[in]timinghref timing
Returns
status code
  • 0 success
  • 1 set dvp jpeg output href timing failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 6010 of file driver_ov2640.c.

◆ ov2640_set_dvp_output_format()

uint8_t ov2640_set_dvp_output_format ( ov2640_handle_t * handle,
ov2640_dvp_output_format_t format )

set dvp output format

Parameters
[in]*handlepointer to an ov2640 handle structure
[in]formatdvp output format
Returns
status code
  • 0 success
  • 1 set dvp output format failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 5928 of file driver_ov2640.c.

◆ ov2640_set_dvp_pclk()

uint8_t ov2640_set_dvp_pclk ( ov2640_handle_t * handle,
uint8_t pclk )

set dvp pclk

Parameters
[in]*handlepointer to an ov2640 handle structure
[in]pclkset pclk
Returns
status code
  • 0 success
  • 1 set dvp pclk failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 pclk > 0x7F
Note
none

Definition at line 5676 of file driver_ov2640.c.

◆ ov2640_set_dvp_y8()

uint8_t ov2640_set_dvp_y8 ( ov2640_handle_t * handle,
ov2640_bool_t enable )

enable or disable dvp y8

Parameters
[in]*handlepointer to an ov2640 handle structure
[in]enablebool value
Returns
status code
  • 0 success
  • 1 set dvp y8 failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 5764 of file driver_ov2640.c.

◆ ov2640_set_horizontal_divider()

uint8_t ov2640_set_horizontal_divider ( ov2640_handle_t * handle,
uint8_t divider )

set horizontal divider

Parameters
[in]*handlepointer to an ov2640 handle structure
[in]dividerset divider
Returns
status code
  • 0 success
  • 1 set horizontal divider failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 divider > 7
Note
none

Definition at line 9788 of file driver_ov2640.c.

◆ ov2640_set_horizontal_size()

uint8_t ov2640_set_horizontal_size ( ov2640_handle_t * handle,
uint16_t size )

set horizontal size

Parameters
[in]*handlepointer to an ov2640 handle structure
[in]sizehorizontal size
Returns
status code
  • 0 success
  • 1 set horizontal size failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 size > 0x3FF
Note
none

Definition at line 9877 of file driver_ov2640.c.

◆ ov2640_set_image_horizontal()

uint8_t ov2640_set_image_horizontal ( ov2640_handle_t * handle,
uint16_t size )

set image horizontal

Parameters
[in]*handlepointer to an ov2640 handle structure
[in]sizeimage horizontal size
Returns
status code
  • 0 success
  • 1 set image horizontal failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 size > 0xFFF
Note
none

Definition at line 9248 of file driver_ov2640.c.

◆ ov2640_set_image_vertical()

uint8_t ov2640_set_image_vertical ( ov2640_handle_t * handle,
uint16_t size )

set image vertical

Parameters
[in]*handlepointer to an ov2640 handle structure
[in]sizeimage vertical size
Returns
status code
  • 0 success
  • 1 set image vertical failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 size > 0x7FF
Note
none

Definition at line 9356 of file driver_ov2640.c.

◆ ov2640_set_jpeg_output()

uint8_t ov2640_set_jpeg_output ( ov2640_handle_t * handle,
ov2640_bool_t enable )

enable or disable jpeg output

Parameters
[in]*handlepointer to an ov2640 handle structure
[in]enablebool value
Returns
status code
  • 0 success
  • 1 set jpeg output failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 5846 of file driver_ov2640.c.

◆ ov2640_set_lenc()

uint8_t ov2640_set_lenc ( ov2640_handle_t * handle,
ov2640_bool_t enable )

enable or disable lenc

Parameters
[in]*handlepointer to an ov2640 handle structure
[in]enablebool value
Returns
status code
  • 0 success
  • 1 set lenc failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 7705 of file driver_ov2640.c.

◆ ov2640_set_lp_dp()

uint8_t ov2640_set_lp_dp ( ov2640_handle_t * handle,
ov2640_bool_t enable )

enable or disable lp dp

Parameters
[in]*handlepointer to an ov2640 handle structure
[in]enablebool value
Returns
status code
  • 0 success
  • 1 set lp dp failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 9534 of file driver_ov2640.c.

◆ ov2640_set_offset_x()

uint8_t ov2640_set_offset_x ( ov2640_handle_t * handle,
uint16_t size )

set offset x

Parameters
[in]*handlepointer to an ov2640 handle structure
[in]sizeset offset x size
Returns
status code
  • 0 success
  • 1 set offset x failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 size > 0x7FF
Note
none

Definition at line 10111 of file driver_ov2640.c.

◆ ov2640_set_offset_y()

uint8_t ov2640_set_offset_y ( ov2640_handle_t * handle,
uint16_t size )

set offset y

Parameters
[in]*handlepointer to an ov2640 handle structure
[in]sizeset offset y size
Returns
status code
  • 0 success
  • 1 set offset y failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 size > 0x7FF
Note
none

Definition at line 10216 of file driver_ov2640.c.

◆ ov2640_set_output_height()

uint8_t ov2640_set_output_height ( ov2640_handle_t * handle,
uint16_t size )

set output height

Parameters
[in]*handlepointer to an ov2640 handle structure
[in]sizeset output height
Returns
status code
  • 0 success
  • 1 set output height failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 size > 0x1FF
Note
none

Definition at line 10604 of file driver_ov2640.c.

◆ ov2640_set_output_width()

uint8_t ov2640_set_output_width ( ov2640_handle_t * handle,
uint16_t size )

set output width

Parameters
[in]*handlepointer to an ov2640 handle structure
[in]sizeset output width
Returns
status code
  • 0 success
  • 1 set output width failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 size > 0x3FF
Note
none

Definition at line 10499 of file driver_ov2640.c.

◆ ov2640_set_pre()

uint8_t ov2640_set_pre ( ov2640_handle_t * handle,
ov2640_bool_t enable )

enable or disable pre

Parameters
[in]*handlepointer to an ov2640 handle structure
[in]enablebool value
Returns
status code
  • 0 success
  • 1 set pre failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 7787 of file driver_ov2640.c.

◆ ov2640_set_program_memory_pointer_access_address()

uint8_t ov2640_set_program_memory_pointer_access_address ( ov2640_handle_t * handle,
uint8_t addr )

set program memory pointer access address

Parameters
[in]*handlepointer to an ov2640 handle structure
[in]addrprogram memory pointer access address
Returns
status code
  • 0 success
  • 1 set program memory pointer access address failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 6991 of file driver_ov2640.c.

◆ ov2640_set_program_memory_pointer_address()

uint8_t ov2640_set_program_memory_pointer_address ( ov2640_handle_t * handle,
uint16_t addr )

set program memory pointer address

Parameters
[in]*handlepointer to an ov2640 handle structure
[in]addrprogram memory pointer address
Returns
status code
  • 0 success
  • 1 set program memory pointer address failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 6901 of file driver_ov2640.c.

◆ ov2640_set_quantization_scale_factor()

uint8_t ov2640_set_quantization_scale_factor ( ov2640_handle_t * handle,
uint8_t factor )

set quantization scale factor

Parameters
[in]*handlepointer to an ov2640 handle structure
[in]factorset quantization scale factor
Returns
status code
  • 0 success
  • 1 set quantization scale factor failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 9460 of file driver_ov2640.c.

◆ ov2640_set_raw()

uint8_t ov2640_set_raw ( ov2640_handle_t * handle,
ov2640_bool_t enable )

enable or disable raw

Parameters
[in]*handlepointer to an ov2640 handle structure
[in]enablebool value
Returns
status code
  • 0 success
  • 1 set raw failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 8443 of file driver_ov2640.c.

◆ ov2640_set_raw_gma()

uint8_t ov2640_set_raw_gma ( ov2640_handle_t * handle,
ov2640_bool_t enable )

enable or disable raw gma

Parameters
[in]*handlepointer to an ov2640 handle structure
[in]enablebool value
Returns
status code
  • 0 success
  • 1 set raw gma failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 7377 of file driver_ov2640.c.

◆ ov2640_set_reset()

uint8_t ov2640_set_reset ( ov2640_handle_t * handle,
ov2640_reset_t type,
ov2640_bool_t enable )

enable or disable reset

Parameters
[in]*handlepointer to an ov2640 handle structure
[in]typereset type
[in]enablebool value
Returns
status code
  • 0 success
  • 1 set reset failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 6175 of file driver_ov2640.c.

◆ ov2640_set_rgb()

uint8_t ov2640_set_rgb ( ov2640_handle_t * handle,
ov2640_bool_t enable )

enable or disable rgb

Parameters
[in]*handlepointer to an ov2640 handle structure
[in]enablebool value
Returns
status code
  • 0 success
  • 1 set rgb failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 8361 of file driver_ov2640.c.

◆ ov2640_set_round()

uint8_t ov2640_set_round ( ov2640_handle_t * handle,
ov2640_bool_t enable )

enable or disable round

Parameters
[in]*handlepointer to an ov2640 handle structure
[in]enablebool value
Returns
status code
  • 0 success
  • 1 set round failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 9616 of file driver_ov2640.c.

◆ ov2640_set_sccb()

uint8_t ov2640_set_sccb ( ov2640_handle_t * handle,
ov2640_bool_t enable )

enable or disable sccb

Parameters
[in]*handlepointer to an ov2640 handle structure
[in]enablebool value
Returns
status code
  • 0 success
  • 1 set sccb failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 6489 of file driver_ov2640.c.

◆ ov2640_set_sccb_master_access()

uint8_t ov2640_set_sccb_master_access ( ov2640_handle_t * handle,
ov2640_bool_t enable )

enable or disable sccb master access

Parameters
[in]*handlepointer to an ov2640 handle structure
[in]enablebool value
Returns
status code
  • 0 success
  • 1 set sccb master access failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 6653 of file driver_ov2640.c.

◆ ov2640_set_sccb_master_clock_delay()

uint8_t ov2640_set_sccb_master_clock_delay ( ov2640_handle_t * handle,
ov2640_bool_t enable )

enable or disable sccb master clock delay

Parameters
[in]*handlepointer to an ov2640 handle structure
[in]enablebool value
Returns
status code
  • 0 success
  • 1 set sccb master clock delay failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 6571 of file driver_ov2640.c.

◆ ov2640_set_sccb_master_speed()

uint8_t ov2640_set_sccb_master_speed ( ov2640_handle_t * handle,
uint8_t speed )

set sccb master speed

Parameters
[in]*handlepointer to an ov2640 handle structure
[in]speedsccb master speed
Returns
status code
  • 0 success
  • 1 set sccb master speed failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 6259 of file driver_ov2640.c.

◆ ov2640_set_sccb_protocol_command()

uint8_t ov2640_set_sccb_protocol_command ( ov2640_handle_t * handle,
uint8_t cmd )

set sccb protocol command

Parameters
[in]*handlepointer to an ov2640 handle structure
[in]cmdsccb protocol command
Returns
status code
  • 0 success
  • 1 set sccb protocol command failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 7065 of file driver_ov2640.c.

◆ ov2640_set_sccb_protocol_status()

uint8_t ov2640_set_sccb_protocol_status ( ov2640_handle_t * handle,
uint8_t status )

set sccb protocol status

Parameters
[in]*handlepointer to an ov2640 handle structure
[in]statussccb protocol status
Returns
status code
  • 0 success
  • 1 set sccb protocol status failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 7139 of file driver_ov2640.c.

◆ ov2640_set_sccb_slave_id()

uint8_t ov2640_set_sccb_slave_id ( ov2640_handle_t * handle,
uint8_t id )

set sccb slave id

Parameters
[in]*handlepointer to an ov2640 handle structure
[in]idset slave id
Returns
status code
  • 0 success
  • 1 set sccb slave id failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 6333 of file driver_ov2640.c.

◆ ov2640_set_sde()

uint8_t ov2640_set_sde ( ov2640_handle_t * handle,
ov2640_bool_t enable )

enable or disable sde

Parameters
[in]*handlepointer to an ov2640 handle structure
[in]enablebool value
Returns
status code
  • 0 success
  • 1 set sde failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 8607 of file driver_ov2640.c.

◆ ov2640_set_sde_indirect_register_address()

uint8_t ov2640_set_sde_indirect_register_address ( ov2640_handle_t * handle,
uint8_t addr )

set sde indirect register address

Parameters
[in]*handlepointer to an ov2640 handle structure
[in]addrset register address
Returns
status code
  • 0 success
  • 1 set sde indirect register address failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 9099 of file driver_ov2640.c.

◆ ov2640_set_sde_indirect_register_data()

uint8_t ov2640_set_sde_indirect_register_data ( ov2640_handle_t * handle,
uint8_t data )

set sde indirect register data

Parameters
[in]*handlepointer to an ov2640 handle structure
[in]dataset data
Returns
status code
  • 0 success
  • 1 set sde indirect register data failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 9173 of file driver_ov2640.c.

◆ ov2640_set_sensor_pass_through_access()

uint8_t ov2640_set_sensor_pass_through_access ( ov2640_handle_t * handle,
ov2640_bool_t enable )

enable or disable sensor pass through access

Parameters
[in]*handlepointer to an ov2640 handle structure
[in]enablebool value
Returns
status code
  • 0 success
  • 1 set sensor pass through access failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 6735 of file driver_ov2640.c.

◆ ov2640_set_stat_sel()

uint8_t ov2640_set_stat_sel ( ov2640_handle_t * handle,
ov2640_bool_t enable )

enable or disable stat sel

Parameters
[in]*handlepointer to an ov2640 handle structure
[in]enablebool value
Returns
status code
  • 0 success
  • 1 set stat sel failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 8033 of file driver_ov2640.c.

◆ ov2640_set_uv_adj()

uint8_t ov2640_set_uv_adj ( ov2640_handle_t * handle,
ov2640_bool_t enable )

enable or disable uv adj

Parameters
[in]*handlepointer to an ov2640 handle structure
[in]enablebool value
Returns
status code
  • 0 success
  • 1 set uv adj failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 8689 of file driver_ov2640.c.

◆ ov2640_set_uv_avg()

uint8_t ov2640_set_uv_avg ( ov2640_handle_t * handle,
ov2640_bool_t enable )

enable or disable uv avg

Parameters
[in]*handlepointer to an ov2640 handle structure
[in]enablebool value
Returns
status code
  • 0 success
  • 1 set uv avg failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 8771 of file driver_ov2640.c.

◆ ov2640_set_vertical_divider()

uint8_t ov2640_set_vertical_divider ( ov2640_handle_t * handle,
uint8_t divider )

set vertical divider

Parameters
[in]*handlepointer to an ov2640 handle structure
[in]dividerset divider
Returns
status code
  • 0 success
  • 1 set vertical divider failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 divider > 7
Note
none

Definition at line 9699 of file driver_ov2640.c.

◆ ov2640_set_vertical_size()

uint8_t ov2640_set_vertical_size ( ov2640_handle_t * handle,
uint16_t size )

set vertical size

Parameters
[in]*handlepointer to an ov2640 handle structure
[in]sizevertical size
Returns
status code
  • 0 success
  • 1 set vertical size failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 size > 0x1FF
Note
none

Definition at line 10006 of file driver_ov2640.c.

◆ ov2640_set_vfirst()

uint8_t ov2640_set_vfirst ( ov2640_handle_t * handle,
ov2640_bool_t enable )

enable or disable vfirst

Parameters
[in]*handlepointer to an ov2640 handle structure
[in]enablebool value
Returns
status code
  • 0 success
  • 1 set vfirst failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 8115 of file driver_ov2640.c.

◆ ov2640_set_wpc()

uint8_t ov2640_set_wpc ( ov2640_handle_t * handle,
ov2640_bool_t enable )

enable or disable wpc

Parameters
[in]*handlepointer to an ov2640 handle structure
[in]enablebool value
Returns
status code
  • 0 success
  • 1 set wpc failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 9017 of file driver_ov2640.c.

◆ ov2640_set_yuv()

uint8_t ov2640_set_yuv ( ov2640_handle_t * handle,
ov2640_bool_t enable )

enable or disable yuv

Parameters
[in]*handlepointer to an ov2640 handle structure
[in]enablebool value
Returns
status code
  • 0 success
  • 1 set yuv failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 8279 of file driver_ov2640.c.

◆ ov2640_set_yuv422()

uint8_t ov2640_set_yuv422 ( ov2640_handle_t * handle,
ov2640_bool_t enable )

enable or disable yuv422

Parameters
[in]*handlepointer to an ov2640 handle structure
[in]enablebool value
Returns
status code
  • 0 success
  • 1 set yuv422 failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 8197 of file driver_ov2640.c.

◆ ov2640_set_zoom_speed()

uint8_t ov2640_set_zoom_speed ( ov2640_handle_t * handle,
uint8_t speed )

set zoom speed

Parameters
[in]*handlepointer to an ov2640 handle structure
[in]speedzoom speed
Returns
status code
  • 0 success
  • 1 set zoom speed failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 speed > 0xF
Note
none

Definition at line 10709 of file driver_ov2640.c.