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
|
-
#define XVTC_CTL 0x000
- Control.
-
#define XVTC_GH0 0x004
- Generator Horizontal Register 0.
-
#define XVTC_GH1 0x008
- Generator Horizontal Register 1.
-
#define XVTC_GH2 0x00C
- Generator Horizontal Register 2.
-
#define XVTC_GV0 0x010
- Generator Vertical Register 0.
-
#define XVTC_GV1 0x014
- Generator Vertical Register 1.
-
#define XVTC_GV2 0x018
- Generator Vertical Register 2.
-
#define XVTC_GV3 0x01C
- Generator Vertical Register 3.
-
#define XVTC_GV4 0x020
- Generator Vertical Register 4.
-
#define XVTC_GV5 0x024
- Generator Vertical Register 5.
-
#define XVTC_DS 0x028
- Detector Status Register.
-
#define XVTC_DH0 0x02C
- Detector Horizontal Register 0.
-
#define XVTC_DH1 0x030
- Detector Horizontal Register 1.
-
#define XVTC_DH2 0x034
- Detector Horizontal Register 2.
-
#define XVTC_DV0 0x038
- Detector Vertical Register 0.
-
#define XVTC_DV1 0x03C
- Detector Vertical Register 1.
-
#define XVTC_DV2 0x040
- Detector Vertical Register 2.
-
#define XVTC_DV3 0x044
- Detector Vertical Register 3.
-
#define XVTC_DV4 0x048
- Detector Vertical Register 4.
-
#define XVTC_DV5 0x04C
- Detector Vertical Register 5.
-
#define XVTC_FS00 0x050
- Frame Sync 00 Config Register.
-
#define XVTC_FS01 0x054
- Frame Sync 01 Config Register.
-
#define XVTC_FS02 0x058
- Frame Sync 02 Config Register.
-
#define XVTC_FS03 0x05C
- Frame Sync 03 Config Register.
-
#define XVTC_FS04 0x060
- Frame Sync 04 Config Register.
-
#define XVTC_FS05 0x064
- Frame Sync 05 Config Register.
-
#define XVTC_FS06 0x068
- Frame Sync 06 Config Register.
-
#define XVTC_FS07 0x06C
- Frame Sync 07 Config Register.
-
#define XVTC_FS08 0x070
- Frame Sync 08 Config Register.
-
#define XVTC_FS09 0x074
- Frame Sync 09 Config Register.
-
#define XVTC_FS10 0x078
- Frame Sync 10 Config Register.
-
#define XVTC_FS11 0x07C
- Frame Sync 11 Config Register.
-
#define XVTC_FS12 0x080
- Frame Sync 12 Config Register.
-
#define XVTC_FS13 0x084
- Frame Sync 13 Config Register.
-
#define XVTC_FS14 0x088
- Frame Sync 14 Config Register.
-
#define XVTC_FS15 0x08C
- Frame Sync 15 Config Register.
-
#define XVTC_GGD 0x090
- Generator Global Delay register.
-
#define XVTC_GVBHO0 0x0A0
- Generator VBlank Hori Offset 0 register.
-
#define XVTC_GVSHO0 0x0A4
- Generator VSync Hori Offset 0 register.
-
#define XVTC_GVBHO1 0x0A8
- Generator VBlank Hori Offset 1 register.
-
#define XVTC_GVSHO1 0x0AC
- Generator VSync Hori Offset 1 register.
-
#define XVTC_DVBHO0 0x0B0
- Detector VBlank Hori Offset 0 register.
-
#define XVTC_DVSHO0 0x0B4
- Detector VSync Hori Offset 0 register.
-
#define XVTC_DVBHO1 0x0B8
- Detector VBlank Hori Offset 1 register.
-
#define XVTC_DVSHO1 0x0BC
- Detector VSync Hori Offset 1 register.
-
#define XVTC_VER 0x0F0
- Version Register.
-
#define XVTC_RESET 0x100
- Reset Register.
-
#define XVTC_GIER 0x21C
- Global Interrupt Enable Register.
-
#define XVTC_ISR 0x220
- Interrupt Status Register.
-
#define XVTC_IER 0x228
- Interrupt Enable Register.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-
#define XVtc_In32 XIo_In32
-
#define XVtc_Out32 XIo_Out32
- #define XVtc_ReadReg(BaseAddress, RegOffset) XVtc_In32((BaseAddress) + (RegOffset))
- Read the given register.
- #define XVtc_WriteReg(BaseAddress, RegOffset, Data) XVtc_Out32((BaseAddress) + (RegOffset), (Data))
- Write the given register.
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)) |