2017-08-18 23:45:30 +00:00
|
|
|
/**
|
|
|
|
* This is the OV2640 driver
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __OV5640_H__
|
|
|
|
#define __OV5640_H__
|
|
|
|
|
|
|
|
#include "ch.h"
|
|
|
|
#include "hal.h"
|
|
|
|
#include "types.h"
|
|
|
|
|
2017-08-21 11:23:55 +00:00
|
|
|
#define OV5640_USE_DMA_DBM TRUE
|
|
|
|
|
2017-09-08 14:28:01 +00:00
|
|
|
bool OV5640_Snapshot2RAM(bool enableJpegValidation);
|
2017-08-18 23:45:30 +00:00
|
|
|
bool OV5640_Capture(void);
|
|
|
|
void OV5640_InitGPIO(void);
|
|
|
|
bool OV5640_BufferOverflow(void);
|
|
|
|
void OV5640_TransmitConfig(void);
|
|
|
|
void OV5640_init(ssdv_conf_t *config);
|
|
|
|
void OV5640_deinit(void);
|
|
|
|
bool OV5640_isAvailable(void);
|
2017-08-30 03:29:59 +00:00
|
|
|
uint32_t OV5640_getLightIntensity(void);
|
2017-08-18 23:45:30 +00:00
|
|
|
|
|
|
|
#endif
|