xvtc_hw.h File Reference

This header file contains identifiers and register-level driver functions (or macros) that can be used to access the Xilinx MVI VTC device. More...

#include "xio.h"

Go to the source code of this file.

Defines

Device Register Offsets
Control Register bit definition
VTC Generator Horizontal 0
VTC Generator Horizontal 1
VTC Generator Horizontal 2
VTC Generator Vertical 0 (Field 0)
VTC Generator Vertical 1 (Field 0)
VTC Generator Vertical 2 (Field 0)
VTC Generator Vertical 3 (Field 1)
VTC Generator Vertical 4 (Field 1)
VTC Generator Vertical 5 (Field 1)
VTC Detector Status
VTC Detector Horizontal 0
VTC Detector Horizontal 1
VTC Detector Horizontal 2
VTC Detector Vertical 0 (Field 0)
VTC Detector Vertical 1 (Field 0)
VTC Detector Vertical 2 (Field 0)
VTC Detector Vertical 3 (Field 1)
VTC Detector Vertical 4 (Field 1)
VTC Detector Vertical 5 (Field 1)
VTC Frame Sync 00 --- 15
VTC Generator Global Delay
VTC Generator/Detector VBlank/VSync Hori. Offset registers
Reset Register bit definition
Version Register bit definition
Global Interrupt Enable Register bit definition
Interrupt Status/Enable Register bit definition
Register Access Macro Definition

Detailed Description

This header file contains identifiers and register-level driver functions (or macros) that can be used to access the Xilinx MVI VTC device.

For more information about the operation of this device, see the hardware specification and documentation in the higher level driver xvtc.h source code file.

 MODIFICATION HISTORY:

 Ver	Who	Date		Changes
 -----	----	--------	-----------------------------------------------
 1.00a	xd	08/05/08	First release
 1.01a	xd	07/23/10	Added GIER; Added more h/w generic info into
				xparameters.h; Feed callbacks with pending
				interrupt info. Added Doxygen & Version support
 

Definition in file xvtc_hw.h.


Define Documentation

#define XVTC_IXR_ALLINTR_MASK

Value:

Mask for all interrupts.

Definition at line 508 of file xvtc_hw.h.

#define XVtc_ReadReg ( BaseAddress,
RegOffset   )     XVtc_In32((BaseAddress) + (RegOffset))

Read the given register.

Parameters:
BaseAddress is the base address of the device
RegOffset is the register offset to be read
Returns:
The 32-bit value of the register
Note:
C-style signature: u32 XVtc_ReadReg(u32 BaseAddress, u32 RegOffset)

Definition at line 543 of file xvtc_hw.h.

#define XVtc_WriteReg ( BaseAddress,
RegOffset,
Data   )     XVtc_Out32((BaseAddress) + (RegOffset), (Data))

Write the given register.

Parameters:
BaseAddress is the base address of the device
RegOffset is the register offset to be written
Data is the 32-bit value to write to the register
Returns:
None.
Note:
C-style signature: void XVtc_WriteReg(u32 BaseAddress, u32 RegOffset, u32 Data)

Definition at line 562 of file xvtc_hw.h.


Copyright © 1995-2011 Xilinx, Inc. All rights reserved.