Software Drivers

xtpg.c File Reference


Detailed Description

This file contains the implementation of the interface functions for Test Pattern Generator (TPG) driver. Refer to the header file xtpg.h for more detailed information.

 MODIFICATION HISTORY:

 Ver   Who    Date     Changes
 ----- ------ -------- -------------------------------------------------------
 1.00a se     10/01/12 Initial creation.
 2.0   se     01/24/13 Cleaned up comments.
 3.0   adk    02/19/14 Changed the file name form "tpg.c" to "xtpg.c".
                       Implemented the following functions:
                       XTpg_CfgInitialize, XTpg_Setup, XTpg_GetVersion,
                       XTpg_SetActiveSize, XTpg_GetActiveSize,
                       XTpg_SetBackground, XTpg_GetBackground,
                       XTpg_EnableCrossHair, XTpg_DisableCrossHair,
                       XTpg_EnableBox, XTpg_DisableBox, XTpg_SetComponentMask,
                       XTpg_GetComponentMask, XTpg_EnableStuckPixel,
                       XTpg_DisableStuckPixel, XTPg_EnableNoise,
                       XTPg_DisableNoise, XTpg_EnableMotion,
                       XTpg_DisableMotion, XTpg_SetMotionSpeed,
                       XTpg_GetMotionSpeed, XTpg_SetCrosshairPosition,
                       XTpg_GetCrosshairPosition, XTpg_SetZPlateHStart,
                       XTpg_GetZPlateHStart, XTpg_SetZPlateHSpeed,
                       XTpg_GetZPlateHSpeed, XTpg_SetZPlateVStart,
                       XTpg_GetZPlateVStart, XTpg_SetZPlateVSpeed,
                       XTpg_GetZPlateVSpeed, XTpg_SetBoxSize, XTpg_GetBoxSize,
                       XTpg_SetBoxColor, XTpg_GetBoxColor,
                       XTpg_SetStuckPixelThreshold,
                       XTpg_GetStuckPixelThreshold, XTpg_SetNoiseGain,
                       XTpg_GetNoiseGain, XTpg_SetBayerPhase,
                       XTpg_GetBayerPhase, XTpg_SetPattern, XTpg_GetPattern.

 

#include "xtpg.h"

Functions

int XTpg_CfgInitialize (XTpg *InstancePtr, XTpg_Config *CfgPtr, u32 EffectiveAddr)
void XTpg_Setup (XTpg *InstancePtr)
u32 XTpg_GetVersion (XTpg *InstancePtr)
void XTpg_SetActiveSize (XTpg *InstancePtr, u16 HSize, u16 VSize)
void XTpg_GetActiveSize (XTpg *InstancePtr, u16 *HSize, u16 *VSize)
void XTpg_SetBackground (XTpg *InstancePtr, enum XTpg_BackgroundPattern Pattern)
u32 XTpg_GetBackground (XTpg *InstancePtr)
void XTpg_EnableCrossHair (XTpg *InstancePtr)
void XTpg_DisableCrossHair (XTpg *InstancePtr)
void XTpg_EnableBox (XTpg *InstancePtr)
void XTpg_DisableBox (XTpg *InstancePtr)
void XTpg_SetComponentMask (XTpg *InstancePtr, enum XTpg_ComponentMask Mask)
u32 XTpg_GetComponentMask (XTpg *InstancePtr)
void XTpg_EnableStuckPixel (XTpg *InstancePtr)
void XTpg_DisableStuckPixel (XTpg *InstancePtr)
void XTPg_EnableNoise (XTpg *InstancePtr)
void XTPg_DisableNoise (XTpg *InstancePtr)
void XTpg_EnableMotion (XTpg *InstancePtr)
void XTpg_DisableMotion (XTpg *InstancePtr)
void XTpg_SetMotionSpeed (XTpg *InstancePtr, u32 MotionSpeed)
u32 XTpg_GetMotionSpeed (XTpg *InstancePtr)
void XTpg_SetCrosshairPosition (XTpg *InstancePtr, u16 HPos, u16 VPos)
void XTpg_GetCrosshairPosition (XTpg *InstancePtr, u16 *HPos, u16 *VPos)
void XTpg_SetZPlateHStart (XTpg *InstancePtr, u16 ZPlateHStart)
u16 XTpg_GetZPlateHStart (XTpg *InstancePtr)
void XTpg_SetZPlateHSpeed (XTpg *InstancePtr, u16 ZPlateHSpeed)
u16 XTpg_GetZPlateHSpeed (XTpg *InstancePtr)
void XTpg_SetZPlateVStart (XTpg *InstancePtr, u16 ZPlateVStart)
u16 XTpg_GetZPlateVStart (XTpg *InstancePtr)
void XTpg_SetZPlateVSpeed (XTpg *InstancePtr, u16 ZPlateVSpeed)
u16 XTpg_GetZPlateVSpeed (XTpg *InstancePtr)
int XTpg_SetBoxSize (XTpg *InstancePtr, u32 BoxSize)
u32 XTpg_GetBoxSize (XTpg *InstancePtr)
void XTpg_SetBoxColor (XTpg *InstancePtr, u16 Blue, u16 Green, u16 Red)
void XTpg_GetBoxColor (XTpg *InstancePtr, u16 *Blue, u16 *Green, u16 *Red)
void XTpg_SetStuckPixelThreshold (XTpg *InstancePtr, u32 PixelThreshold)
u32 XTpg_GetStuckPixelThreshold (XTpg *InstancePtr)
void XTpg_SetNoiseGain (XTpg *InstancePtr, u32 NoiseGain)
u32 XTpg_GetNoiseGain (XTpg *InstancePtr)
void XTpg_SetBayerPhase (XTpg *InstancePtr, enum XTpg_BayerPhaseCombination BayerPhaseComb)
u32 XTpg_GetBayerPhase (XTpg *InstancePtr)
void XTpg_SetPattern (XTpg *InstancePtr, u32 Pattern)
u32 XTpg_GetPattern (XTpg *InstancePtr)


