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

ov2640 interface driver modules More...

Collaboration diagram for ov2640 interface driver function:

Functions

uint8_t ov2640_interface_sccb_init (void)
 interface sccb bus init
uint8_t ov2640_interface_sccb_deinit (void)
 interface sccb bus deinit
uint8_t ov2640_interface_sccb_read (uint8_t addr, uint8_t reg, uint8_t *buf, uint16_t len)
 interface sccb bus read
uint8_t ov2640_interface_sccb_write (uint8_t addr, uint8_t reg, uint8_t *buf, uint16_t len)
 interface sccb bus write
uint8_t ov2640_interface_power_down_init (void)
 interface power down init
uint8_t ov2640_interface_power_down_deinit (void)
 interface power down deinit
uint8_t ov2640_interface_power_down_write (uint8_t level)
 interface power down write
uint8_t ov2640_interface_reset_init (void)
 interface reset init
uint8_t ov2640_interface_reset_deinit (void)
 interface reset deinit
uint8_t ov2640_interface_reset_write (uint8_t level)
 interface reset write
void ov2640_interface_delay_ms (uint32_t ms)
 interface delay ms
void ov2640_interface_debug_print (const char *const fmt,...)
 interface print format data

Detailed Description

ov2640 interface driver modules

Function Documentation

◆ ov2640_interface_debug_print()

void ov2640_interface_debug_print ( const char *const fmt,
... )

interface print format data

Parameters
[in]fmtformat data
Note
none

Definition at line 184 of file driver_ov2640_interface_template.c.

◆ ov2640_interface_delay_ms()

void ov2640_interface_delay_ms ( uint32_t ms)

interface delay ms

Parameters
[in]mstime
Note
none

Definition at line 174 of file driver_ov2640_interface_template.c.

◆ ov2640_interface_power_down_deinit()

uint8_t ov2640_interface_power_down_deinit ( void )

interface power down deinit

Returns
status code
  • 0 success
  • 1 power down deinit failed
Note
none

Definition at line 114 of file driver_ov2640_interface_template.c.

◆ ov2640_interface_power_down_init()

uint8_t ov2640_interface_power_down_init ( void )

interface power down init

Returns
status code
  • 0 success
  • 1 power down init failed
Note
none

Definition at line 102 of file driver_ov2640_interface_template.c.

◆ ov2640_interface_power_down_write()

uint8_t ov2640_interface_power_down_write ( uint8_t level)

interface power down write

Parameters
[in]levelset level
Returns
status code
  • 0 success
  • 1 power down write failed
Note
none

Definition at line 127 of file driver_ov2640_interface_template.c.

◆ ov2640_interface_reset_deinit()

uint8_t ov2640_interface_reset_deinit ( void )

interface reset deinit

Returns
status code
  • 0 success
  • 1 reset deinit failed
Note
none

Definition at line 151 of file driver_ov2640_interface_template.c.

◆ ov2640_interface_reset_init()

uint8_t ov2640_interface_reset_init ( void )

interface reset init

Returns
status code
  • 0 success
  • 1 reset init failed
Note
none

Definition at line 139 of file driver_ov2640_interface_template.c.

◆ ov2640_interface_reset_write()

uint8_t ov2640_interface_reset_write ( uint8_t level)

interface reset write

Parameters
[in]levelset level
Returns
status code
  • 0 success
  • 1 reset write failed
Note
none

Definition at line 164 of file driver_ov2640_interface_template.c.

◆ ov2640_interface_sccb_deinit()

uint8_t ov2640_interface_sccb_deinit ( void )

interface sccb bus deinit

Returns
status code
  • 0 success
  • 1 sccb deinit failed
Note
none

Definition at line 58 of file driver_ov2640_interface_template.c.

◆ ov2640_interface_sccb_init()

uint8_t ov2640_interface_sccb_init ( void )

interface sccb bus init

Returns
status code
  • 0 success
  • 1 sccb init failed
Note
none

Definition at line 46 of file driver_ov2640_interface_template.c.

◆ ov2640_interface_sccb_read()

uint8_t ov2640_interface_sccb_read ( uint8_t addr,
uint8_t reg,
uint8_t * buf,
uint16_t len )

interface sccb bus read

Parameters
[in]addrsccb device write address
[in]regsccb register address
[out]*bufpointer to a data buffer
[in]lenlength of the data buffer
Returns
status code
  • 0 success
  • 1 read failed
Note
none

Definition at line 74 of file driver_ov2640_interface_template.c.

◆ ov2640_interface_sccb_write()

uint8_t ov2640_interface_sccb_write ( uint8_t addr,
uint8_t reg,
uint8_t * buf,
uint16_t len )

interface sccb bus write

Parameters
[in]addrsccb device write address
[in]regsccb register address
[in]*bufpointer to a data buffer
[in]lenlength of the data buffer
Returns
status code
  • 0 success
  • 1 write failed
Note
none

Definition at line 90 of file driver_ov2640_interface_template.c.