57 #define CAM_BUFFER_ADDR 0x44018100 63 #define CAM_XCLK_STABLE_LO 0x00 64 #define CAM_XCLK_STABLE_HI 0x01 65 #define CAM_XCLK_DIV_BYPASS 0x02 72 #define CAM_INT_DMA 0x80000000 73 #define CAM_INT_FE 0x00010000 74 #define CAM_INT_FIFO_NOEMPTY 0x00000010 75 #define CAM_INT_FIFO_FULL 0x00000008 76 #define CAM_INT_FIFO_THR 0x00000004 77 #define CAM_INT_FIFO_OF 0x00000002 78 #define CAN_INT_FIFO_UR 0x00000001 84 #define CAM_HS_POL_HI 0x00000000 85 #define CAM_HS_POL_LO 0x00000200 86 #define CAM_VS_POL_HI 0x00000000 87 #define CAM_VS_POL_LO 0x00000100 89 #define CAM_PCLK_RISE_EDGE 0x00000000 90 #define CAM_PCLK_FALL_EDGE 0x00000400 92 #define CAM_ORDERCAM_SWAP 0x00000800 93 #define CAM_NOBT_SYNCHRO 0x00002000 94 #define CAM_IF_SYNCHRO 0x00080000 104 unsigned long ulVSPol,
unsigned long ulFlags);
105 extern void CameraXClkConfig(
unsigned long ulBase,
unsigned long ulCamClkIn,
106 unsigned long ulXClk);
107 extern void CameraXClkSet(
unsigned long ulBase,
unsigned char bXClkFlags);
113 extern void CameraIntEnable(
unsigned long ulBase,
unsigned long ulIntFlags);
114 extern void CameraIntDisable(
unsigned long ulBase,
unsigned long ulIntFlags);
116 extern void CameraIntClear(
unsigned long ulBase,
unsigned long ulIntFlags);
120 unsigned char ucSize);
131 #endif //__CAMERA_H__ void CameraReset(unsigned long ulBase)
Definition: camera.c:66
void CameraBufferRead(unsigned long ulBase, unsigned long *pBuffer, unsigned char ucSize)
Definition: camera.c:577
void CameraIntRegister(unsigned long ulBase, void(*pfnHandler)(void))
Definition: camera.c:323
unsigned long CameraIntStatus(unsigned long ulBase)
Definition: camera.c:445
void CameraXClkConfig(unsigned long ulBase, unsigned long ulCamClkIn, unsigned long ulXClk)
Definition: camera.c:156
void CameraCaptureStart(unsigned long ulBase)
Definition: camera.c:513
void CameraDMADisable(unsigned long ulBase)
Definition: camera.c:273
void CameraIntDisable(unsigned long ulBase, unsigned long ulIntFlags)
Definition: camera.c:417
void CameraCaptureStop(unsigned long ulBase, tBoolean bImmediate)
Definition: camera.c:540
void CameraIntUnregister(unsigned long ulBase)
Definition: camera.c:349
void CameraXClkSet(unsigned long ulBase, unsigned char bXClkFlags)
Definition: camera.c:211
void CameraDMAEnable(unsigned long ulBase)
Definition: camera.c:253
void CameraIntClear(unsigned long ulBase, unsigned long ulIntFlags)
Definition: camera.c:484
void CameraThresholdSet(unsigned long ulBase, unsigned long ulThreshold)
Definition: camera.c:296
void CameraParamsConfig(unsigned long ulBase, unsigned long ulHSPol, unsigned long ulVSPol, unsigned long ulFlags)
Definition: camera.c:114
void CameraIntEnable(unsigned long ulBase, unsigned long ulIntFlags)
Definition: camera.c:386