xtimebase_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 Video TimeBase device. More...

#include "xio.h"

Go to the source code of this file.

Defines

Device Register Offsets
Control Register bit definition
TimeBase Generator Horizontal 0
TimeBase Generator Horizontal 1
TimeBase Generator Horizontal 2
TimeBase Generator Vertical 0 (Field 0)
TimeBase Generator Vertical 1 (Field 0)
TimeBase Generator Vertical 2 (Field 0)
TimeBase Generator Vertical 3 (Field 1)
TimeBase Generator Vertical 4 (Field 1)
TimeBase Generator Vertical 5 (Field 1)
TimeBase Detector Status
TimeBase Detector Horizontal 0
TimeBase Detector Horizontal 1
TimeBase Detector Horizontal 2
TimeBase Detector Vertical 0 (Field 0)
TimeBase Detector Vertical 1 (Field 0)
TimeBase Detector Vertical 2 (Field 0)
TimeBase Detector Vertical 3 (Field 1)
TimeBase Detector Vertical 4 (Field 1)
TimeBase Detector Vertical 5 (Field 1)
Timebase Generator Global Delay
Timebase Frame Sync 00 --- 15
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 Video TimeBase device.

For more information about the operation of this device, see the hardware specification and documentation in the higher level driver xtimebase.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 xtimebase_hw.h.


Define Documentation

#define XTB_IXR_ALLINTR_MASK

Value:

Mask for all interrupts.

Definition at line 490 of file xtimebase_hw.h.

#define XTimeBase_ReadReg ( BaseAddress,
RegOffset   )     XTimeBase_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 XTimeBase_ReadReg(u32 BaseAddress, u32 RegOffset)

Definition at line 523 of file xtimebase_hw.h.

#define XTimeBase_WriteReg ( BaseAddress,
RegOffset,
Data   )     XTimeBase_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 XTimeBase_WriteReg(u32 BaseAddress, u32 RegOffset, u32 Data)

Definition at line 542 of file xtimebase_hw.h.


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