GK SDK 源码库: XMIPCLinuxV100R005C00SPC030 (kernel/tools/open_source excluded)
This commit is contained in:
Executable
+26
@@ -0,0 +1,26 @@
|
||||
|
||||
#ifndef __DRV_ISP_EXPORT_H__
|
||||
#define __DRV_ISP_EXPORT_H__
|
||||
|
||||
#include "xmedia_type.h"
|
||||
#include "xmedia_isp.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct {
|
||||
xmedia_s32 (*pfn_i2c_write)(xmedia_s8 i2c_dev, xmedia_u32 slave_addr, xmedia_u32 reg_addr,
|
||||
xmedia_u32 reg_addr_byte_num, xmedia_u32 data, xmedia_u32 data_byte_num);
|
||||
xmedia_s32 (*pfn_i2c_read)(xmedia_s8 i2c_dev, xmedia_u32 slave_addr, xmedia_u32 reg_addr,
|
||||
xmedia_u32 reg_addr_byte_num, xmedia_u32 *data, xmedia_u32 data_byte_num);
|
||||
} isp_i2c_callback;
|
||||
|
||||
xmedia_s32 drv_isp_set_mclk(xmedia_u32 clk_chn, xmedia_bool enable, xmedia_sensor_clock_freq clk);
|
||||
xmedia_s32 drv_isp_register_i2c(isp_i2c_callback *i2c_callback);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // __DRV_ISP_EXPORT_H__
|
||||
Reference in New Issue
Block a user