cfa: xcfa.c File Reference

| cfa Xilinx SDK Drivers API Documentation

- Overview
- Data Structures
- APIs
- File List
- Examples

Functions
xcfa.c File Reference

## Functions
int | XCfa_CfgInitialize (XCfa *InstancePtr, XCfa_Config *CfgPtr, u32 EffectiveAddr)
| This function initializes the CFA core. More...
void | XCfa_Setup (XCfa *InstancePtr)
| This function sets the input/output frame size in Active Size register and enables the register update. More...
void | XCfa_EnableDbgByPass (XCfa *InstancePtr)
| This sets the bypass bit of the control register to switch the core to bypass mode if debug is enabled in the CFA core. More...
int | XCfa_IsDbgByPassEnabled (XCfa *InstancePtr)
| This function gets the current status of the bypass setting of the CFA core. More...
void | XCfa_DisableDbgBypass (XCfa *InstancePtr)
| This function disables bypass mode of the CFA core. More...
void | XCfa_EnableDbgTestPattern (XCfa *InstancePtr)
| This function sets the test-pattern mode of the CFA core if debug features is enabled. More...
int | XCfa_IsDbgTestPatternEnabled (XCfa *InstancePtr)
| This function gets the test-pattern mode if debug feature is enabled. More...
void | XCfa_DisableDbgTestPattern (XCfa *InstancePtr)
| This function disables the test pattern mode of the CFA core. More...
u32 | XCfa_GetVersion (XCfa *InstancePtr)
| This function gets the Version of the CFA core. More...
u32 | XCfa_GetDbgFrameCount (XCfa *InstancePtr)
| This function gets number of frames processed since power-up or last time the core is reset. More...
u32 | XCfa_GetDbgLineCount (XCfa *InstancePtr)
| This function gets the number of lines processed since power-up or last time the core is reset. More...
u32 | XCfa_GetDbgPixelCount (XCfa *InstancePtr)
| This function gets the number of pixels processed since power-up or last time the core is reset. More...
void | XCfa_SetActiveSize (XCfa *InstancePtr, u16 HSize, u16 VSize)
| This function sets the active H/V sizes in the Active Size register. More...
void | XCfa_GetActiveSize (XCfa *InstancePtr, u16 *HSize, u16 *VSize)
| This function gets the number of Active Pixel per Scan line and number of Active Lines per Frame from the Active Frame Size register. More...
void | XCfa_SetBayerPhase (XCfa *InstancePtr, enum XCfa_BayerPhaseCombination BayerPhase)
| This function specify whether the starting position pixel(0,0) of the Bayer sampling grid is on a red-green or blue-green line and whether the first pixel is green or not. More...
u32 | XCfa_GetBayerPhase (XCfa *InstancePtr)
| This function gets the Bayer phase value combination from Bayer phase register. More...