Function Documentation

int XTpg_CfgInitialize ( XTpg InstancePtr,
XTpg_Config CfgPtr,
u32  EffectiveAddr 
)

This function initializes the TPG core. This function must be called prior to using the TPG core. Initialization of the TPG includes setting up the instance data and ensuring the hardware is in a quiescent state.

Parameters:
InstancePtr is a pointer to the XTpg instance.
CfgPtr is a reference to a structure containing information about a specific XTpg instace.
EffectiveAddr is the core base address in the virtual memory address space. The caller is responsible for keeping the address mapping from EffectiveAddr to the core physical base address unchanged once this function is invoked. Unexpected errors may occur if the address mapping changes after this function is called. If address translation is not used, pass in the physical address instead.
Returns:
- XST_SUCCESS if XTpg instance initialization was successful.
Note:
None.

void XTpg_DisableBox ( XTpg InstancePtr  ) 

This function disables the Moving Box feature in the Pattern Control Register of the TPG core.

Parameters:
InstancePtr is a pointer to the XTpg instance.
Returns:
None.
Note:
None.

void XTpg_DisableCrossHair ( XTpg InstancePtr  ) 

This function disables the drawing of Cross Hairs feature in the Pattern Control Register of the TPG core.

Parameters:
InstancePtr is a pointer to the XTpg instance.
Returns:
None.
Note:
None.

void XTpg_DisableMotion ( XTpg InstancePtr  ) 

This function disables the Motion feature in the Pattern Control register of the TPG core.

Parameters:
InstancePtr is a pointer to the XTpg instance.
Returns:
None.
Note:
None.

void XTPg_DisableNoise ( XTpg InstancePtr  ) 

This function disables the Noise on the output by disabling this feature in Pattern Control register of the TPG core.

Parameters:
InstancePtr is a pointer to the XTpg instance.
Returns:
None.
Note:
None.

void XTpg_DisableStuckPixel ( XTpg InstancePtr  ) 

This function disables the Stuck Pixel feature in the Pattern Control register of the TPG core.

Parameters:
InstancePtr is a pointer to the XTpg instance.
Returns:
None.
Note:
None.

void XTpg_EnableBox ( XTpg InstancePtr  ) 

This function enables the Moving Box feature in the Pattern Control Register of the TPG core.

Parameters:
InstancePtr is a pointer to the XTpg instance.
Returns:
None.
Note:
  • XTpg_SetBoxSize API should be used for setting box size.
  • XTpg_SetBoxColor API should be used for setting box color.

void XTpg_EnableCrossHair ( XTpg InstancePtr  ) 

This function enables the drawing of Cross Hairs feature in the Pattern Control Register of the TPG core.

