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

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_RFMT6140CReg.h
  40.  *
  41.  * Project:
  42.  * --------
  43.  *   Maui META APP
  44.  *
  45.  * Description:
  46.  * ------------
  47.  *  MT6140C 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_RFMT6140CREG_H_
  67. #define _FORM_RFMT6140CREG_H_
  68. //---------------------------------------------------------------------------
  69. #include <Classes.hpp>
  70. #include <Controls.hpp>
  71. #include <StdCtrls.hpp>
  72. #include <Forms.hpp>
  73. #include <ExtCtrls.hpp>
  74. #include <ComCtrls.hpp>
  75. #ifndef  _MT6140_COMMON_H_
  76. #include "mt6140_common.h"
  77. #endif
  78. #ifndef  _MT6140C_COMMON_H_
  79. #include "mt6140c_common.h"
  80. #endif
  81. #ifndef  _RF_MT6140CREG_H_
  82. #include "rf_mt6140creg.h"
  83. #endif
  84. //---------------------------------------------------------------------------
  85. class TfrmMT6140CReg : public TForm
  86. {
  87. __published: // IDE-managed Components
  88.         TPageControl *PageControl1;
  89.         TTabSheet *TabSheet1;
  90.         TPanel *Panel1;
  91.         TPanel *Panel2;
  92.         TLabel *Label1;
  93.         TLabel *Label2;
  94.         TLabel *Label3;
  95.         TLabel *Label4;
  96.         TLabel *Label5;
  97.         TLabel *Label6;
  98.         TLabel *Label7;
  99.         TLabel *Label8;
  100.         TLabel *Label9;
  101.         TEdit *edtCW0SYNCP0;
  102.         TEdit *edtCW0SYNCP1;
  103.         TEdit *edtCW0SYNPW;
  104.         TEdit *edtCW0DIEN;
  105.         TEdit *edtCW0FLT;
  106.         TEdit *edtCW0AFC0;
  107.         TEdit *edtCW0AFC1;
  108.         TEdit *edtCW0AFC2;
  109.         TEdit *edtCW0AFC3;
  110.         TEdit *edtCW0AFC4;
  111.         TEdit *edtCW0AFC5;
  112.         TEdit *edtCW0VCOSEL;
  113.         TEdit *edtCW0TXMOD_BPI;
  114.         TEdit *edtCW0GPO;
  115.         TEdit *edtCW0POR;
  116.         TPanel *Panel3;
  117.         TPanel *Panel4;
  118.         TLabel *Label10;
  119.         TLabel *Label11;
  120.         TLabel *lblCW1BUF_MODE;
  121.         TLabel *Label13;
  122.         TLabel *Label14;
  123.         TEdit *edtCW1N_FRACTION0;
  124.         TEdit *edtCW1N_FRACTION1;
  125.         TEdit *edtCW1N_FRACTION2;
  126.         TEdit *edtCW1N_FRACTION3;
  127.         TEdit *edtCW1N_FRACTION4;
  128.         TEdit *edtCW1N_FRACTION5;
  129.         TEdit *edtCW1N_FRACTION6;
  130.         TEdit *edtCW1N_FRACTION7;
  131.         TEdit *edtCW1N_INTEGER0;
  132.         TEdit *edtCW1N_INTEGER1;
  133.         TEdit *edtCW1N_INTEGER2;
  134.         TEdit *edtCW1N_INTEGER3;
  135.         TEdit *edtCW1N_INTEGER4;
  136.         TEdit *edtCW1N_INTEGER5;
  137.         TEdit *edtCW1N_INTEGER6;
  138.         TEdit *edtCW1BUF_MODE;
  139.         TEdit *edtCW1BAND0;
  140.         TEdit *edtCW1BAND1;
  141.         TEdit *edtCW1TRX;
  142.         TPanel *Panel5;
  143.         TPanel *Panel6;
  144.         TLabel *Label15;
  145.         TLabel *Label16;
  146.         TLabel *Label17;
  147.         TLabel *Label18;
  148.         TLabel *Label19;
  149.         TEdit *edtCW2GAIN_TABLE0;
  150.         TEdit *edtCW2GAIN_TABLE1;
  151.         TEdit *edtCW2GAIN_TABLE2;
  152.         TEdit *edtCW2GAIN_TABLE3;
  153.         TEdit *edtCW2GAIN_TABLE4;
  154.         TEdit *edtCW2GAIN_TABLE5;
  155.         TEdit *edtCW2MODE0;
  156.         TEdit *edtCW2MODE1;
  157.         TEdit *edtCW2AUTO_CAL;
  158.         TEdit *edtCW2DC_DAC_AQ0;
  159.         TEdit *edtCW2DC_DAC_AQ1;
  160.         TEdit *edtCW2DC_DAC_AQ2;
  161.         TEdit *edtCW2DC_DAC_AQ3;
  162.         TEdit *edtCW2DC_DAC_AQ4;
  163.         TEdit *edtCW2DC_DAC_AQ5;
  164.         TEdit *edtCW2DC_DAC_AI0;
  165.         TEdit *edtCW2DC_DAC_AI1;
  166.         TEdit *edtCW2DC_DAC_AI2;
  167.         TEdit *edtCW2DC_DAC_AI3;
  168.         TEdit *edtCW2DC_DAC_AI4;
  169.         TEdit *edtCW2DC_DAC_AI5;
  170.         TPanel *Panel7;
  171.         TPanel *Panel8;
  172.         TLabel *Label20;
  173.         TLabel *Label21;
  174.         TLabel *Label22;
  175.         TLabel *Label23;
  176.         TLabel *Label24;
  177.         TLabel *Label25;
  178.         TLabel *Label26;
  179.         TLabel *Label27;
  180.         TEdit *edtCW3IFPOLP;
  181.         TEdit *edtCW3IFPGAP1;
  182.         TEdit *edtCW3IFPGAP2;
  183.         TEdit *edtCW3RXDIVP;
  184.         TEdit *edtCW3SYNPFDP;
  185.         TEdit *edtCW3SYNDIVP;
  186.         TEdit *edtCW3RFLNAP;
  187.         TEdit *edtCW3RFMIXP;
  188.         TPanel *Panel9;
  189.         TPanel *Panel10;
  190.         TLabel *Label28;
  191.         TLabel *Label29;
  192.         TLabel *Label30;
  193.         TLabel *Label31;
  194.         TLabel *Label32;
  195.         TLabel *Label33;
  196.         TLabel *Label34;
  197.         TLabel *Label35;
  198.         TLabel *Label36;
  199.         TLabel *Label37;
  200.         TLabel *Label38;
  201.         TLabel *Label39;
  202.         TEdit *edtCW4SCA_CR_FI;
  203.         TEdit *edtCW4SYNPFD0;
  204.         TEdit *edtCW4SYNPFD1;
  205.         TEdit *edtCW4SYNTYP;
  206.         TEdit *edtCW4SXRSTDIV;
  207.         TEdit *edtCW4C_FRA_IN;
  208.         TEdit *edtCW4LGAC;
  209.         TEdit *edtCW4CALMODE1;
  210.         TEdit *edtCW4CALMODE0;
  211.         TEdit *edtCW4DREAD;
  212.         TEdit *edtCW4VCO_VSET0;
  213.         TEdit *edtCW4CAL_DELAY0;
  214.         TEdit *edtCW4FLDIS;
  215.         TEdit *edtCW4OTAEN;
  216.         TPanel *Panel11;
  217.         TPanel *Panel12;
  218.         TLabel *Label40;
  219.         TLabel *Label41;
  220.         TLabel *Label45;
  221.         TLabel *Label46;
  222.         TEdit *edtCW5RES0;
  223.         TEdit *edtCW5RES2;
  224.         TEdit *edtCW5RES1;
  225.         TEdit *edtCW5RES3;
  226.         TEdit *edtCW5RES4;
  227.         TEdit *edtCW5RESB0;
  228.         TEdit *edtCW5RESB1;
  229.         TEdit *edtCW5RESB2;
  230.         TEdit *edtCW5RESB3;
  231.         TEdit *edtCW5RESB4;
  232.         TEdit *edtCW5RX_FT1;
  233.         TEdit *edtCW5RX_FT0;
  234.         TPanel *Panel13;
  235.         TPanel *Panel14;
  236.         TLabel *Label48;
  237.         TLabel *Label49;
  238.         TLabel *Label50;
  239.         TLabel *Label51;
  240.         TLabel *Label52;
  241.         TLabel *Label53;
  242.         TLabel *Label54;
  243.         TEdit *edtCW6VCOSET;
  244.         TEdit *edtCW6VCO_SCA0;
  245.         TEdit *edtCW6VCO_SCA1;
  246.         TEdit *edtCW6VCO_SCA2;
  247.         TEdit *edtCW6VCO_SCA3;
  248.         TEdit *edtCW6VCO_SCA4;
  249.         TEdit *edtCW6VCO_SCA5;
  250.         TEdit *edtCW6VCO_SCA6;
  251.         TEdit *edtCW6SIO5;
  252.         TEdit *edtCW6MONITOR;
  253.         TEdit *edtCW6VCOBUFP;
  254.         TEdit *edtCW6T_LATCH;
  255.         TEdit *edtCW6T_CLK;
  256.         TTabSheet *TabSheet2;
  257.         TPanel *Panel15;
  258.         TPanel *Panel16;
  259.         TPanel *Panel17;
  260.         TLabel *Label55;
  261.         TEdit *edtCW7RX_GAIN0;
  262.         TEdit *edtCW7RX_GAIN1;
  263.         TEdit *edtCW7RX_GAIN2;
  264.         TEdit *edtCW7RX_GAIN3;
  265.         TEdit *edtCW7RX_GAIN4;
  266.         TEdit *edtCW7RX_GAIN5;
  267.         TEdit *edtCW7RX_GAIN6;
  268.         TLabel *Label56;
  269.         TEdit *edtCW7AUTO_GAIN_SEL;
  270.         TLabel *Label57;
  271.         TEdit *edtCW7MAN_CODE;
  272.         TPanel *Panel18;
  273.         TLabel *Label60;
  274.         TEdit *edtCW8DC_DAC_CI0;
  275.         TEdit *edtCW8DC_DAC_CI1;
  276.         TEdit *edtCW8DC_DAC_CI2;
  277.         TEdit *edtCW8DC_DAC_CI3;
  278.         TEdit *edtCW8DC_DAC_CI4;
  279.         TEdit *edtCW8DC_DAC_CI5;
  280.         TEdit *edtCW8DC_DAC_CI6;
  281.         TLabel *Label61;
  282.         TEdit *edtCW8DC_DAC_BI0;
  283.         TEdit *edtCW8DC_DAC_BI1;
  284.         TEdit *edtCW8DC_DAC_BI2;
  285.         TEdit *edtCW8DC_DAC_BI3;
  286.         TEdit *edtCW8DC_DAC_BI4;
  287.         TEdit *edtCW8DC_DAC_BI5;
  288.         TEdit *edtCW8DC_DAC_BI6;
  289.         TLabel *Label62;
  290.         TEdit *edtCW8SWEN;
  291.         TLabel *Label63;
  292.         TEdit *edtCW8SWA;
  293.         TLabel *Label64;
  294.         TEdit *edtCW8SWB;
  295.         TLabel *Label65;
  296.         TEdit *edtCW8SW1;
  297.         TLabel *Label66;
  298.         TEdit *edtCW8SW2;
  299.         TLabel *Label67;
  300.         TEdit *edtCW8SW3;
  301.         TPanel *Panel19;
  302.         TPanel *Panel20;
  303.         TLabel *Label68;
  304.         TEdit *edtCW9DC_DAC_CQ0;
  305.         TEdit *edtCW9DC_DAC_CQ1;
  306.         TEdit *edtCW9DC_DAC_CQ2;
  307.         TEdit *edtCW9DC_DAC_CQ3;
  308.         TEdit *edtCW9DC_DAC_CQ4;
  309.         TEdit *edtCW9DC_DAC_CQ5;
  310.         TEdit *edtCW9DC_DAC_CQ6;
  311.         TEdit *edtCW9DC_DAC_BQ0;
  312.         TEdit *edtCW9DC_DAC_BQ1;
  313.         TEdit *edtCW9DC_DAC_BQ2;
  314.         TEdit *edtCW9DC_DAC_BQ3;
  315.         TEdit *edtCW9DC_DAC_BQ4;
  316.         TEdit *edtCW9DC_DAC_BQ5;
  317.         TEdit *edtCW9DC_DAC_BQ6;
  318.         TLabel *Label69;
  319.         TLabel *Label70;
  320.         TEdit *edtCW9PWR_DAC_C;
  321.         TLabel *Label71;
  322.         TEdit *edtCW9PWR_DAC_B;
  323.         TLabel *Label72;
  324.         TEdit *edtCW9PWR_DAC_A;
  325.         TPanel *Panel21;
  326.         TPanel *Panel22;
  327.         TPanel *Panel23;
  328.         TPanel *Panel24;
  329.         TPanel *Panel25;
  330.         TPanel *Panel26;
  331.         TLabel *Label73;
  332.         TEdit *edtCW10AM_DACQ0;
  333.         TEdit *edtCW10AM_DACQ1;
  334.         TEdit *edtCW10AM_DACQ2;
  335.         TEdit *edtCW10AM_DACQ3;
  336.         TEdit *edtCW10AM_DACQ4;
  337.         TEdit *edtCW10AM_DACQ5;
  338.         TEdit *edtCW10AM_DACQ6;
  339.         TLabel *Label74;
  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.         TEdit *edtCW11TX_ITC0;
  348.         TLabel *Label75;
  349.         TLabel *Label76;
  350.         TEdit *edtCW11TX_ITC1;
  351.         TLabel *Label77;
  352.         TEdit *edtCW11TX_ITC2;
  353.         TLabel *Label78;
  354.         TEdit *edtCW11TX_ITC3;
  355.         TLabel *Label79;
  356.         TEdit *edtCW11TXDIV4_IL_GL;
  357.         TLabel *Label80;
  358.         TEdit *edtCW11TXIOS_TC2;
  359.         TEdit *edtCW11TXQOS_VGAIC0;
  360.         TEdit *edtCW11TXQOS_VGAIC1;
  361.         TEdit *edtCW11TXQOS_VGAIC2;
  362.         TLabel *Label84;
  363.         TEdit *edtCW11TXVAPC2;
  364.         TEdit *edtCW11TXVAPC1;
  365.         TEdit *edtCW11TXVAPC0;
  366.         TLabel *Label86;
  367.         TEdit *edtCW11TXDIV_GC0;
  368.         TLabel *Label87;
  369.         TEdit *edtCW11TXDIV_GC1;
  370.         TLabel *Label88;
  371.         TEdit *edtCW11APC_SEL;
  372.         TLabel *Label89;
  373.         TEdit *edtCW11LBMOD_GCO;
  374.         TLabel *Label90;
  375.         TEdit *edtCW11HBMOD_GC0;
  376.         TLabel *Label91;
  377.         TEdit *edtCW11HBMOD_GC1;
  378.         TLabel *Label92;
  379.         TEdit *edtCW11TXIOS_TC0;
  380.         TLabel *lblCW11TXQOS_VGAIC;
  381.         TEdit *edtCW11TXIOS_TC1;
  382.         TLabel *Label94;
  383.         TEdit *edtCW15ADDRESS_DATA_OUT0;
  384.         TEdit *edtCW15ADDRESS_DATA_OUT1;
  385.         TEdit *edtCW15ADDRESS_DATA_OUT2;
  386.         TEdit *edtCW15ADDRESS_DATA_OUT3;
  387.         TLabel *Label95;
  388.         TEdit *edtCW15AUXOUT_SELETCION0;
  389.         TEdit *edtCW15AUXOUT_SELETCION1;
  390.         TEdit *edtCW15AUXOUT_SELETCION2;
  391.         TEdit *edtCW15AUXOUT_SELETCION3;
  392.         TEdit *edtCW15AUXOUT_SELETCION4;
  393.         TEdit *edtCW15AUXOUT_SELETCION5;
  394.         TEdit *edtCW15AUXOUT_SELETCION6;
  395.         TButton *btnReadCW0FromReg;
  396.         TButton *btnWriteCW0ToReg;
  397.         TButton *btnReadCW1FromReg;
  398.         TButton *btnWriteCW1ToReg;
  399.         TButton *btnReadCW2FromReg;
  400.         TButton *btnWriteCW2ToReg;
  401.         TButton *btnReadCW3FromReg;
  402.         TButton *btnWriteCW3ToReg;
  403.         TButton *btnReadCW4FromReg;
  404.         TButton *btnWriteCW4ToReg;
  405.         TButton *btnReadCW5FromReg;
  406.         TButton *btnWriteCW5ToReg;
  407.         TButton *btnReadCW6FromReg;
  408.         TButton *btnWriteCW6ToReg;
  409.         TButton *btnReadCW7FromReg;
  410.         TButton *btnWriteCW7ToReg;
  411.         TButton *btnReadCW8FromReg;
  412.         TButton *btnWriteCW8ToReg;
  413.         TButton *btnReadCW9FromReg;
  414.         TButton *btnWriteCW9ToReg;
  415.         TButton *btnReadCW10FromReg;
  416.         TButton *btnWriteCW10ToReg;
  417.         TButton *btnReadCW11FromReg;
  418.         TButton *btnWriteCW11ToReg;
  419.         TButton *btnReadCW15FromReg;
  420.         TButton *btnWriteCW15ToReg;
  421.         TStatusBar *sbMT6140Reg;
  422.         TStaticText *lblHint;
  423.         TTimer *HintTimer;
  424.         TEdit *edtCW2MODE2;
  425.         TEdit *edtCW4VCO_VSET1;
  426.         TEdit *edtCW4CAL_DELAY1;
  427.         TEdit *edtCW7RX_GAIN7;
  428.         TButton *btnReadAllReg;
  429.         TButton *btnWriteAllReg;
  430.         TLabel *Label12;
  431.         TLabel *Label47;
  432.         TEdit *edtCW4SXICP_SW0;
  433.         TEdit *edtCW4SXICP_SW1;
  434.         TEdit *edtCW4BGON_DELAY0;
  435.         TEdit *edtCW4BGON_DELAY1;
  436.         TLabel *Label42;
  437.         TEdit *edtENABLE_AM;
  438.         TPanel *Panel27;
  439.         TPanel *Panel28;
  440.         TEdit *edtCW11DIVB_SEL1;
  441.         TEdit *edtCW11DIVB_SEL0;
  442.         TButton *btnReadCW12FromReg;
  443.         TButton *btnWriteCW12ToReg;
  444.         TLabel *Label43;
  445.         TEdit *edtCW12TX_ITC0;
  446.         TLabel *Label44;
  447.         TLabel *Label58;
  448.         TLabel *Label59;
  449.         TEdit *edtCW12TX_ITC3;
  450.         TEdit *edtCW12TX_ITC1;
  451.         TEdit *edtCW12TX_ITC2;
  452.         TLabel *Label81;
  453.         TLabel *Label82;
  454.         TLabel *Label83;
  455.         TEdit *edtCW12TXVAPC0;
  456.         TEdit *edtCW12TXVAPC1;
  457.         TEdit *edtCW12TXVAPC2;
  458.         TEdit *edtCW12TXDIV_GC0;
  459.         TEdit *edtCW12TXDIV_GC1;
  460.         TLabel *Label85;
  461.         TLabel *Label93;
  462.         TLabel *Label96;
  463.         TEdit *edtCW12APC_SEL;
  464.         TEdit *edtCW12LBMOD_GCO;
  465.         TEdit *edtCW12HBMOD_GC0;
  466.         TLabel *Label97;
  467.         TEdit *edtCW12HBMOD_GC1;
  468.         TLabel *Label98;
  469.         TEdit *edtCW12TXDIV4_IL_GL;
  470.         TLabel *Label99;
  471.         TLabel *Label100;
  472.         TLabel *Label101;
  473.         TEdit *edtCW12TXIOS_TC0;
  474.         TEdit *edtCW12TXIOS_TC1;
  475.         TEdit *edtCW12TXIOS_TC2;
  476.         TEdit *edtCW12TXQOS_VGAIC0;
  477.         TEdit *edtCW12TXQOS_VGAIC1;
  478.         TEdit *edtCW12TXQOS_VGAIC2;
  479.         TEdit *edtCW12DIVB_SEL0;
  480.         TEdit *edtCW12DIVB_SEL1;
  481.         void __fastcall edtPORCheck(TObject *Sender);
  482.         void __fastcall edtCW0GPOCheck(TObject *Sender);
  483.         void __fastcall edtCW0TXMOD_BPICheck(TObject *Sender);
  484.         void __fastcall edtCW0VCOSELCheck(TObject *Sender);
  485.         void __fastcall edtCW0AFCCheck(TObject *Sender);
  486.         void __fastcall edtCW0FLTCheck(TObject *Sender);
  487.         void __fastcall edtCW0DIENCheck(TObject *Sender);
  488.         void __fastcall edtCW0SYNPWCheck(TObject *Sender);
  489.         void __fastcall edtCW0SYNCPCheck(TObject *Sender);
  490.         void __fastcall edtCW1TRXCheck(TObject *Sender);
  491.         void __fastcall edtCW1BANDCheck(TObject *Sender);
  492.         void __fastcall edtCW1BUF_MODECheck(TObject *Sender);
  493.         void __fastcall edtCW1N_INTEGERCheck(TObject *Sender);
  494.         void __fastcall edtCW1N_FRACTIONCheck(TObject *Sender);
  495.         void __fastcall edtCW2DC_DAC_AICheck(TObject *Sender);
  496.         void __fastcall edtCW2DC_DAC_AQCheck(TObject *Sender);
  497.         void __fastcall edtCW2AUTO_CALCheck(TObject *Sender);
  498.         void __fastcall edtCW2MODECheck(TObject *Sender);
  499.         void __fastcall edtCW2GAIN_TABLECheck(TObject *Sender);
  500.         void __fastcall edtCW3RFMIXPCheck(TObject *Sender);
  501.         void __fastcall edtCW3RFLNAPCheck(TObject *Sender);
  502.         void __fastcall edtCW3SYNDIVPCheck(TObject *Sender);
  503.         void __fastcall edtCW3SYNPFDPCheck(TObject *Sender);
  504.         void __fastcall edtCW3RXDIVPCheck(TObject *Sender);
  505.         void __fastcall edtCW3IFPGAP2Check(TObject *Sender);
  506.         void __fastcall edtCW3IFPGAP1Check(TObject *Sender);
  507.         void __fastcall edtCW3IFPOLPCheck(TObject *Sender);
  508.         void __fastcall edtCW4OTAENCheck(TObject *Sender);
  509.         void __fastcall edtCW4FLDISCheck(TObject *Sender);
  510.         void __fastcall edtCW4CAL_DELAYCheck(TObject *Sender);
  511.         void __fastcall edtCW4VCO_VSETCheck(TObject *Sender);
  512.         void __fastcall edtCW4DREADCheck(TObject *Sender);
  513.         void __fastcall edtCW4CALMODECheck(TObject *Sender);
  514.         void __fastcall edtCW4LGACCheck(TObject *Sender);
  515.         void __fastcall edtCW4C_FRA_INCheck(TObject *Sender);
  516.         void __fastcall edtCW4SXRSTDIVCheck(TObject *Sender);
  517.         void __fastcall edtCW4SYNTYPCheck(TObject *Sender);
  518.         void __fastcall edtCW4SYNPFDCheck(TObject *Sender);
  519.         void __fastcall edtCW4SCA_CR_FICheck(TObject *Sender);
  520.         void __fastcall edtCW5RX_LNA_MIDCheck(TObject *Sender);
  521.         void __fastcall edtCW5RX_FT0Check(TObject *Sender);
  522.         void __fastcall edtCW5RX_FT1Check(TObject *Sender);
  523.         void __fastcall edtCW5RESBCheck(TObject *Sender);
  524.         void __fastcall edtCW5RESCheck(TObject *Sender);
  525.         void __fastcall edtCW6T_CLKCheck(TObject *Sender);
  526.         void __fastcall edtCW6T_LATCHCheck(TObject *Sender);
  527.         void __fastcall edtCW6VCOBUFPCheck(TObject *Sender);
  528.         void __fastcall edtCW6MONITORCheck(TObject *Sender);
  529.         void __fastcall edtCW6SIO5Check(TObject *Sender);
  530.         void __fastcall edtCW6VCO_SCACheck(TObject *Sender);
  531.         void __fastcall edtCW6VCOSETCheck(TObject *Sender);
  532.         void __fastcall edtCW7MAN_CODECheck(TObject *Sender);
  533.         void __fastcall edtCW7AUTO_GAIN_SELCheck(TObject *Sender);
  534.         void __fastcall edtCW7RX_GAINCheck(TObject *Sender);
  535.         void __fastcall edtCW8SW3Check(TObject *Sender);
  536.         void __fastcall edtCW8SW2Check(TObject *Sender);
  537.         void __fastcall edtCW8SW1Check(TObject *Sender);
  538.         void __fastcall edtCW8SWBCheck(TObject *Sender);
  539.         void __fastcall edtCW8SWACheck(TObject *Sender);
  540.         void __fastcall edtCW8SWENCheck(TObject *Sender);
  541.         void __fastcall edtCW8DC_DAC_BICheck(TObject *Sender);
  542.         void __fastcall edtCW8DC_DAC_CICheck(TObject *Sender);
  543.         void __fastcall edtCW9PWR_DAC_ACheck(TObject *Sender);
  544.         void __fastcall edtCW9PWR_DAC_BCheck(TObject *Sender);
  545.         void __fastcall edtCW9PWR_DAC_CCheck(TObject *Sender);
  546.         void __fastcall edtCW9DC_DAC_BQCheck(TObject *Sender);
  547.         void __fastcall edtCW9DC_DAC_CQCheck(TObject *Sender);
  548.         void __fastcall edtCW11TXDIV_GC0Check(TObject *Sender);
  549.         void __fastcall edtCW10AM_DACICheck(TObject *Sender);
  550.         void __fastcall edtCW10AM_DACQCheck(TObject *Sender);
  551.         void __fastcall edtCW11TXVAPCCheck(TObject *Sender);
  552.         void __fastcall edtCW11TXQOS_VGAICCheck(TObject *Sender);
  553.         void __fastcall edtCW11TXDIV4_IL_GLCheck(TObject *Sender);
  554.         void __fastcall edtCW11TX_ITC3Check(TObject *Sender);
  555.         void __fastcall edtCW11TX_ITC2Check(TObject *Sender);
  556.         void __fastcall edtCW11TX_ITC1Check(TObject *Sender);
  557.         void __fastcall edtCW11TX_ITC0Check(TObject *Sender);
  558.         void __fastcall edtCW11TXIOS_TCCheck(TObject *Sender);
  559.         void __fastcall edtCW11HBMOD_GC1Check(TObject *Sender);
  560.         void __fastcall edtCW11HBMOD_GC0Check(TObject *Sender);
  561.         void __fastcall edtCW11LBMOD_GCOCheck(TObject *Sender);
  562.         void __fastcall edtCW11APC_SELCheck(TObject *Sender);
  563.         void __fastcall edtCW11TXDIV_GC1Check(TObject *Sender);
  564.         void __fastcall btnReadCW0FromRegClick(TObject *Sender);
  565.         void __fastcall btnWriteCW0ToRegClick(TObject *Sender);
  566.         void __fastcall btnReadCW1FromRegClick(TObject *Sender);
  567.         void __fastcall btnWriteCW1ToRegClick(TObject *Sender);
  568.         void __fastcall btnReadCW2FromRegClick(TObject *Sender);
  569.         void __fastcall btnWriteCW2ToRegClick(TObject *Sender);
  570.         void __fastcall btnReadCW3FromRegClick(TObject *Sender);
  571.         void __fastcall btnWriteCW3ToRegClick(TObject *Sender);
  572.         void __fastcall btnReadCW4FromRegClick(TObject *Sender);
  573.         void __fastcall btnWriteCW4ToRegClick(TObject *Sender);
  574.         void __fastcall btnReadCW5FromRegClick(TObject *Sender);
  575.         void __fastcall btnWriteCW5ToRegClick(TObject *Sender);
  576.         void __fastcall btnReadCW6FromRegClick(TObject *Sender);
  577.         void __fastcall btnWriteCW6ToRegClick(TObject *Sender);
  578.         void __fastcall btnReadCW7FromRegClick(TObject *Sender);
  579.         void __fastcall btnWriteCW7ToRegClick(TObject *Sender);
  580.         void __fastcall btnReadCW8FromRegClick(TObject *Sender);
  581.         void __fastcall btnWriteCW8ToRegClick(TObject *Sender);
  582.         void __fastcall btnReadCW9FromRegClick(TObject *Sender);
  583.         void __fastcall btnWriteCW9ToRegClick(TObject *Sender);
  584.         void __fastcall btnReadCW10FromRegClick(TObject *Sender);
  585.         void __fastcall btnWriteCW10ToRegClick(TObject *Sender);
  586.         void __fastcall btnReadCW11FromRegClick(TObject *Sender);
  587.         void __fastcall btnWriteCW11ToRegClick(TObject *Sender);
  588.         void __fastcall btnReadCW15FromRegClick(TObject *Sender);
  589.         void __fastcall btnWriteCW15ToRegClick(TObject *Sender);
  590.         void __fastcall btnReadAllRegClick(TObject *Sender);
  591.         void __fastcall btnWriteAllRegClick(TObject *Sender);
  592.         void __fastcall FormActivate(TObject *Sender);
  593.         void __fastcall FormCreate(TObject *Sender);
  594.         void __fastcall edtCW15AUXOUT_SELETCIONCheck(TObject *Sender);
  595.         void __fastcall edtCW15ADDRESS_DATA_OUTCheck(TObject *Sender);
  596.         void __fastcall HintTimerTimer(TObject *Sender);
  597.         void __fastcall edtCW4BGON_DELAYCheck(TObject *Sender);
  598.         void __fastcall edtCW4SXICP_SWCheck(TObject *Sender);
  599.         void __fastcall edtENABLE_AMCheck(TObject *Sender);
  600.         void __fastcall edtCW11DIVB_SELCheck(TObject *Sender);
  601. private: // User declarations
  602.         // common
  603.         unsigned int  m_uiFinalRfid;
  604.         bool m_bInit;
  605.         // UI
  606.         TEdit *m_edtCW0AFC[MT6140_CW0_AFC_LEN];
  607.         TEdit *m_edtCW0SYNCP[MT6140_CW0_SYNCP_LEN];
  608.         TEdit *m_edtCW1BAND[MT6140_CW1_BAND_LEN];
  609.         TEdit *m_edtCW1N_INTEGER[MT6140_CW1_N_INTEGER_LEN];
  610.         TEdit *m_edtCW1N_FRACTION[MT6140_CW1_N_FRACTION_LEN];
  611.         TEdit *m_edtCW2DC_DAC_AI[MT6140_CW2_DC_DAC_AI_LEN];
  612.         TEdit *m_edtCW2DC_DAC_AQ[MT6140_CW2_DC_DAC_AQ_LEN];
  613.         TEdit *m_edtCW2MODE[MT6140_CW2_MODE_LEN];
  614.         TEdit *m_edtCW2GAIN_TABLE[MT6140_CW2_GAIN_TABLE_LEN];
  615.         TEdit *m_edtCW4CAL_DELAY[MT6140_CW4_CAL_DELAY_LEN];
  616.         TEdit *m_edtCW4VCO_VSET[MT6140_CW4_VCO_VSET_LEN];
  617.         TEdit *m_edtCW4CALMODE[MT6140_CW4_CAL_MODE_LEN];
  618.         TEdit *m_edtCW4SYNPFD[MT6140_CW4_SYN_PFD_LEN];
  619.         TEdit *m_edtCW5RESB[MT6140_CW5_RESB_LEN];
  620.         TEdit *m_edtCW5RES[MT6140_CW5_RES_LEN];
  621.         TEdit *m_edtCW6VCO_SCA[MT6140_CW6_VCO_SCA_LEN];
  622.         TEdit *m_edtCW7LO_VSW_G[MT6140_CW7_LO_VSW_G_LEN];
  623.         TEdit *m_edtCW7LO_VSW_D[MT6140_CW7_LO_VSW_D_LEN];
  624.         TEdit *m_edtCW7RX_GAIN[MT6140_CW7_RX_GAIN_LEN];
  625.         TEdit *m_edtCW8DC_DAC_BI[MT6140_CW8_DC_DAC_BI_LEN];
  626.         TEdit *m_edtCW8DC_DAC_CI[MT6140_CW8_DC_DAC_CI_LEN];
  627.         TEdit *m_edtCW9DC_DAC_BQ[MT6140_CW9_DC_DAC_BQ_LEN];
  628.         TEdit *m_edtCW9DC_DAC_CQ[MT6140_CW9_DC_DAC_CQ_LEN];
  629.         TEdit *m_edtCW10AM_DACI[MT6140_CW10_AM_DACI_LEN];
  630.         TEdit *m_edtCW10AM_DACQ[MT6140_CW10_AM_DACQ_LEN];
  631.         TEdit *m_edtCW11TXVAPC[MT6140C_CW11_TXVAPC_LEN];
  632.         TEdit *m_edtCW11TXIOS_TC[MT6140C_CW11_TXIOS_TC_LEN];
  633.         TEdit *m_edtCW11TXQOS_VGAIC[MT6140C_CW11_TXQOS_VGAIC_LEN];
  634.         TEdit *m_edtCW11DIVB_SEL[MT6140C_CW11_DIVB_SEL_LEN];
  635.         TEdit *m_edtCW12TXVAPC[MT6140C_CW12_TXVAPC_LEN];
  636.         TEdit *m_edtCW12TXIOS_TC[MT6140C_CW12_TXIOS_TC_LEN];
  637.         TEdit *m_edtCW12TXQOS_VGAIC[MT6140C_CW12_TXQOS_VGAIC_LEN];
  638.         TEdit *m_edtCW12DIVB_SEL[MT6140C_CW12_DIVB_SEL_LEN];
  639.        // TEdit *m_edtCW11TXITC[MT6140_CW11_TXITC_LEN];
  640.         TEdit *m_edtCW15AUXOUT_SELETCION[MT6140_CW15_AUXOUT_SELECTION_LEN];
  641.         TEdit *m_edtCW15ADDRESS_DATA_OUT[MT6140_CW15_ADDRESS_DATA_OUT_LEN];
  642.         S_MT6140_CW0 m_sMT6140CCW0;
  643.         S_MT6140_CW1 m_sMT6140CCW1;
  644.         S_MT6140_CW2 m_sMT6140CCW2;
  645.         S_MT6140C_CW3 m_sMT6140CCW3;
  646.         S_MT6140C_CW4 m_sMT6140CCW4;
  647.         S_MT6140C_CW5 m_sMT6140CCW5;
  648.         S_MT6140_CW6 m_sMT6140CCW6;
  649.         S_MT6140C_CW7 m_sMT6140CCW7;
  650.         S_MT6140_CW8 m_sMT6140CCW8;
  651.         S_MT6140C_CW9 m_sMT6140CCW9;
  652.         S_MT6140_CW10 m_sMT6140CCW10;
  653.         S_MT6140C_CW11 m_sMT6140CCW11;
  654.         S_MT6140_CW15 m_sMT6140CCW15;
  655.         CRFMT6140CREG  m_cRF_MT6140CReg_Obj;
  656. public: // User declarations
  657.         __fastcall TfrmMT6140CReg(TComponent* Owner);
  658.         void Init( void );
  659.         void ShowHintLabel( TControl *sender, char* hint );
  660.         void ReDrawCW0Fields( void );
  661.         void ReDrawCW1Fields( void );
  662.         void ReDrawCW2Fields( void );
  663.         void ReDrawCW3Fields( void );
  664.         void ReDrawCW4Fields( void );
  665.         void ReDrawCW5Fields( void );
  666.         void ReDrawCW6Fields( void );
  667.         void ReDrawCW7Fields( void );
  668.         void ReDrawCW8Fields( void );
  669.         void ReDrawCW9Fields( void );
  670.         void ReDrawCW10Fields( void );
  671.         void ReDrawCW11Fields( void );
  672.         void ReDrawCW15Fields( void );
  673.         void  CurrentPageReset( void );
  674.         void  CurrentPageLock( void );
  675.         bool __fastcall edtCheck(TObject *Sender);
  676.         // call back
  677.         void CNF_GetMT6140AllFromReg( void );
  678.         void CNF_SetMT6140AllToReg( void );
  679.         void CNF_GetMT6140CW0FromReg( void );
  680.         void CNF_SetMT6140CW0ToReg( void );
  681.         void CNF_GetMT6140CW1FromReg( void );
  682.         void CNF_SetMT6140CW1ToReg( void );
  683.         void CNF_GetMT6140CW2FromReg( void );
  684.         void CNF_SetMT6140CW2ToReg( void );
  685.         void CNF_GetMT6140CW3FromReg( void );
  686.         void CNF_SetMT6140CW3ToReg( void );
  687.         void CNF_GetMT6140CW4FromReg( void );
  688.         void CNF_SetMT6140CW4ToReg( void );
  689.         void CNF_GetMT6140CW5FromReg( void );
  690.         void CNF_SetMT6140CW5ToReg( void );
  691.         void CNF_GetMT6140CW6FromReg( void );
  692.         void CNF_SetMT6140CW6ToReg( void );
  693.         void CNF_GetMT6140CW7FromReg( void );
  694.         void CNF_SetMT6140CW7ToReg( void );
  695.         void CNF_GetMT6140CW8FromReg( void );
  696.         void CNF_SetMT6140CW8ToReg( void );
  697.         void CNF_GetMT6140CW9FromReg( void );
  698.         void CNF_SetMT6140CW9ToReg( void );
  699.         void CNF_GetMT6140CW10FromReg( void );
  700.         void CNF_SetMT6140CW10ToReg( void );
  701.         void CNF_GetMT6140CW11FromReg( void );
  702.         void CNF_SetMT6140CW11ToReg( void );
  703.         void CNF_GetMT6140CW15FromReg( void );
  704.         void CNF_SetMT6140CW15ToReg( void );
  705. };
  706. //---------------------------------------------------------------------------
  707. extern PACKAGE TfrmMT6140CReg *frmMT6140CReg;
  708. //---------------------------------------------------------------------------
  709. #endif