form_RFMT6139Reg.h
上传用户:gelin96
上传日期:2017-01-08
资源大小:20993k
文件大小:26k
源码类别:

MTK

开发平台:

C++ Builder

  1. /*****************************************************************************
  2. *  Copyright Statement:
  3. *  --------------------
  4. *  This software is protected by Copyright and the information contained
  5. *  herein is confidential. The software may not be copied and the information
  6. *  contained herein may not be used or disclosed except with the written
  7. *  permission of MediaTek Inc. (C) 2005
  8. *
  9. *  BY OPENING THIS FILE, BUYER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND AGREES
  10. *  THAT THE SOFTWARE/FIRMWARE AND ITS DOCUMENTATIONS ("MEDIATEK SOFTWARE")
  11. *  RECEIVED FROM MEDIATEK AND/OR ITS REPRESENTATIVES ARE PROVIDED TO BUYER ON
  12. *  AN "AS-IS" BASIS ONLY. MEDIATEK EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES,
  13. *  EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
  14. *  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT.
  15. *  NEITHER DOES MEDIATEK PROVIDE ANY WARRANTY WHATSOEVER WITH RESPECT TO THE
  16. *  SOFTWARE OF ANY THIRD PARTY WHICH MAY BE USED BY, INCORPORATED IN, OR
  17. *  SUPPLIED WITH THE MEDIATEK SOFTWARE, AND BUYER AGREES TO LOOK ONLY TO SUCH
  18. *  THIRD PARTY FOR ANY WARRANTY CLAIM RELATING THERETO. MEDIATEK SHALL ALSO
  19. *  NOT BE RESPONSIBLE FOR ANY MEDIATEK SOFTWARE RELEASES MADE TO BUYER'S
  20. *  SPECIFICATION OR TO CONFORM TO A PARTICULAR STANDARD OR OPEN FORUM.
  21. *
  22. *  BUYER'S SOLE AND EXCLUSIVE REMEDY AND MEDIATEK'S ENTIRE AND CUMULATIVE
  23. *  LIABILITY WITH RESPECT TO THE MEDIATEK SOFTWARE RELEASED HEREUNDER WILL BE,
  24. *  AT MEDIATEK'S OPTION, TO REVISE OR REPLACE THE MEDIATEK SOFTWARE AT ISSUE,
  25. *  OR REFUND ANY SOFTWARE LICENSE FEES OR SERVICE CHARGE PAID BY BUYER TO
  26. *  MEDIATEK FOR SUCH MEDIATEK SOFTWARE AT ISSUE.
  27. *
  28. *  THE TRANSACTION CONTEMPLATED HEREUNDER SHALL BE CONSTRUED IN ACCORDANCE
  29. *  WITH THE LAWS OF THE STATE OF CALIFORNIA, USA, EXCLUDING ITS CONFLICT OF
  30. *  LAWS PRINCIPLES.  ANY DISPUTES, CONTROVERSIES OR CLAIMS ARISING THEREOF AND
  31. *  RELATED THERETO SHALL BE SETTLED BY ARBITRATION IN SAN FRANCISCO, CA, UNDER
  32. *  THE RULES OF THE INTERNATIONAL CHAMBER OF COMMERCE (ICC).
  33. *
  34. *****************************************************************************/
  35. /*****************************************************************************
  36.  *
  37.  * Filename:
  38.  * ---------
  39.  *   form_RFMT6139Reg.h
  40.  *
  41.  * Project:
  42.  * --------
  43.  *   Maui META APP
  44.  *
  45.  * Description:
  46.  * ------------
  47.  *  MT6139 register read/write form header
  48.  *
  49.  * Author:
  50.  * -------
  51.  *  Andy Ueng (mtk00490)
  52.  *
  53.  *============================================================================
  54.  *             HISTORY
  55.  * Below this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
  56.  *------------------------------------------------------------------------------
  57.  * $Revision$
  58.  * $Modtime$
  59.  * $Log$
  60.  * 
  61.  *------------------------------------------------------------------------------
  62.  * Upper this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
  63.  *============================================================================
  64.  ****************************************************************************/
  65. //---------------------------------------------------------------------------
  66. #ifndef _FORM_RFMT6139REG_H_
  67. #define _FORM_RFMT6139REG_H_
  68. //---------------------------------------------------------------------------
  69. #include <Classes.hpp>
  70. #include <Controls.hpp>
  71. #include <StdCtrls.hpp>
  72. #include <Forms.hpp>
  73. #include <ComCtrls.hpp>
  74. #include <ExtCtrls.hpp>
  75. #ifndef  _MT6139_COMMON_H_
  76. #include "mt6139_common.h"
  77. #endif
  78. #ifndef  _RF_MT6139REG_H_
  79. #include "rf_mt6139reg.h"
  80. #endif
  81. //---------------------------------------------------------------------------
  82. class TfrmMT6139Reg : public TForm
  83. {
  84. __published: // IDE-managed Components
  85.         TPageControl *PageControl1;
  86.         TTabSheet *TabSheet1;
  87.         TPanel *Panel1;
  88.         TPanel *Panel2;
  89.         TLabel *Label1;
  90.         TLabel *Label2;
  91.         TLabel *Label3;
  92.         TLabel *Label4;
  93.         TLabel *Label5;
  94.         TLabel *Label6;
  95.         TLabel *Label8;
  96.         TLabel *Label9;
  97.         TEdit *edtCW0SYNCP0;
  98.         TEdit *edtCW0SYNCP1;
  99.         TEdit *edtCW0SYNPW;
  100.         TEdit *edtCW0DIEN;
  101.         TEdit *edtCW0FLT;
  102.         TEdit *edtCW0AFC0;
  103.         TEdit *edtCW0AFC1;
  104.         TEdit *edtCW0AFC2;
  105.         TEdit *edtCW0AFC3;
  106.         TEdit *edtCW0AFC4;
  107.         TEdit *edtCW0AFC5;
  108.         TEdit *edtCW0VCOSEL;
  109.         TEdit *edtCW0GPO;
  110.         TEdit *edtCW0POR;
  111.         TPanel *Panel3;
  112.         TPanel *Panel4;
  113.         TLabel *Label10;
  114.         TLabel *Label11;
  115.         TLabel *lblCW1BUF_MODE;
  116.         TLabel *Label13;
  117.         TLabel *Label14;
  118.         TEdit *edtCW1N_FRACTION0;
  119.         TEdit *edtCW1N_FRACTION1;
  120.         TEdit *edtCW1N_FRACTION2;
  121.         TEdit *edtCW1N_FRACTION3;
  122.         TEdit *edtCW1N_FRACTION4;
  123.         TEdit *edtCW1N_FRACTION5;
  124.         TEdit *edtCW1N_FRACTION6;
  125.         TEdit *edtCW1N_FRACTION7;
  126.         TEdit *edtCW1N_INTEGER0;
  127.         TEdit *edtCW1N_INTEGER1;
  128.         TEdit *edtCW1N_INTEGER2;
  129.         TEdit *edtCW1N_INTEGER3;
  130.         TEdit *edtCW1N_INTEGER4;
  131.         TEdit *edtCW1N_INTEGER5;
  132.         TEdit *edtCW1N_INTEGER6;
  133.         TEdit *edtCW1BUF_MODE;
  134.         TEdit *edtCW1BAND0;
  135.         TEdit *edtCW1BAND1;
  136.         TEdit *edtCW1TRX;
  137.         TPanel *Panel5;
  138.         TPanel *Panel6;
  139.         TLabel *Label15;
  140.         TLabel *Label16;
  141.         TLabel *Label17;
  142.         TLabel *Label18;
  143.         TLabel *Label19;
  144.         TEdit *edtCW2GAIN_TABLE0;
  145.         TEdit *edtCW2GAIN_TABLE1;
  146.         TEdit *edtCW2GAIN_TABLE2;
  147.         TEdit *edtCW2GAIN_TABLE3;
  148.         TEdit *edtCW2GAIN_TABLE4;
  149.         TEdit *edtCW2GAIN_TABLE5;
  150.         TEdit *edtCW2MODE0;
  151.         TEdit *edtCW2MODE1;
  152.         TEdit *edtCW2AUTO_CAL;
  153.         TEdit *edtCW2DC_DAC_AQ0;
  154.         TEdit *edtCW2DC_DAC_AQ1;
  155.         TEdit *edtCW2DC_DAC_AQ2;
  156.         TEdit *edtCW2DC_DAC_AQ3;
  157.         TEdit *edtCW2DC_DAC_AQ4;
  158.         TEdit *edtCW2DC_DAC_AQ5;
  159.         TEdit *edtCW2DC_DAC_AI0;
  160.         TEdit *edtCW2DC_DAC_AI1;
  161.         TEdit *edtCW2DC_DAC_AI2;
  162.         TEdit *edtCW2DC_DAC_AI3;
  163.         TEdit *edtCW2DC_DAC_AI4;
  164.         TEdit *edtCW2DC_DAC_AI5;
  165.         TEdit *edtCW2MODE2;
  166.         TPanel *Panel7;
  167.         TPanel *Panel8;
  168.         TLabel *Label20;
  169.         TLabel *Label21;
  170.         TLabel *Label22;
  171.         TLabel *Label23;
  172.         TLabel *Label24;
  173.         TLabel *Label25;
  174.         TLabel *Label26;
  175.         TLabel *Label27;
  176.         TEdit *edtCW3IFPOLP;
  177.         TEdit *edtCW3IFPGAP1;
  178.         TEdit *edtCW3IFPGAP2;
  179.         TEdit *edtCW3RXDIVP;
  180.         TEdit *edtCW3SYNPFDP;
  181.         TEdit *edtCW3SYNDIVP;
  182.         TEdit *edtCW3RFLNAP;
  183.         TEdit *edtCW3RFMIXPQ;
  184.         TPanel *Panel9;
  185.         TPanel *Panel10;
  186.         TLabel *Label28;
  187.         TLabel *Label29;
  188.         TLabel *Label30;
  189.         TLabel *Label31;
  190.         TLabel *Label32;
  191.         TLabel *Label33;
  192.         TLabel *Label34;
  193.         TLabel *Label35;
  194.         TLabel *Label36;
  195.         TLabel *Label37;
  196.         TLabel *Label38;
  197.         TLabel *Label39;
  198.         TEdit *edtCW4SCA_CR_FI;
  199.         TEdit *edtCW4SYNPFD0;
  200.         TEdit *edtCW4SYNPFD1;
  201.         TEdit *edtCW4SYNTYP;
  202.         TEdit *edtCW4SXRSTDIV;
  203.         TEdit *edtCW4C_FRA_IN;
  204.         TEdit *edtCW4LGAC;
  205.         TEdit *edtCW4CALMODE1;
  206.         TEdit *edtCW4CALMODE0;
  207.         TEdit *edtCW4DREAD;
  208.         TEdit *edtCW4VCO_VSET0;
  209.         TEdit *edtCW4CAL_DELAY0;
  210.         TEdit *edtCW4FLDIS;
  211.         TEdit *edtCW4OTAEN;
  212.         TEdit *edtCW4VCO_VSET1;
  213.         TEdit *edtCW4CAL_DELAY1;
  214.         TPanel *Panel11;
  215.         TPanel *Panel12;
  216.         TLabel *Label40;
  217.         TLabel *Label41;
  218.         TEdit *edtCW5RES0;
  219.         TEdit *edtCW5RES2;
  220.         TEdit *edtCW5RES1;
  221.         TEdit *edtCW5RES3;
  222.         TEdit *edtCW5RES4;
  223.         TEdit *edtCW5RESB0;
  224.         TEdit *edtCW5RESB1;
  225.         TEdit *edtCW5RESB2;
  226.         TEdit *edtCW5RESB3;
  227.         TEdit *edtCW5RESB4;
  228.         TPanel *Panel13;
  229.         TPanel *Panel14;
  230.         TLabel *Label48;
  231.         TLabel *Label49;
  232.         TLabel *Label50;
  233.         TLabel *Label51;
  234.         TLabel *Label52;
  235.         TLabel *Label53;
  236.         TLabel *Label54;
  237.         TEdit *edtCW6VCOSET;
  238.         TEdit *edtCW6VCO_SCA0;
  239.         TEdit *edtCW6VCO_SCA1;
  240.         TEdit *edtCW6VCO_SCA2;
  241.         TEdit *edtCW6VCO_SCA3;
  242.         TEdit *edtCW6VCO_SCA4;
  243.         TEdit *edtCW6VCO_SCA5;
  244.         TEdit *edtCW6VCO_SCA6;
  245.         TEdit *edtCW6SIO5;
  246.         TEdit *edtCW6MONITOR;
  247.         TEdit *edtCW6VCOBUFP;
  248.         TEdit *edtCW6T_LATCH;
  249.         TEdit *edtCW6T_CLK;
  250.         TButton *btnReadCW0FromReg;
  251.         TButton *btnWriteCW0ToReg;
  252.         TButton *btnReadCW1FromReg;
  253.         TButton *btnWriteCW1ToReg;
  254.         TButton *btnReadCW2FromReg;
  255.         TButton *btnWriteCW2ToReg;
  256.         TButton *btnReadCW3FromReg;
  257.         TButton *btnWriteCW3ToReg;
  258.         TButton *btnReadCW4FromReg;
  259.         TButton *btnWriteCW4ToReg;
  260.         TButton *btnReadCW5FromReg;
  261.         TButton *btnWriteCW5ToReg;
  262.         TButton *btnReadCW6FromReg;
  263.         TButton *btnWriteCW6ToReg;
  264.         TTabSheet *TabSheet2;
  265.         TPanel *Panel15;
  266.         TPanel *Panel16;
  267.         TLabel *Label55;
  268.         TLabel *Label56;
  269.         TLabel *Label57;
  270.         TEdit *edtCW7RX_GAIN0;
  271.         TEdit *edtCW7RX_GAIN1;
  272.         TEdit *edtCW7RX_GAIN2;
  273.         TEdit *edtCW7RX_GAIN3;
  274.         TEdit *edtCW7RX_GAIN4;
  275.         TEdit *edtCW7RX_GAIN5;
  276.         TEdit *edtCW7RX_GAIN6;
  277.         TEdit *edtCW7AUTO_GAIN_SEL;
  278.         TEdit *edtCW7MAN_CAL;
  279.         TEdit *edtCW7RX_GAIN7;
  280.         TPanel *Panel17;
  281.         TPanel *Panel18;
  282.         TLabel *Label60;
  283.         TLabel *Label61;
  284.         TLabel *Label62;
  285.         TLabel *Label63;
  286.         TEdit *edtCW8DC_DAC_CI0;
  287.         TEdit *edtCW8DC_DAC_CI1;
  288.         TEdit *edtCW8DC_DAC_CI2;
  289.         TEdit *edtCW8DC_DAC_CI3;
  290.         TEdit *edtCW8DC_DAC_CI4;
  291.         TEdit *edtCW8DC_DAC_CI5;
  292.         TEdit *edtCW8DC_DAC_CI6;
  293.         TEdit *edtCW8DC_DAC_BI0;
  294.         TEdit *edtCW8DC_DAC_BI1;
  295.         TEdit *edtCW8DC_DAC_BI2;
  296.         TEdit *edtCW8DC_DAC_BI3;
  297.         TEdit *edtCW8DC_DAC_BI4;
  298.         TEdit *edtCW8DC_DAC_BI5;
  299.         TEdit *edtCW8DC_DAC_BI6;
  300.         TEdit *edtCW8RX_CTRL_SWEN;
  301.         TEdit *edtCW8RX_CTRL_SW0;
  302.         TEdit *edtCW8RX_CTRL_SW1;
  303.         TEdit *edtCW8RX_CTRL_SW2;
  304.         TEdit *edtCW8RX_CTRL_SW3;
  305.         TPanel *Panel19;
  306.         TPanel *Panel20;
  307.         TLabel *Label68;
  308.         TLabel *Label69;
  309.         TLabel *Label70;
  310.         TLabel *Label71;
  311.         TLabel *Label72;
  312.         TEdit *edtCW9DC_DAC_CQ0;
  313.         TEdit *edtCW9DC_DAC_CQ1;
  314.         TEdit *edtCW9DC_DAC_CQ2;
  315.         TEdit *edtCW9DC_DAC_CQ3;
  316.         TEdit *edtCW9DC_DAC_CQ4;
  317.         TEdit *edtCW9DC_DAC_CQ5;
  318.         TEdit *edtCW9DC_DAC_CQ6;
  319.         TEdit *edtCW9DC_DAC_BQ0;
  320.         TEdit *edtCW9DC_DAC_BQ1;
  321.         TEdit *edtCW9DC_DAC_BQ2;
  322.         TEdit *edtCW9DC_DAC_BQ3;
  323.         TEdit *edtCW9DC_DAC_BQ4;
  324.         TEdit *edtCW9DC_DAC_BQ5;
  325.         TEdit *edtCW9DC_DAC_BQ6;
  326.         TEdit *edtCW9PWR_DAC_C;
  327.         TEdit *edtCW9PWR_DAC_B;
  328.         TEdit *edtCW9PWR_DAC_A;
  329.         TPanel *Panel21;
  330.         TPanel *Panel22;
  331.         TLabel *Label73;
  332.         TLabel *Label74;
  333.         TEdit *edtCW10AM_DACQ0;
  334.         TEdit *edtCW10AM_DACQ1;
  335.         TEdit *edtCW10AM_DACQ2;
  336.         TEdit *edtCW10AM_DACQ3;
  337.         TEdit *edtCW10AM_DACQ4;
  338.         TEdit *edtCW10AM_DACQ5;
  339.         TEdit *edtCW10AM_DACQ6;
  340.         TEdit *edtCW10AM_DACI0;
  341.         TEdit *edtCW10AM_DACI1;
  342.         TEdit *edtCW10AM_DACI2;
  343.         TEdit *edtCW10AM_DACI3;
  344.         TEdit *edtCW10AM_DACI4;
  345.         TEdit *edtCW10AM_DACI5;
  346.         TEdit *edtCW10AM_DACI6;
  347.         TPanel *Panel23;
  348.         TPanel *Panel24;
  349.         TLabel *Label75;
  350.         TLabel *Label76;
  351.         TLabel *Label77;
  352.         TLabel *Label78;
  353.         TLabel *Label79;
  354.         TLabel *Label80;
  355.         TLabel *Label81;
  356.         TLabel *Label82;
  357.         TLabel *Label84;
  358.         TLabel *Label85;
  359.         TLabel *Label86;
  360.         TLabel *Label87;
  361.         TLabel *Label88;
  362.         TLabel *Label89;
  363.         TEdit *edtCW11TXCTL;
  364.         TEdit *edtCW11TXGIQM;
  365.         TEdit *edtCW11TXDIQM;
  366.         TEdit *edtCW11TXDIV2;
  367.         TEdit *edtCW11TXDIV4;
  368.         TEdit *edtCW11TXGBUF;
  369.         TEdit *edtCW11TXDBUF;
  370.         TEdit *edtCW11TXMODGAIN0;
  371.         TEdit *edtCW11TXMODGAIN1;
  372.         TEdit *edtCW11TXFLT3;
  373.         TEdit *edtCW11TXFLT2;
  374.         TEdit *edtCW11TXFLT1;
  375.         TEdit *edtCW11TXVAPC1;
  376.         TEdit *edtCW11TXVAPC0;
  377.         TEdit *edtCW11TXDIV_GC0;
  378.         TEdit *edtCW11TXDIV_GC1;
  379.         TEdit *edtCW11TX_PW1;
  380.         TEdit *edtCW11TXBIAST1;
  381.         TEdit *edtCW11TX_PW0;
  382.         TPanel *Panel25;
  383.         TPanel *Panel26;
  384.         TLabel *Label94;
  385.         TLabel *Label95;
  386.         TEdit *edtCW15ADDRESS_DATA_OUT0;
  387.         TEdit *edtCW15ADDRESS_DATA_OUT1;
  388.         TEdit *edtCW15ADDRESS_DATA_OUT2;
  389.         TEdit *edtCW15ADDRESS_DATA_OUT3;
  390.         TEdit *edtCW15AUXOUT_SELETCION0;
  391.         TEdit *edtCW15AUXOUT_SELETCION1;
  392.         TEdit *edtCW15AUXOUT_SELETCION2;
  393.         TEdit *edtCW15AUXOUT_SELETCION3;
  394.         TEdit *edtCW15AUXOUT_SELETCION4;
  395.         TEdit *edtCW15AUXOUT_SELETCION5;
  396.         TEdit *edtCW15AUXOUT_SELETCION6;
  397.         TButton *btnReadCW7FromReg;
  398.         TButton *btnWriteCW7ToReg;
  399.         TButton *btnReadCW8FromReg;
  400.         TButton *btnWriteCW8ToReg;
  401.         TButton *btnReadCW9FromReg;
  402.         TButton *btnWriteCW9ToReg;
  403.         TButton *btnReadCW10FromReg;
  404.         TButton *btnWriteCW10ToReg;
  405.         TButton *btnReadCW11FromReg;
  406.         TButton *btnWriteCW11ToReg;
  407.         TButton *btnReadCW15FromReg;
  408.         TButton *btnWriteCW15ToReg;
  409.         TButton *btnReadAllReg;
  410.         TButton *btnWriteAllReg;
  411.         TStatusBar *sbMT6139Reg;
  412.         TTimer *HintTimer;
  413.         TStaticText *lblHint;
  414.         TLabel *Label7;
  415.         TLabel *Label12;
  416.         TEdit *edtCW3TXDIVIL;
  417.         TEdit *edtCW3RFMIXPI;
  418.         TLabel *Label47;
  419.         TEdit *edtCW4MODREG;
  420.         TLabel *Label42;
  421.         TEdit *edtCW7LPF_CORNER;
  422.         TLabel *Label43;
  423.         TEdit *edtCW9PWR_DAC_AM;
  424.         TEdit *edtCW11TXMODGAIN2;
  425.         TEdit *edtCW11TXFLT0;
  426.         TEdit *edtCW11TXBIAST0;
  427.         TEdit *edtCW8RX_CTRL_SW4;
  428.         void __fastcall FormCreate(TObject *Sender);
  429.         void __fastcall FormActivate(TObject *Sender);
  430.         void __fastcall edtPORCheck(TObject *Sender);
  431.         void __fastcall edtCW0GPOCheck(TObject *Sender);
  432.         void __fastcall edtCW0VCOSELCheck(TObject *Sender);
  433.         void __fastcall edtCW0AFCCheck(TObject *Sender);
  434.         void __fastcall edtCW0FLTCheck(TObject *Sender);
  435.         void __fastcall edtCW0DIENCheck(TObject *Sender);
  436.         void __fastcall edtCW0SYNPWCheck(TObject *Sender);
  437.         void __fastcall edtCW0SYNCPCheck(TObject *Sender);
  438.         void __fastcall edtCW1TRXCheck(TObject *Sender);
  439.         void __fastcall edtCW1BANDCheck(TObject *Sender);
  440.         void __fastcall edtCW1BUF_MODECheck(TObject *Sender);
  441.         void __fastcall edtCW1N_INTEGERCheck(TObject *Sender);
  442.         void __fastcall edtCW1N_FRACTIONCheck(TObject *Sender);
  443.         void __fastcall edtCW2DC_DAC_AICheck(TObject *Sender);
  444.         void __fastcall edtCW2DC_DAC_AQCheck(TObject *Sender);
  445.         void __fastcall edtCW2AUTO_CALCheck(TObject *Sender);
  446.         void __fastcall edtCW2MODECheck(TObject *Sender);
  447.         void __fastcall edtCW2GAIN_TABLECheck(TObject *Sender);
  448.         void __fastcall edtCW3TXDIVILCheck(TObject *Sender);
  449.         void __fastcall edtCW3RFMIXPICheck(TObject *Sender);
  450.         void __fastcall edtCW3RFMIXPQCheck(TObject *Sender);
  451.         void __fastcall edtCW3RFLNAPCheck(TObject *Sender);
  452.         void __fastcall edtCW3SYNDIVPCheck(TObject *Sender);
  453.         void __fastcall edtCW3SYNPFDPCheck(TObject *Sender);
  454.         void __fastcall edtCW3RXDIVPCheck(TObject *Sender);
  455.         void __fastcall edtCW3IFPGAP2Check(TObject *Sender);
  456.         void __fastcall edtCW3IFPGAP1Check(TObject *Sender);
  457.         void __fastcall edtCW3IFPOLPCheck(TObject *Sender);
  458.         void __fastcall edtCW4OTAENCheck(TObject *Sender);
  459.         void __fastcall edtCW4FLDISCheck(TObject *Sender);
  460.         void __fastcall edtCW4CAL_DELAYCheck(TObject *Sender);
  461.         void __fastcall edtCW4VCO_VSETCheck(TObject *Sender);
  462.         void __fastcall edtCW4DREADCheck(TObject *Sender);
  463.         void __fastcall edtCW4CALMODECheck(TObject *Sender);
  464.         void __fastcall edtCW4LGACCheck(TObject *Sender);
  465.         void __fastcall edtCW4MODREGCheck(TObject *Sender);
  466.         void __fastcall edtCW4C_FRA_INCheck(TObject *Sender);
  467.         void __fastcall edtCW4SXRSTDIVCheck(TObject *Sender);
  468.         void __fastcall edtCW4SYNTYPCheck(TObject *Sender);
  469.         void __fastcall edtCW4SYNPFDCheck(TObject *Sender);
  470.         void __fastcall edtCW4SCA_CR_FICheck(TObject *Sender);
  471.         void __fastcall edtCW5RESBCheck(TObject *Sender);
  472.         void __fastcall edtCW5RESCheck(TObject *Sender);
  473.         void __fastcall edtCW6T_CLKCheck(TObject *Sender);
  474.         void __fastcall edtCW6T_LATCHCheck(TObject *Sender);
  475.         void __fastcall edtCW6VCOBUFPCheck(TObject *Sender);
  476.         void __fastcall edtCW6MONITORCheck(TObject *Sender);
  477.         void __fastcall edtCW6SIO5Check(TObject *Sender);
  478.         void __fastcall edtCW6VCO_SCACheck(TObject *Sender);
  479.         void __fastcall edtCW6VCOSETCheck(TObject *Sender);
  480.         void __fastcall edtCW7LPF_CORNERCheck(TObject *Sender);
  481.         void __fastcall edtCW7MAN_CALCheck(TObject *Sender);
  482.         void __fastcall edtCW7AUTO_GAIN_SELCheck(TObject *Sender);
  483.         void __fastcall edtCW7RX_GAINCheck(TObject *Sender);
  484.         void __fastcall edtCW8RX_CTRL_SWCheck(TObject *Sender);
  485.         void __fastcall edtCW8RX_CTRL_SWENCheck(TObject *Sender);
  486.         void __fastcall edtCW8DC_DAC_BICheck(TObject *Sender);
  487.         void __fastcall edtCW8DC_DAC_CICheck(TObject *Sender);
  488.         void __fastcall edtCW9PWR_DAC_AMCheck(TObject *Sender);
  489.         void __fastcall edtCW9PWR_DAC_ACheck(TObject *Sender);
  490.         void __fastcall edtCW9PWR_DAC_BCheck(TObject *Sender);
  491.         void __fastcall edtCW9PWR_DAC_CCheck(TObject *Sender);
  492.         void __fastcall edtCW9DC_DAC_BQCheck(TObject *Sender);
  493.         void __fastcall edtCW9DC_DAC_CQCheck(TObject *Sender);
  494.         void __fastcall edtCW10AM_DACICheck(TObject *Sender);
  495.         void __fastcall edtCW10AM_DACQCheck(TObject *Sender);
  496.         void __fastcall edtCW11TXVAPCCheck(TObject *Sender);
  497.         void __fastcall edtCW11TX_PWCheck(TObject *Sender);
  498.         void __fastcall edtCW11TXFLTCheck(TObject *Sender);
  499.         void __fastcall edtCW11TXMODGAINCheck(TObject *Sender);
  500.         void __fastcall edtCW11TXGBUFCheck(TObject *Sender);
  501.         void __fastcall edtCW11TXDBUFCheck(TObject *Sender);
  502.         void __fastcall edtCW11TXDIV4Check(TObject *Sender);
  503.         void __fastcall edtCW11TXDIV2Check(TObject *Sender);
  504.         void __fastcall edtCW11TXDIQMCheck(TObject *Sender);
  505.         void __fastcall edtCW11TXGIQMCheck(TObject *Sender);
  506.         void __fastcall edtCW11TXCTLCheck(TObject *Sender);
  507.         void __fastcall edtCW11TXDIV_GC1Check(TObject *Sender);
  508.         void __fastcall edtCW11TXDIV_GC0Check(TObject *Sender);
  509.         void __fastcall edtCW11TXBIASTCheck(TObject *Sender);
  510.         void __fastcall edtCW15AUXOUT_SELETCIONCheck(TObject *Sender);
  511.         void __fastcall edtCW15ADDRESS_DATA_OUTCheck(TObject *Sender);
  512.         void __fastcall btnReadCW0FromRegClick(TObject *Sender);
  513.         void __fastcall btnWriteCW0ToRegClick(TObject *Sender);
  514.         void __fastcall btnReadCW1FromRegClick(TObject *Sender);
  515.         void __fastcall btnWriteCW1ToRegClick(TObject *Sender);
  516.         void __fastcall btnReadCW2FromRegClick(TObject *Sender);
  517.         void __fastcall btnWriteCW2ToRegClick(TObject *Sender);
  518.         void __fastcall btnReadCW3FromRegClick(TObject *Sender);
  519.         void __fastcall btnWriteCW3ToRegClick(TObject *Sender);
  520.         void __fastcall btnReadCW4FromRegClick(TObject *Sender);
  521.         void __fastcall btnWriteCW4ToRegClick(TObject *Sender);
  522.         void __fastcall btnReadCW5FromRegClick(TObject *Sender);
  523.         void __fastcall btnWriteCW5ToRegClick(TObject *Sender);
  524.         void __fastcall btnReadCW6FromRegClick(TObject *Sender);
  525.         void __fastcall btnWriteCW6ToRegClick(TObject *Sender);
  526.         void __fastcall btnReadCW7FromRegClick(TObject *Sender);
  527.         void __fastcall btnWriteCW7ToRegClick(TObject *Sender);
  528.         void __fastcall btnReadCW8FromRegClick(TObject *Sender);
  529.         void __fastcall btnWriteCW8ToRegClick(TObject *Sender);
  530.         void __fastcall btnReadCW9FromRegClick(TObject *Sender);
  531.         void __fastcall btnWriteCW9ToRegClick(TObject *Sender);
  532.         void __fastcall btnReadCW10FromRegClick(TObject *Sender);
  533.         void __fastcall btnWriteCW10ToRegClick(TObject *Sender);
  534.         void __fastcall btnReadCW11FromRegClick(TObject *Sender);
  535.         void __fastcall btnWriteCW11ToRegClick(TObject *Sender);
  536.         void __fastcall btnReadCW15FromRegClick(TObject *Sender);
  537.         void __fastcall btnWriteCW15ToRegClick(TObject *Sender);
  538.         void __fastcall btnReadAllRegClick(TObject *Sender);
  539.         void __fastcall btnWriteAllRegClick(TObject *Sender);
  540.         void __fastcall HintTimerTimer(TObject *Sender);
  541. private: // User declarations
  542.         // common
  543.         unsigned int  m_uiFinalRfid;
  544.         bool m_bInit;
  545.         // UI
  546.         TEdit *m_edtCW0AFC[MT6139_CW0_AFC_LEN];
  547.         TEdit *m_edtCW0SYNCP[MT6139_CW0_SYNCP_LEN];
  548.         TEdit *m_edtCW1BAND[MT6139_CW1_BAND_LEN];
  549.         TEdit *m_edtCW1N_INTEGER[MT6139_CW1_N_INTEGER_LEN];
  550.         TEdit *m_edtCW1N_FRACTION[MT6139_CW1_N_FRACTION_LEN];
  551.         TEdit *m_edtCW2DC_DAC_AI[MT6139_CW2_DC_DAC_AI_LEN];
  552.         TEdit *m_edtCW2DC_DAC_AQ[MT6139_CW2_DC_DAC_AQ_LEN];
  553.         TEdit *m_edtCW2MODE[MT6139_CW2_MODE_LEN];
  554.         TEdit *m_edtCW2GAIN_TABLE[MT6139_CW2_GAIN_TABLE_LEN];
  555.         TEdit *m_edtCW4CAL_DELAY[MT6139_CW4_CAL_DELAY_LEN];
  556.         TEdit *m_edtCW4VCO_VSET[MT6139_CW4_VCO_VSET_LEN];
  557.         TEdit *m_edtCW4CALMODE[MT6139_CW4_CAL_MODE_LEN];
  558.         TEdit *m_edtCW4SYNPFD[MT6139_CW4_SYN_PFD_LEN];
  559.         TEdit *m_edtCW5RESB[MT6139_CW5_RESB_LEN];
  560.         TEdit *m_edtCW5RES[MT6139_CW5_RES_LEN];
  561.         TEdit *m_edtCW6VCO_SCA[MT6139_CW6_VCO_SCA_LEN];
  562.         TEdit *m_edtCW7RX_GAIN[MT6139_CW7_RX_GAIN_LEN];
  563.         TEdit *m_edtCW8RX_CTRL_SW[MT6139_CW8_RX_CTRL_SW_LEN];
  564.         TEdit *m_edtCW8DC_DAC_BI[MT6139_CW8_DC_DAC_BI_LEN];
  565.         TEdit *m_edtCW8DC_DAC_CI[MT6139_CW8_DC_DAC_CI_LEN];
  566.         TEdit *m_edtCW9DC_DAC_BQ[MT6139_CW9_DC_DAC_BQ_LEN];
  567.         TEdit *m_edtCW9DC_DAC_CQ[MT6139_CW9_DC_DAC_CQ_LEN];
  568.         TEdit *m_edtCW10AM_DACI[MT6139_CW10_AM_DACI_LEN];
  569.         TEdit *m_edtCW10AM_DACQ[MT6139_CW10_AM_DACQ_LEN];
  570.         TEdit *m_edtCW11TXBIAST[MT6139_CW11_TXBIAST_LEN];
  571.         TEdit *m_edtCW11TX_PW[MT6139_CW11_TX_PW_LEN];
  572.         TEdit *m_edtCW11TXVAPC[MT6139_CW11_TXVAPC_LEN];
  573.         TEdit *m_edtCW11TXFLT[MT6139_CW11_TXFLT_LEN];
  574.         TEdit *m_edtCW11TXMODGAIN[MT6139_CW11_TXMODGAIN_LEN];
  575.         TEdit *m_edtCW15AUXOUT_SELETCION[MT6139_CW15_AUXOUT_SELECTION_LEN];
  576.         TEdit *m_edtCW15ADDRESS_DATA_OUT[MT6139_CW15_ADDRESS_DATA_OUT_LEN];
  577.         S_MT6139_CW0 m_sMT6139CW0;
  578.         S_MT6139_CW1 m_sMT6139CW1;
  579.         S_MT6139_CW2 m_sMT6139CW2;
  580.         S_MT6139_CW3 m_sMT6139CW3;
  581.         S_MT6139_CW4 m_sMT6139CW4;
  582.         S_MT6139_CW5 m_sMT6139CW5;
  583.         S_MT6139_CW6 m_sMT6139CW6;
  584.         S_MT6139_CW7 m_sMT6139CW7;
  585.         S_MT6139_CW8 m_sMT6139CW8;
  586.         S_MT6139_CW9 m_sMT6139CW9;
  587.         S_MT6139_CW10 m_sMT6139CW10;
  588.         S_MT6139_CW11 m_sMT6139CW11;
  589.         S_MT6139_CW15 m_sMT6139CW15;
  590.         CRFMT6139REG  m_cRF_MT6139Reg_Obj;
  591. public: // User declarations
  592.         __fastcall TfrmMT6139Reg(TComponent* Owner);
  593.         void Init( void );
  594.         void ShowHintLabel( TControl *sender, char* hint );
  595.         void ReDrawCW0Fields( void );
  596.         void ReDrawCW1Fields( void );
  597.         void ReDrawCW2Fields( void );
  598.         void ReDrawCW3Fields( void );
  599.         void ReDrawCW4Fields( void );
  600.         void ReDrawCW5Fields( void );
  601.         void ReDrawCW6Fields( void );
  602.         void ReDrawCW7Fields( void );
  603.         void ReDrawCW8Fields( void );
  604.         void ReDrawCW9Fields( void );
  605.         void ReDrawCW10Fields( void );
  606.         void ReDrawCW11Fields( void );
  607.         void ReDrawCW15Fields( void );
  608.         void  CurrentPageReset( void );
  609.         void  CurrentPageLock( void );
  610.         bool __fastcall edtCheck(TObject *Sender);
  611.         // call back
  612.         void CNF_GetMT6139AllFromReg( void );
  613.         void CNF_SetMT6139AllToReg( void );
  614.         void CNF_GetMT6139CW0FromReg( void );
  615.         void CNF_SetMT6139CW0ToReg( void );
  616.         void CNF_GetMT6139CW1FromReg( void );
  617.         void CNF_SetMT6139CW1ToReg( void );
  618.         void CNF_GetMT6139CW2FromReg( void );
  619.         void CNF_SetMT6139CW2ToReg( void );
  620.         void CNF_GetMT6139CW3FromReg( void );
  621.         void CNF_SetMT6139CW3ToReg( void );
  622.         void CNF_GetMT6139CW4FromReg( void );
  623.         void CNF_SetMT6139CW4ToReg( void );
  624.         void CNF_GetMT6139CW5FromReg( void );
  625.         void CNF_SetMT6139CW5ToReg( void );
  626.         void CNF_GetMT6139CW6FromReg( void );
  627.         void CNF_SetMT6139CW6ToReg( void );
  628.         void CNF_GetMT6139CW7FromReg( void );
  629.         void CNF_SetMT6139CW7ToReg( void );
  630.         void CNF_GetMT6139CW8FromReg( void );
  631.         void CNF_SetMT6139CW8ToReg( void );
  632.         void CNF_GetMT6139CW9FromReg( void );
  633.         void CNF_SetMT6139CW9ToReg( void );
  634.         void CNF_GetMT6139CW10FromReg( void );
  635.         void CNF_SetMT6139CW10ToReg( void );
  636.         void CNF_GetMT6139CW11FromReg( void );
  637.         void CNF_SetMT6139CW11ToReg( void );
  638.         void CNF_GetMT6139CW15FromReg( void );
  639.         void CNF_SetMT6139CW15ToReg( void );
  640. };
  641. //---------------------------------------------------------------------------
  642. extern PACKAGE TfrmMT6139Reg *frmMT6139Reg;
  643. //---------------------------------------------------------------------------
  644. #endif