Parameters:
InstancePtr is a pointer to the XTpg instance.
Returns:
None.
Note:
To draw the Cross Hairs, the position of drawing must be set by using XTpg_SetCrosshairPosition.

void XTpg_EnableMotion ( XTpg InstancePtr  ) 

This function enables the Motion Feature in the Pattern Control register of the TPG core.

Parameters:
InstancePtr is a pointer to the XTpg instance.
Returns:
None.
Note:
None.

void XTPg_EnableNoise ( XTpg InstancePtr  ) 

This function enables the Noise on the output by setting value in Pattern Control register of the TPG core.

Parameters:
InstancePtr is a pointer to the XTpg instance.
Returns:
None.
Note:
XTpg_SetNoiseGain API should be used to increase or decrease the noise produced on the output.

void XTpg_EnableStuckPixel ( XTpg InstancePtr  ) 

This function enables the Stuck Pixel Feature in the Pattern Control Register of the TPG core.

Parameters:
InstancePtr is a pointer to the XTpg instance.
Returns:
None.
Note:
XTpg_SetStuckPixelThreshold API should be used to set Stuck Pixel threshold value.

void XTpg_GetActiveSize ( XTpg 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 Size register.

Parameters:
InstancePtr is a pointer to the XTpg instance.
HSize is a pointer to 16-bit variable in which the number of Active Pixels per Scan Line is returned. (Range is 32 to 7680).
VSize is a pointer to 16-bit variable in which the number of Active Lines per Frame is returned. (Range is 32 to 7680).
Returns:
None.
Note:
None.

u32 XTpg_GetBackground ( XTpg InstancePtr  ) 

This function gets the background pattern for TPG core.

Parameters:
InstancePtr is a pointer to the XTpg instance.
Returns:
Background pattern is returned. The enum values for corresponding Background pattern value is
  • 0x0 XTPG_PASS_THROUGH- Pass video input straight video output
  • 0x1 XTPG_H_RAMP - Horizontal ramp
  • 0x2 XTPG_V_RAMP - Vertical ramp
  • 0x3 XTPG_R_RAMP - Temporal ramp
  • 0x4 XTPG_RED_PLANE - Solid red output
  • 0x5 XTPG_GREEN_PLANE - Solid green output
  • 0x6 XTPG_BLUE_PLANE - Solid blue output
  • 0x7 XTPG_BLACK_PLANE - Solid black output
  • 0x8 XTPG_WHITE_PLANE - Solid white output
  • 0x9 XTPG_COLOR_BARS - Color bars
  • 0xA XTPG_ZONE_PLATE - Zone plate output (sinusoidal)
  • 0xB XTPG_TARAN_BARS - Tartan color bars
  • 0xC XTPG_CROSS_HATCH - Cross hatch pattern
  • 0xE XTPG_HV_RAMP - Horizontal vertical ramp
  • 0xF XTPG_BLACK_AND_WHITE_CHECKERBOARD - Black and white checker board
Note:
None.

u32 XTpg_GetBayerPhase ( XTpg InstancePtr  ) 

This function returns the Bayer phase value which indicates starting pixel position.

Parameters:
InstancePtr is a pointer to the XTpg instance.
Returns:
BayerPhase is the starting pixel indicator is returned. Corresponding enum values for Bayer Phase are:
  • Bayer Phase 0 - XTPG_BAYER_PHASE_RGRG.
  • Bayer Phase 1 - XTPG_BAYER_PHASE_GRGR.
  • Bayer Phase 2 - XTPG_BAYER_PHASE_GBGB.
  • Bayer Phase 3 - XTPG_BAYER_PHASE_BGBG.
  • Bayer Phase 4 - XTPG_BAYER_PHASE_TURNOFF.
  • It is a double buffered register.
Note:
None.

void XTpg_GetBoxColor ( XTpg InstancePtr,
u16 *  Blue,
u16 *  Green,
u16 *  Red 
)

This function gets the color components of the box in the Box Color register of the TPG core.

Parameters:
InstancePtr is a pointer to the XTpg instance.
Blue is a pointer to 16 bit color component of the box in which blue or Y (for YCbCr mode) is returned.
Green is a pointer to 16 bit color component of the box in which Green or Cr (for YCbCr mode) is returned.
Red is a pointer to 16 bit color component of the box in which Red or Cb (for YCbCr mode) is returned.
Returns:
None.
Note:
None.

u32 XTpg_GetBoxSize ( XTpg InstancePtr  ) 

This function gets the Box Size in pixel.

Parameters:
InstancePtr is a pointer to the XTpg instance.
Returns:
BoxSize is the size of a box in pixel.
Note:
None.

u32 XTpg_GetComponentMask ( XTpg InstancePtr  ) 

This function returns the color component mask status in the Pattern Control Register.

Parameters:
InstancePtr is a pointer to the XTpg instance.
Returns:
Color component value is returned. Corresponding enum values for Color component value is
  • 0x0 XTPG_NOMASK - No masking.
  • 0x1 XTPG_MASKOUT_RED - Mask out red, Cr(for YCbCr mode) component.
  • 0x2 XTPG_MASKOUT_GREE- Mask out green,N Y(for YCbCr mode) component.
  • 0x4 XTPG_MASKOUT_BLUE- Mask out blue, Cb(for YCbCr mode) component.
Note:
None.

void XTpg_GetCrosshairPosition ( XTpg InstancePtr,
u16 *  HPos,
u16 *  VPos 
)

This function gets the cross hair positions.

Parameters:
InstancePtr is a pointer to the XTpg instance.
HPos is the row of the frame that will have horizontal line of Cross Hairs is returned.
VPos is the column of the frame that will have vertical line of Cross Hairs is returned.
Returns:
None.

u32 XTpg_GetMotionSpeed ( XTpg InstancePtr  ) 

This function gets the Motion Speed.

Parameters:
InstancePtr is a pointer to the XTpg instance.
Returns:
MotionSpeed, which indicates the speed that affects on test pattern changes from frame to frame is returned.
Note:
None.

u32 XTpg_GetNoiseGain ( XTpg InstancePtr  ) 

This function gets the noise gain of each component of TPG core.

Parameters:
InstancePtr is a pointer to the XTpg instance.
Returns:
NoiseGain is a value to increase the noise added to each component.
Note:
None.

u32 XTpg_GetPattern ( XTpg InstancePtr  ) 

This function returns the contents of the Pattern Control Register.

Parameters:
InstancePtr is a pointer to the XTpg instance.
Returns:
Contents of the Pattern Control Register is returned.
Note:
None.

u32 XTpg_GetStuckPixelThreshold ( XTpg InstancePtr  ) 

This function gets the stuck pixel threshold in the STUCK_PIXEL_THRESH register of the TPG core.

Parameters:
InstancePtr is a pointer to the XTpg instance.
Returns:
Stuck pixel threshold is an upper limit for PRNG for insertion of stuck pixel is returned.
Note:
None.

u32 XTpg_GetVersion ( XTpg InstancePtr  ) 

This function returns the contents of the Version register of the TPG core.

Parameters:
InstancePtr is a pointer to the XTpg instance to be worked on.
Returns:
Content of Version register is returned.
Note:
None.

u16 XTpg_GetZPlateHSpeed ( XTpg InstancePtr  ) 

This function gets how fast (the speed of) horizontal component changes.

Parameters:
InstancePtr is a pointer to the XTpg instance.
Returns:
ZPlateHSpeed is speed of the horizontal component changes is returned.
Note:
None.

u16 XTpg_GetZPlateHStart ( XTpg InstancePtr  ) 

This function gets a starting point in the ROM based sinusoidal values for the horizontal component.

Parameters:
InstancePtr is a pointer to the XTpg instance.
Returns:
ZPlateHStart is starting point in the ROM based sinusoidal value for horizontal component is returned.
Note:
None.

u16 XTpg_GetZPlateVSpeed ( XTpg InstancePtr  ) 

This function gets how fast (the speed of) the vertical component changes.

Parameters:
InstancePtr is a pointer to the XTpg instance.
Returns:
ZPlateVSpeed is a 16 bit variable the speed of the vertical component changes is returned.
Note:
None.

u16 XTpg_GetZPlateVStart ( XTpg InstancePtr  ) 

This function gets a starting point in the ROM based sinusoidal values for the vertical component.

Parameters:
InstancePtr is a pointer to the XTpg instance.
Returns:
ZPlateVStart is starting point in the ROM based sinusoidal value for vertical component is returned.
Note:
None.

void XTpg_SetActiveSize ( XTpg InstancePtr,
u16  HSize,
u16  VSize 
)

This function sets the active H/V sizes in the Active Size register.

Parameters:
InstancePtr is a pointer to the XTpg instance.
HSize specifies the number of Active Pixels per Scan Line that needs to be set (Range is 32 to 7680).
VSize specifies the number of Active Lines per Frame that needs to be set (Range is 32 to 7680).
Returns:
None.
Note:
None.

void XTpg_SetBackground ( XTpg InstancePtr,
enum XTpg_BackgroundPattern  Pattern 
)

This function sets the background pattern in the Pattern Control Register.

Parameters:
InstancePtr is a pointer to the XTpg instance.
Pattern is the pattern to be generated. The enum values to be used for the patterns are :
  • XTPG_PASS_THROUGH- Pass video input straight through the video output
  • XTPG_H_RAMP - Horizontal ramp
  • XTPG_V_RAMP - Vertical ramp
  • XTPG_R_RAMP - Temporal ramp
  • XTPG_RED_PLANE - Solid red output
  • XTPG_GREEN_PLANE - Solid green output
  • XTPG_BLUE_PLANE - Solid blue output
  • XTPG_BLACK_PLANE - Solid black output
  • XTPG_WHITE_PLANE - Solid white output
  • XTPG_COLOR_BARS - Color bars
  • XTPG_ZONE_PLATE - Zone plate output(sinusoidal)
  • XTPG_TARAN_BARS - Tartan color bars
  • XTPG_CROSS_HATCH - Cross hatch pattern
  • XTPG_HV_RAMP - Horizontal vertical ramp
  • XTPG_BLACK_AND_WHITE_CHECKERBOARD - Black and white checker board
Returns:
None.
Note:
None.

void XTpg_SetBayerPhase ( XTpg InstancePtr,
enum XTpg_BayerPhaseCombination  BayerPhaseComb 
)

This function specifies or sets 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.

Parameters:
InstancePtr is a pointer to the XTpg instance.
BayerPhaseComb is Bayer phase value to be set to identify starting pixel position. The enum values of Bayer phase are
  • Bayer Phase 0 - XTPG_BAYER_PHASE_RGRG.
  • Bayer Phase 1 - XTPG_BAYER_PHASE_GRGR.
  • Bayer Phase 2 - XTPG_BAYER_PHASE_GBGB.
  • Bayer Phase 3 - XTPG_BAYER_PHASE_BGBG.
  • Bayer Phase 4 - XTPG_BAYER_PHASE_TURNOFF.
  • It is a double buffered register.
Returns:
None.
Note:
None.

void XTpg_SetBoxColor ( XTpg InstancePtr,
u16  Blue,
u16  Green,
u16  Red 
)

This function sets the color components of the box in the Box Color register of the TPG core.

Parameters:
InstancePtr is a pointer to the XTpg instance.
Blue is the color component of the box which needs to be set.
Green is the color component of the box which needs to be set.
Red is the color component of the box which needs to be set.
Returns:
None.
Note:
XTpg_EnableBox API should be used to enable the Box feature.

int XTpg_SetBoxSize ( XTpg InstancePtr,
u32  BoxSize 
)

This function sets the Box Size.

Parameters:
InstancePtr is a pointer to the XTpg instance.
BoxSize is size of the box in pixel.
Returns:
-XST_SUCCESS if BoxSize is less than active size. -XST_FAILURE if BoxSize is greater than active size.
Note:
  • The size of the box has to be set smaller than the frame size that is set in the ACTIVE_SIZE register.
  • XTpg_EnableBox API should be used to enable the Box feature.

void XTpg_SetComponentMask ( XTpg InstancePtr,
enum XTpg_ComponentMask  Mask 
)

This function masks out the specified color component by setting the Pattern Control Register of the TPG core.

Parameters:
InstancePtr is a pointer to the XTpg instance.
Mask specifies the ComponentMask that needs to be set. the enum values as
  • XTPG_NOMASK, - No masking.
  • XTPG_MASKOUT_RED, - Mask out red, Cr(for YCbCr mode) component.
  • XTPG_MASKOUT_GREEN, - Mask out green, Y(for YCbCr mode) component.
  • XTPG_MASKOUT_BLUE - Mask out blue, Cb(for YCbCr mode) component.
Returns:
None.
Note:
None.

void XTpg_SetCrosshairPosition ( XTpg InstancePtr,
u16  HPos,
u16  VPos 
)

This function sets the Cross Hairs Positions.

Parameters:
InstancePtr is a pointer to the XTpg instance.
HPos is the row of the frame that will have horizontal line of Cross Hairs that need to be set.
VPos is the column of the frame that will have vertical line of Cross Hairs that need to be set.
Returns:
None.
Note:
Cross hair feature should be enabled by using the API XTpg_EnableCrossHair

void XTpg_SetMotionSpeed ( XTpg InstancePtr,
u32  MotionSpeed 
)

This function sets the Motion Speed.

Parameters:
InstancePtr is a pointer to the XTpg instance.
MotionSpeed is how fast the temporal features of supported test pattern changes from frame to frame which need to be set. Range is 0 to 255.
Returns:
None.
Note:
None.

void XTpg_SetNoiseGain ( XTpg InstancePtr,
u32  NoiseGain 
)

This function sets the noise gain in Noise Gain register of the TPG core.

Parameters:
InstancePtr is a pointer to the XTpg instance.
NoiseGain is a value to increase the noise added to each component which needs to be set.
Returns:
None.
Note:
- XTPg_EnableNoise API should be used to enable Noise feature.

void XTpg_SetPattern ( XTpg InstancePtr,
u32  Pattern 
)

This function sets the Pattern Control Register of TPG core.

Parameters:
InstancePtr is a pointer to the XTpg instance.
Pattern is the 32 bit value to be written to the Pattern Control Register.
Returns:
None.
Note:
This API is used for writing the complete Pattern Control Register. Use the following APIs for the individual patterns separately
  • XTpg_SetBackground
  • XTpg_EnableCrossHair
  • XTpg_DisableCrossHair
  • XTpg_EnableBox
  • XTpg_DisableBox
  • XTpg_SetComponentMask
  • XTpg_EnableStuckPixel
  • XTpg_DisableStuckPixel
  • XTPg_EnableNoise
  • XTPg_DisableNoise
  • XTpg_EnableMotion
  • XTpg_DisableMotion

void XTpg_SetStuckPixelThreshold ( XTpg InstancePtr,
u32  PixelThreshold 
)

This function sets the stuck pixel threshold in STUCK_PIXEL_THRESH register of the TPG core.

Parameters:
InstancePtr is a pointer to the XTpg instance.
PixelThreshold is an upper limit for PRNG for insertion of stuck pixel which needs to be set.
Returns:
None.
Note:
- XTpg_EnableStuckPixel API should be used to enable Stuck Pixel threshold value.

void XTpg_Setup ( XTpg InstancePtr  ) 

This function sets the input/output frame size in Active Size register and enables the register update.

Parameters:
InstancePtr is a pointer to the XTpg instance.
Returns:
None.
Note:
None.

void XTpg_SetZPlateHSpeed ( XTpg InstancePtr,
u16  ZPlateHSpeed 
)

This function sets how fast (the speed of) the horizontal component changes.

Parameters:
InstancePtr is a pointer to the XTpg instance.
ZPlateHSpeed is the speed of the horizontal component changes which need to be set.
Returns:
None.
Note:
None.

void XTpg_SetZPlateHStart ( XTpg InstancePtr,
u16  ZPlateHStart 
)

This function sets a starting point in the ROM based sinusoidal values for the horizontal component.

Parameters:
InstancePtr is a pointer to the XTpg instance.
ZPlateHStart is starting point in the ROM based sinusoidal value for horizontal component.
Returns:
None.
Note:
None.

void XTpg_SetZPlateVSpeed ( XTpg InstancePtr,
u16  ZPlateVSpeed 
)

This function sets how fast (the speed of) the vertical component changes.

Parameters:
InstancePtr is a pointer to the XTpg instance.
ZPlateVSpeed is the speed of the vertical component changes which need to be set.
Returns:
None.
Note:
None.

void XTpg_SetZPlateVStart ( XTpg InstancePtr,
u16  ZPlateVStart 
)

This function sets a starting point in the ROM based sinusoidal values for the vertical component.

Parameters:
InstancePtr is a pointer to the XTpg instance.
ZPlateVStart is starting point in the ROM based sinusoidal value for vertical component which need to be set.
Returns:
None.
Note:
None.

Copyright @ 1995-2014 Xilinx, Inc. All rights reserved.