You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
87 lines
3.8 KiB
87 lines
3.8 KiB
// $Header: G:/SwDev/WDM/Video/bt848/rcs/Constr.h 1.3 1998/04/29 22:43:31 tomz Exp $
|
|
|
|
#ifndef __CONSTR_H
|
|
#define __CONSTR_H
|
|
|
|
#define CONSTRUCT_REGISTERS \
|
|
decRegSTATUS ( ( (0x00 + 0) * 4) + 0, RW ) ,\
|
|
decFieldPRES( decRegSTATUS, 7, 1, RW) ,\
|
|
decFieldHLOC( decRegSTATUS, 6, 1, RW) ,\
|
|
decFieldEVENFIELD( decRegSTATUS, 5, 1, RW) ,\
|
|
decFieldNUML( decRegSTATUS, 4, 1, RW) ,\
|
|
decFieldCSEL( decRegSTATUS, 3, 1, RW) ,\
|
|
decFieldSTATUS_RES( decRegSTATUS, 2, 1, RW) ,\
|
|
decFieldLOF( decRegSTATUS, 1, 1, RW) ,\
|
|
decFieldCOF( decRegSTATUS, 0, 1, RW) ,\
|
|
decRegIFORM ( ( (0x01 + 0) * 4) + 0, RW ) ,\
|
|
decFieldHACTIVE( decRegIFORM, 7, 1, RW) ,\
|
|
decFieldMUXSEL( decRegIFORM, 5, 2, RW) ,\
|
|
decFieldXTSEL( decRegIFORM, 3, 2, RW) ,\
|
|
decFieldFORMAT( decRegIFORM, 0, 3, RW) ,\
|
|
decRegTDEC ( ( (0x02 + 0) * 4) + 0, RW ) ,\
|
|
decFieldDEC_FIELD( decRegTDEC, 7, 1, RW) ,\
|
|
decFieldDEC_FIELDALIGN( decRegTDEC, 6, 1, RW) ,\
|
|
decFieldDEC_RAT( decRegTDEC, 0, 6, RW) ,\
|
|
decRegBRIGHT ( ( (0x0A + 0) * 4) + 0, RW ) ,\
|
|
decRegMISCCONTROL ( ( (0x0B + 0) * 4) + 0, RW ) ,\
|
|
decFieldLNOTCH( decRegMISCCONTROL, 7, 1, RW) ,\
|
|
decFieldCOMP( decRegMISCCONTROL, 6, 1, RW) ,\
|
|
decFieldLDEC( decRegMISCCONTROL, 5, 1, RW) ,\
|
|
decFieldCBSENSE( decRegMISCCONTROL, 4, 1, RW) ,\
|
|
decFieldMISCCONTROL_RES( decRegMISCCONTROL, 3, 1, RW) ,\
|
|
decFieldCON_MSB( decRegMISCCONTROL, 2, 1, RW) ,\
|
|
decFieldSAT_U_MSB( decRegMISCCONTROL, 1, 1, RW) ,\
|
|
decFieldSAT_V_MSB( decRegMISCCONTROL, 0, 1, RW) ,\
|
|
decRegCONTRAST_LO ( ( (0x0C + 0) * 4) + 0, RW ) ,\
|
|
decRegSAT_U_LO ( ( (0x0D + 0) * 4) + 0, RW ) ,\
|
|
decRegSAT_V_LO ( ( (0x0E + 0) * 4) + 0, RW ) ,\
|
|
decRegHUE ( ( (0x0F + 0) * 4) + 0, RW ) ,\
|
|
decRegSCLOOP ( ( (0x10 + 0) * 4) + 0, RW ) ,\
|
|
decFieldCAGC( decRegSCLOOP, 6, 1, RW) ,\
|
|
decFieldCKILL( decRegSCLOOP, 5, 1, RW) ,\
|
|
decFieldHFILT( decRegSCLOOP, 3, 2, RW) ,\
|
|
decRegWC_UP( ( (0x11 + 0) * 4) + 0, RW ) ,\
|
|
decRegOFORM ( ( (0x12 + 0) * 4) + 0, RW ) ,\
|
|
decFieldRANGE( decRegOFORM, 7, 1, RW) ,\
|
|
decFieldCORE( decRegOFORM, 5, 2, RW) ,\
|
|
decRegVSCALE_HI ( ( (0x13 + 0) * 4) + 0, RW ) ,\
|
|
decFieldYCOMB( decRegVSCALE_HI, 7, 1, RW) ,\
|
|
decFieldCOMB( decRegVSCALE_HI, 6, 1, RW) ,\
|
|
decFieldINT( decRegVSCALE_HI, 5, 1, RW) ,\
|
|
decRegTEST ( ( (0x15 + 0) * 4) + 0, RW ) ,\
|
|
decRegADELAY ( ( (0x18 + 0) * 4) + 0, RW ) ,\
|
|
decRegBDELAY ( ( (0x19 + 0) * 4) + 0, RW ) ,\
|
|
decRegADC ( ( (0x1A + 0) * 4) + 0, RW ) ,\
|
|
decFieldSYNC_T( decRegADC, 5, 1, RW) ,\
|
|
decFieldAGC_EN( decRegADC, 4, 1, RW) ,\
|
|
decFieldCLK_SLEEP( decRegADC, 3, 1, RW) ,\
|
|
decFieldY_SLEEP( decRegADC, 2, 1, RW) ,\
|
|
decFieldC_SLEEP( decRegADC, 1, 1, RW) ,\
|
|
decFieldCRUSH( decRegADC, 0, 1, RW), \
|
|
decRegVTC ( ( (0x1B + 0) * 4) + 0, RW ) ,\
|
|
decFieldHSFMT( decRegVTC, 7, 1, RW) ,\
|
|
decRegWC_DN( ( (0x1E + 0) * 4) + 0, RW ) ,\
|
|
decRegSRESET ( ( (0x1F + 0) * 4) + 0, RW ) ,\
|
|
decRegODD_MISCCONTROL ( ( (0x0B + -0x03) * 4) + 0x8C, RW ) ,\
|
|
decFieldODD_LNOTCH( decRegODD_MISCCONTROL, 7, 1, RW) ,\
|
|
decFieldODD_COMP( decRegODD_MISCCONTROL, 6, 1, RW) ,\
|
|
decFieldODD_LDEC( decRegODD_MISCCONTROL, 5, 1, RW) ,\
|
|
decFieldODD_CBSENSE( decRegODD_MISCCONTROL, 4, 1, RW) ,\
|
|
decFieldODD_MISCCONTROL_RES( decRegODD_MISCCONTROL, 3, 1, RW) ,\
|
|
decFieldODD_CON_MSB( decRegODD_MISCCONTROL, 2, 1, RW) ,\
|
|
decFieldODD_SAT_U_MSB( decRegODD_MISCCONTROL, 1, 1, RW) ,\
|
|
decFieldODD_SAT_V_MSB( decRegODD_MISCCONTROL, 0, 1, RW) ,\
|
|
decRegODD_SCLOOP ( ( (0x10 + -0x03) * 4) + 0x8C, RW ) ,\
|
|
decFieldODD_CAGC( decRegODD_SCLOOP, 6, 1, RW) ,\
|
|
decFieldODD_CKILL( decRegODD_SCLOOP, 5, 1, RW) ,\
|
|
decFieldODD_HFILT( decRegODD_SCLOOP, 3, 2, RW) ,\
|
|
decRegODD_VSCALE_HI ( ( (0x13 + -0x03) * 4) + 0x8C, RW ) ,\
|
|
decFieldODD_YCOMB( decRegODD_VSCALE_HI, 7, 1, RW) ,\
|
|
decFieldODD_COMB( decRegODD_VSCALE_HI, 6, 1, RW) ,\
|
|
decFieldODD_INT( decRegODD_VSCALE_HI, 5, 1, RW) ,\
|
|
decRegODD_VTC ( ( (0x1B + -0x03) * 4) + 0x8C, RW ) ,\
|
|
decFieldODD_HSFMT( decRegODD_VTC, 7, 1, RW)
|
|
|
|
#endif // __CONSTR_H
|
|
|
|
|