blob: 9f3be2def2ebc7ff4787ece1c7221060ba5a7efa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#ifndef _IPECAMERA_MODEL_H
#define _IPECAMERA_MODEL_H
#include <stdio.h>
#include <pcilib/model.h>
//#define IPECAMERA_DEBUG
#define IPECAMERA_DMA_ADDRESS 0 /**< Address of DMA engine to use for communication */
#define IPECAMERA_DMA_PACKET_LENGTH 4096 /**< IPECamera always use buffers of fixed size adding padding in the end.
This is used to compute expected amount of data for each frame */
#define IPECAMERA_REGISTER_SPACE 0x9000
#define IPECAMERA_CMOSIS_REGISTER_WRITE (IPECAMERA_REGISTER_SPACE + 0)
#define IPECAMERA_CMOSIS_REGISTER_READ (IPECAMERA_REGISTER_SPACE + 16)
extern const pcilib_register_description_t cmosis_registers[];
extern const pcilib_register_description_t cmosis20000_registers[];
const pcilib_model_description_t *pcilib_get_event_model(pcilib_t *pcilib, unsigned short vendor_id, unsigned short device_id, const char *model);
#endif /* _IPECAMERA_MODEL_H */
|