Main Page | Modules | Namespace List | Data Structures | Directories | File List | Namespace Members | Data Fields | Globals

sccbConfig.c File Reference

Functions to communicate over the SCCB (Serial Ccamera Control Bus), for example used by the OMNIVISION cmos camera modules. More...

#include "SCCBconfig.h"
#include <services/services.h>
#include <cycle_count_bf.h>

Defines

#define SCCB_BASE_WAIT_CYCLE   50

Functions

void sccb_wait_us (void)
void sccb_waitCycle (unsigned short pa_nWaitStates)
T_ERROR_CODE sccb_writeByte (T_SCCB_HANDLE pa_hSccb, unsigned char pa_cDevAddr, unsigned char pa_cSubAddr, unsigned char pa_cData)
unsigned short sccb_readByte (T_SCCB_HANDLE pa_hSccb, unsigned char pa_cDevAddr, unsigned char pa_cSubAddr, T_ERROR_CODE *pa_errCode)
T_ERROR_CODE sccb_open (T_SCCB_HANDLE *pa_phSccb, T_GPIO_MASK pa_sio_cMask, T_GPIO_MASK pa_sio_dMask, T_GPIO_MASK pa_pwdnMask, unsigned char pa_cWriteAddr, unsigned long pa_nCoreClk)
T_ERROR_CODE sccb_close (T_SCCB_HANDLE pa_hSccb)

Variables

unsigned long g_nCoreClk = 0


Detailed Description

Functions to communicate over the SCCB (Serial Ccamera Control Bus), for example used by the OMNIVISION cmos camera modules.

*********************************************************************

Author:
Daniel Weber, Roland Oberhammer
Date:
2005-10-23
Version:
1.0

NOTE: The Pins SIO_C, SIO_D and PWDN has to be connectet to the pf-flags on the coremodul in the order they are called by the function.

See also:
cam_sccb.h *

Define Documentation

#define SCCB_BASE_WAIT_CYCLE   50
 


Function Documentation

void sccb_wait_us void   ) 
 


Variable Documentation

unsigned long g_nCoreClk = 0
 


Generated on Thu Mar 2 16:11:30 2006 for VDK Blacksheep by  doxygen 1.4.1