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

ov2640 extend driver modules More...

Collaboration diagram for ov2640 extend driver function:

Functions

uint8_t ov2640_set_dsp_reg (ov2640_handle_t *handle, uint8_t reg, uint8_t data)
 set dsp reg
uint8_t ov2640_get_dsp_reg (ov2640_handle_t *handle, uint8_t reg, uint8_t *data)
 get dsp reg
uint8_t ov2640_set_sensor_reg (ov2640_handle_t *handle, uint8_t reg, uint8_t data)
 set sensor reg
uint8_t ov2640_get_sensor_reg (ov2640_handle_t *handle, uint8_t reg, uint8_t *data)
 get sensor reg

Detailed Description

ov2640 extend driver modules

Function Documentation

◆ ov2640_get_dsp_reg()

uint8_t ov2640_get_dsp_reg ( ov2640_handle_t * handle,
uint8_t reg,
uint8_t * data )

get dsp reg

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

Definition at line 12264 of file driver_ov2640.c.

◆ ov2640_get_sensor_reg()

uint8_t ov2640_get_sensor_reg ( ov2640_handle_t * handle,
uint8_t reg,
uint8_t * data )

get sensor reg

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

Definition at line 12316 of file driver_ov2640.c.

◆ ov2640_set_dsp_reg()

uint8_t ov2640_set_dsp_reg ( ov2640_handle_t * handle,
uint8_t reg,
uint8_t data )

set dsp reg

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

Definition at line 12290 of file driver_ov2640.c.

◆ ov2640_set_sensor_reg()

uint8_t ov2640_set_sensor_reg ( ov2640_handle_t * handle,
uint8_t reg,
uint8_t data )

set sensor reg

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

Definition at line 12342 of file driver_ov2640.c.