⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 app_cfg.h

📁 IT projecotr reference design.
💻 H
📖 第 1 页 / 共 2 页
字号:
/****************************************************************************/
/*             TEXAS INSTRUMENTS PROPRIETARY INFORMATION                    */
/*                                                                          */
/*  (c) Copyright, Texas Instruments Incorporated, 2006.                    */
/*      All Rights Reserved.                                                */
/*                                                                          */
/*  Property of Texas Instruments Incorporated. Restricted Rights -         */
/*  Use, duplication, or disclosure is subject to restrictions set          */
/*  forth in TI's program license agreement and associated documentation.   */
/****************************************************************************/

/****************************************************************************/
/* appCfg.h                                                                 */
/****************************************************************************/


#ifndef __APPCFG_H
#define __APPCFG_H

#include "common.h"


#define NUM_CONNECTORS      5
#define NUM_USERSETTINGS    3
#define NUM_HSG_COLORS      6

        
/****************************************************************************/
/* EEPROM Settings structure definition.                                    */
/****************************************************************************/
                        
typedef struct settingsstruct
{
    struct layoutversionstruct
    {
        uint08 Subminor;
        uint08 Minor;
        uint08 Major;
        uint08 Reserved;
    } Version;
    
    struct machinedatastruct
    {
        struct connectorsettingsstruct
        {
            int16    Brightness;
            int16    Contrast;
            int16    Hue;
            int16    Color;
            int16    Sharpness;
            uint08   ColorSpace;
            uint08   Gamma;
            uint08   WhitePeaking;
            uint08   NoiseReduction;
            uint08   Overscan;
            uint08   BrilliantColorLook;
            uint08   VideoStandard;         
               
            struct colorvaluesstruct
            {
                int16 Hue;
                int16 Saturation;
                int16 Gain;
            }  HSGColorValues[NUM_HSG_COLORS];
            
            int16    HSGWhiteRedGain;
            int16    HSGWhiteGreenGain;
            int16    HSGWhiteBlueGain;
            
        } ConnectorSettings[NUM_CONNECTORS];
                
        struct alcsavemodetablestruct
        {
        	uint08 VsyncPolarity_C;			/**< Please see the data type ALC_SignalPolarityEnum for valid entries. */		
        	uint08 HsyncPolarity_C;			/**< Please see the data type ALC_SignalPolarityEnum for valid entries. */
        	uint08 SyncType_C;				/**< Bit 0 = Separate V & H <BR>
                                                 Bit 1 = Sync on Green <BR>
                                                 Bit 2 = Composite <BR>
                                                 Multiple sync types can be selected. 
                                                 If no flags are set, then it implies a don't care. */
        	uint08 Flags_C;                 /**< Bit 0 = Interlaced? <BR>
                                                 Bit 1 = Spare <BR>
                                                 Bit 2 = Spare <BR> */
        	uint16 LinesPerFrame_C;
        	uint16 LinesPerFrameMargin_C;
        	uint16 LineTimeInNS_C;
        	uint16 LineTimeInNSMargin_C;
        	uint16 TISpare1;
        	uint16 TISpare2;
        	uint16 TISpare3;
        	uint08 TISpare4;
        	uint08 TISpare5;
        	uint08 TISpare6;
        	uint08 TISpare7;
        	uint08 TISpare8;								
        	uint08 TISpare9;
        	uint16 OEMSpare1;
        	uint16 OEMSpare2;
        	uint16 ActiveLeftPixel_R;
        	uint16 ActiveRightPixel_R;
        	uint16 ActiveTopLine_R;
        	uint16 ActiveBottomLine_R;
        	uint16 ADCSampleClock_R;		
        	uint16 NativeHRes_R;
        	uint08 PhaseSetting_R;
        	uint08 Flags_R;                 /**< Bit 0 = YUV? <BR>
                                                 Bit 1 = HDTV? <BR>
                                                 Bit 2 = ComponentVideo? <BR>
                                                 Bit 3 = Spare <BR>
                                                 Bit 4 = Spare <BR> */
        	uint08 TISpare10;               //Previously SequenceNumber;
            uint08 Flags;                   /**< Bit 0 = Spare <BR>
                                                 Bit 1 = Use Stored Phase <BR>
                                                 Bit 2 = Rerun Framing <BR>
                                                 Bit 3 = Spare <BR>
                                                 Bit 4 = Spare <BR> */
        } UserSettings[NUM_USERSETTINGS];
        
        struct Calibrationdatastruct
        {
            uint16  RedOffset;
            uint16  GreenOffset;
            uint16  BlueOffset;
            uint16  RedGain;
            uint16  GreenGain;
            uint16  BlueGain;
            uint16  RedMidLevelOffset;
            uint16  BlueMidLevelOffset;
            uint16 	Reserved1;
        } Cal_Data;
        
        struct projectorsettings
        {
            int16   ImageOffset;
            int16   ImageSizeManualSteps;
            uint08  ImageSizeEnum;
            uint08  AspectRatio;
            uint08  LastSource;
            uint08  Language;
            uint08  AutoKeystone;
            uint08  BlankScreenColor;
            uint08  AutoSourceSelect;
            uint08  RearProjection;
            uint08  CeilingMount;
            uint08  SplashSource;           /* 0 = OEM, 1 = USER */
            uint08  Reserved3;
            uint08  Fade;
            uint16  KeystonePitch;
            uint16  Reserved4;
            uint16  Reserved5;
        } Projector;
        
    } UserMachine;
    
    struct systemdatastruct
    {
        uint16 	LampTime[4];
        uint32 	CW_Calibration;		
        uint32 	DebugMsgMask;
    } UserSystem;
    
} EEPROM;



/****************************************************************************/
/* App default setting structure definition.                                */
/****************************************************************************/
                        
typedef struct defaultsStruct
{
    struct sysDefaultStruct
    {
        uint08  EnableASICEmergencyShutdown;
        uint08  StartupState;           /* 0= Norm; 1= Standby; 2= LowPower */
        uint08  EnableWatchdog;
        uint08  SSEnable;                /* enable spread spectrum clocking */
        uint16  WatchdogInterval;                           /* milliseconds */
    } System;
    
    struct illumDefaultStruct

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -