gamma: gamma.h File Reference

| gamma Xilinx SDK Drivers API Documentation

- Overview
- APIs
- File List
- Examples

Macros
gamma.h File Reference

## Macros
#define | GAMMA_CONTROL 0x000
| Register Offsets. More...
#define | GAMMA_STATUS 0x004
| Status. More...
#define | GAMMA_ERROR 0x008
| Error. More...
#define | GAMMA_IRQ_EN 0x00C
| IRQ Enable. More...
#define | GAMMA_VERSION 0x010
| Version. More...
#define | GAMMA_SYSDEBUG0 0x014
| System Debug 0. More...
#define | GAMMA_SYSDEBUG1 0x018
| System Debug 1. More...
#define | GAMMA_SYSDEBUG2 0x01C
| System Debug 2. More...
#define | GAMMA_ACTIVE_SIZE 0x020
| Active Size (V x H) More...
#define | GAMMA_TIMING_STATUS 0x024
| Timing Measurement Status. More...
#define | GAMMA_TABLE_UPDATE 0x100
| Swap to inactive LUT. More...
#define | GAMMA_ADDR_DATA 0x104
| Address and Data register. More...
#define | GAMMA_CTL_EN_MASK 0x00000001
| Gamma Enable. More...
#define | GAMMA_CTL_RUE_MASK 0x00000002
| Gamma Register Update Enable. More...
#define | GAMMA_CTL_BPE_MASK 0x00000010
| Gamma ByPass Enable. More...
#define | GAMMA_CTL_TPE_MASK 0x00000020
| Gamma Test Pattern Enable. More...
#define | GAMMA_RST_RESET 0x80000000
| Software Reset - Instantaneous. More...
#define | GAMMA_RST_AUTORESET 0x40000000
| Software Reset - Auto-synchronize to SOF. More...
#define | GAMMA_Enable(BaseAddress)
| This macro enables a instance. More...
#define | GAMMA_Disable(BaseAddress)
| This macro disables a Gamma instance. More...
#define | GAMMA_RegUpdateEnable(BaseAddress)
| This macro tells a Gamma instance to pick up all the register value changes made so far by the software. More...
#define | GAMMA_RegUpdateDisable(BaseAddress)
| This macro tells a Gamma instance not to update it's configuration registers made so far by the software. More...
#define | GAMMA_BypassEnable(BaseAddress)
| This macro enables Bypass mode. More...
#define | GAMMA_BypassDisable(BaseAddress)
| This macro disables Bypass mode. More...
#define | GAMMA_TestPatternEnable(BaseAddress)
| This macro enables Test Pattern Input. More...
#define | GAMMA_TestPatternDisable(BaseAddress)
| This macro disables Test Pattern Input. More...
#define | GAMMA_Reset(BaseAddress) GAMMA_WriteReg(BaseAddress, GAMMA_CONTROL, GAMMA_RST_RESET) \
| This macro resets a Gamma instance. More...
#define | GAMMA_ClearReset(BaseAddress) GAMMA_WriteReg(BaseAddress, GAMMA_CONTROL, 0) \
| This macro clears the Gamma's reset flag (which is set using GAMMA_Reset(), and returns it to normal operation. More...
#define | GAMMA_AutoSyncReset(BaseAddress) GAMMA_WriteReg(BaseAddress, GAMMA_CONTROL, GAMMA_RST_AUTORESET) \
| This macro resets a Gamma instance, but differs from GAMMA_Reset() in that it automatically synchronizes to the VBlank_in input of the core to prevent tearing. More...
#define | GAMMA_ReadReg(BaseAddress, RegOffset) GAMMA_In32((BaseAddress) + (RegOffset))
| Read the given register. More...
#define | GAMMA_WriteReg(BaseAddress, RegOffset, Data) GAMMA_Out32((BaseAddress) + (RegOffset), (Data))
| Write the given register. More...