dual_splitter: xdualsplitter_hw.h File Reference

| dual_splitter Xilinx SDK Drivers API Documentation

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

Macros
xdualsplitter_hw.h File Reference

## Macros
#define | XDUALSPLITTER_HW_H_
| Prevent circular inclusions by using protection macros. More...
Core registers offsets
#define | XDUSP_GENR_CTL_OFFSET 0x0000
| General Control register offset. More...
#define | XDUSP_GENR_ERR_OFFSET 0x0008
| General Error register offset. More...
#define | XDUSP_IRQ_EN_OFFSET 0x000C
| IRQ Enable register offset. More...
#define | XDUSP_TIME_CTL_OFFSET 0x0020
| Time Control register offset. More...
#define | XDUSP_CORE_CTL_OFFSET 0x0100
| Core Control register offset. More...
General control register bit masks
#define | XDUSP_GENR_CTL_EN_MASK 0x00000001
| Enable mask. More...
#define | XDUSP_GENR_CTL_RUE_MASK 0x00000002
| Register update enable mask. More...
#define | XDUSP_GENR_CTL_RST_MASK 0x80000000
| Reset mask. More...
Error register bit masks
#define | XDUSP_ERR_EOL_EARLY_MASK 0x00000001
| Error: End of line early mask. More...
#define | XDUSP_ERR_EOL_LATE_MASK 0x00000002
| Error: End of line late mask. More...
#define | XDUSP_ERR_SOF_EARLY_MASK 0x00000004
| Error: Start of frame early mask. More...
#define | XDUSP_ERR_SOF_LATE_MASK 0x00000008
| Error: Start of frame late mask. More...
#define | XDUSP_ALL_ERR_MASK
| All error mask. More...
Time control register bit masks and shifts
#define | XDUSP_TIME_CTL_WIDTH_MASK 0x0000FFFF
| Image width mask. More...
#define | XDUSP_TIME_CTL_HEIGHT_MASK 0xFFFF0000
| Image height mask. More...
#define | XDUSP_TIME_CTL_HEIGHT_SHIFT 16
| Image height shift. More...
Core control register masks and shifts
#define | XDUSP_CORE_CTL_IN_SAMPLES_MASK 0x000000FF
| Input samples mask. More...
#define | XDUSP_CORE_CTL_OUT_SAMPLES_MASK 0x0000FF00
| Output samples mask. More...
#define | XDUSP_CORE_CTL_IMG_SEG_MASK 0x00FF0000
| No of image segments mask. More...
#define | XDUSP_CORE_CTL_OVRLAP_SEG_MASK 0xFF000000
| No of over- lapping segments mask. More...
#define | XDUSP_CORE_CTL_OUT_SAMPLES_SHIFT 8
| Output samples shift. More...
#define | XDUSP_CORE_CTL_IMG_SEG_SHIFT 16
| No of image segments shift. More...
#define | XDUSP_CORE_CTL_OVRLAP_SEG_SHIFT 24
| No of overlapping segments shift. More...
Device register I/O APIs
#define | XDualSplitter_In32 Xil_In32
| Input operation. More...
#define | XDualSplitter_Out32 Xil_Out32
| Output operation. More...
#define | XDualSplitter_ReadReg(BaseAddress, RegOffset) XDualSplitter_In32((BaseAddress) + (u32)(RegOffset))
| This macro reads a value from a Dual Splitter core's register. More...
#define | XDualSplitter_WriteReg(BaseAddress, RegOffset, Data) XDualSplitter_Out32((BaseAddress) + (u32)(RegOffset), (Data))
| This macro writes a value into a Dual Splitter core's register. More...