/alps/ipecamera

To get this branch, use:
bzr branch http://suren.me/webbzr/alps/ipecamera
15 by Suren A. Chilingaryan
Infrastructure for event API
1
#ifndef _IPECAMERA_MODEL_H
2
#define _IPECAMERA_MODEL_H
6 by Suren A. Chilingaryan
Initial support for registers, infrastructure only
3
4
#include <stdio.h>
245 by Suren A. Chilingaryan
First stand-alone ipecamera implementation
5
#include <pcilib/model.h>
6 by Suren A. Chilingaryan
Initial support for registers, infrastructure only
6
97 by root
Disable debugging
7
//#define IPECAMERA_DEBUG
95 by root
Few fixes in IPE Camera code
8
245 by Suren A. Chilingaryan
First stand-alone ipecamera implementation
9
#define IPECAMERA_DMA_ADDRESS 			0					/**< Address of DMA engine to use for communication */
10
#define IPECAMERA_DMA_PACKET_LENGTH 		4096					/**< IPECamera always use buffers of fixed size adding padding in the end. 
11
											This is used to compute expected amount of data for each frame */
39 by root
Move to new FPGA design
12
#define IPECAMERA_REGISTER_SPACE 0x9000
245 by Suren A. Chilingaryan
First stand-alone ipecamera implementation
13
#define IPECAMERA_CMOSIS_REGISTER_WRITE 	(IPECAMERA_REGISTER_SPACE + 0)
14
#define IPECAMERA_CMOSIS_REGISTER_READ 		(IPECAMERA_REGISTER_SPACE + 16)
15
260 by Suren A. Chilingaryan
Support registers of CMOSIS20000 camera
16
extern const pcilib_register_description_t cmosis_registers[];
17
extern const pcilib_register_description_t cmosis20000_registers[];
18
245 by Suren A. Chilingaryan
First stand-alone ipecamera implementation
19
const pcilib_model_description_t *pcilib_get_event_model(pcilib_t *pcilib, unsigned short vendor_id, unsigned short device_id, const char *model);
7.1.1 by Suren A. Chilingaryan
Initial support of IPECamera protocol
20
15 by Suren A. Chilingaryan
Infrastructure for event API
21
#endif /* _IPECAMERA_MODEL_H */