1 /////////////////////////////////////////////////////////////////////////// 2 // C++ code generated with wxFormBuilder (version Sep 24 2018) 3 // http://www.wxformbuilder.org/ 4 // 5 // PLEASE DO *NOT* EDIT THIS FILE! 6 /////////////////////////////////////////////////////////////////////////// 7 8 #ifndef __LMS7002_WXGUI_H__ 9 #define __LMS7002_WXGUI_H__ 10 11 #include <wx/artprov.h> 12 #include <wx/xrc/xmlres.h> 13 class NumericSlider; 14 class lms7002_pnlAFE_view; 15 class lms7002_pnlBIAS_view; 16 class lms7002_pnlBIST_view; 17 class lms7002_pnlCDS_view; 18 class lms7002_pnlCLKGEN_view; 19 class lms7002_pnlCalibrations_view; 20 class lms7002_pnlGains_view; 21 class lms7002_pnlLDO_view; 22 class lms7002_pnlLimeLightPAD_view; 23 class lms7002_pnlRBB_view; 24 class lms7002_pnlRFE_view; 25 class lms7002_pnlRxTSP_view; 26 class lms7002_pnlSX_view; 27 class lms7002_pnlTBB_view; 28 class lms7002_pnlTRF_view; 29 class lms7002_pnlTxTSP_view; 30 class lms7002_pnlXBUF_view; 31 32 #include <wx/string.h> 33 #include <wx/button.h> 34 #include <wx/gdicmn.h> 35 #include <wx/font.h> 36 #include <wx/colour.h> 37 #include <wx/settings.h> 38 #include <wx/combobox.h> 39 #include <wx/radiobut.h> 40 #include <wx/checkbox.h> 41 #include <wx/sizer.h> 42 #include <wx/stattext.h> 43 #include <wx/panel.h> 44 #include <wx/bitmap.h> 45 #include <wx/image.h> 46 #include <wx/icon.h> 47 #include <wx/notebook.h> 48 #include <wx/statbox.h> 49 #include <wx/spinctrl.h> 50 #include <wx/radiobox.h> 51 #include <wx/textctrl.h> 52 #include <wx/choice.h> 53 #include <wx/gauge.h> 54 #include <wx/grid.h> 55 #include <wx/dialog.h> 56 57 /////////////////////////////////////////////////////////////////////////// 58 59 /////////////////////////////////////////////////////////////////////////////// 60 /// Class mainPanel 61 /////////////////////////////////////////////////////////////////////////////// 62 class mainPanel : public wxPanel 63 { 64 private: 65 66 protected: 67 enum 68 { 69 ID_G_LNA_RFE = 2048, 70 ID_BTN_CH_A, 71 ID_BTN_CH_B, 72 ID_BTN_CHIP_TO_GUI, 73 ID_BTN_RESET_CHIP, 74 ID_TABS_NOTEBOOK, 75 ID_TAB_CALIBRATIONS, 76 ID_TAB_RFE, 77 ID_TAB_RBB, 78 ID_TAB_TRF, 79 ID_TAB_TBB, 80 ID_TAB_AFE, 81 ID_TAB_BIAS, 82 ID_TAB_LDO, 83 ID_TAB_XBUF, 84 ID_TAB_CGEN, 85 ID_TAB_SXR, 86 ID_TAB_SXT, 87 ID_TAB_LIMELIGHT, 88 ID_TAB_TXTSP, 89 ID_TAB_RXTSP, 90 ID_TAB_CDS, 91 ID_TAB_BIST, 92 ID_TAB_GAINS 93 }; 94 95 wxButton* ID_BUTTON2; 96 wxButton* ID_BUTTON3; 97 wxComboBox* cmbLmsDevice; 98 wxRadioButton* rbChannelA; 99 wxRadioButton* rbChannelB; 100 wxCheckBox* chkEnableMIMO; 101 wxButton* btnDownloadAll; 102 wxButton* btnUploadAll; 103 wxButton* btnResetChip; 104 wxButton* btnLoadDefault; 105 wxStaticText* txtTemperature; 106 wxButton* btnReadTemperature; 107 wxNotebook* tabsNotebook; 108 109 // Virtual event handlers, overide them in your derived class OnOpenProject(wxCommandEvent & event)110 virtual void OnOpenProject( wxCommandEvent& event ) { event.Skip(); } OnSaveProject(wxCommandEvent & event)111 virtual void OnSaveProject( wxCommandEvent& event ) { event.Skip(); } OnLmsDeviceSelect(wxCommandEvent & event)112 virtual void OnLmsDeviceSelect( wxCommandEvent& event ) { event.Skip(); } OnSwitchToChannelA(wxCommandEvent & event)113 virtual void OnSwitchToChannelA( wxCommandEvent& event ) { event.Skip(); } OnSwitchToChannelB(wxCommandEvent & event)114 virtual void OnSwitchToChannelB( wxCommandEvent& event ) { event.Skip(); } OnEnableMIMOchecked(wxCommandEvent & event)115 virtual void OnEnableMIMOchecked( wxCommandEvent& event ) { event.Skip(); } OnDownloadAll(wxCommandEvent & event)116 virtual void OnDownloadAll( wxCommandEvent& event ) { event.Skip(); } OnUploadAll(wxCommandEvent & event)117 virtual void OnUploadAll( wxCommandEvent& event ) { event.Skip(); } OnResetChip(wxCommandEvent & event)118 virtual void OnResetChip( wxCommandEvent& event ) { event.Skip(); } OnLoadDefault(wxCommandEvent & event)119 virtual void OnLoadDefault( wxCommandEvent& event ) { event.Skip(); } OnReadTemperature(wxCommandEvent & event)120 virtual void OnReadTemperature( wxCommandEvent& event ) { event.Skip(); } Onnotebook_modulesPageChanged(wxNotebookEvent & event)121 virtual void Onnotebook_modulesPageChanged( wxNotebookEvent& event ) { event.Skip(); } 122 123 124 public: 125 lms7002_pnlCalibrations_view* mTabCalibrations; 126 lms7002_pnlRFE_view* mTabRFE; 127 lms7002_pnlRBB_view* mTabRBB; 128 lms7002_pnlTRF_view* mTabTRF; 129 lms7002_pnlTBB_view* mTabTBB; 130 lms7002_pnlAFE_view* mTabAFE; 131 lms7002_pnlBIAS_view* mTabBIAS; 132 lms7002_pnlLDO_view* mTabLDO; 133 lms7002_pnlXBUF_view* mTabXBUF; 134 lms7002_pnlCLKGEN_view* mTabCGEN; 135 lms7002_pnlSX_view* mTabSXR; 136 lms7002_pnlSX_view* mTabSXT; 137 lms7002_pnlLimeLightPAD_view* mTabLimeLight; 138 lms7002_pnlTxTSP_view* mTabTxTSP; 139 lms7002_pnlRxTSP_view* mTabRxTSP; 140 lms7002_pnlCDS_view* mTabCDS; 141 lms7002_pnlBIST_view* mTabBIST; 142 lms7002_pnlGains_view* mTabTrxGain; 143 144 mainPanel( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxTAB_TRAVERSAL ); 145 ~mainPanel(); 146 147 }; 148 149 /////////////////////////////////////////////////////////////////////////////// 150 /// Class pnlRFE_view 151 /////////////////////////////////////////////////////////////////////////////// 152 class pnlRFE_view : public wxPanel 153 { 154 private: 155 156 protected: 157 enum 158 { 159 ID_PD_LNA_RFE = 2048, 160 ID_PD_RLOOPB_1_RFE, 161 ID_PD_RLOOPB_2_RFE, 162 ID_PD_MXLOBUF_RFE, 163 ID_PD_QGEN_RFE, 164 ID_PD_RSSI_RFE, 165 ID_PD_TIA_RFE, 166 ID_EN_G_RFE, 167 ID_EN_DIR_RFE, 168 ID_EN_INSHSW_LB1_RFE, 169 ID_EN_INSHSW_LB2_RFE, 170 ID_EN_INSHSW_L_RFE, 171 ID_EN_INSHSW_W_RFE, 172 ID_SEL_PATH_RFE, 173 ID_CAP_RXMXO_RFE, 174 ID_CGSIN_LNA_RFE, 175 ID_RCOMP_TIA_RFE, 176 ID_RFB_TIA_RFE, 177 ID_EN_NEXTRX_RFE, 178 ID_ICT_LNACMO_RFE, 179 ID_ICT_LNA_RFE, 180 ID_DCOFFI_RFE, 181 ID_DCOFFQ_RFE, 182 ID_ICT_LODC_RFE, 183 ID_EN_DCOFF_RXFE_RFE, 184 ID_CCOMP_TIA_RFE, 185 ID_CFB_TIA_RFE, 186 ID_G_LNA_RFE, 187 ID_G_RXLOOPB_RFE, 188 ID_G_TIA_RFE, 189 ID_ICT_LOOPB_RFE, 190 ID_ICT_TIAMAIN_RFE, 191 ID_ICT_TIAOUT_RFE, 192 ID_CDC_I_RFE, 193 ID_CDC_Q_RFE 194 }; 195 196 wxCheckBox* chkPD_LNA_RFE; 197 wxCheckBox* chkPD_RLOOPB_1_RFE; 198 wxCheckBox* chkPD_RLOOPB_2_RFE; 199 wxCheckBox* chkPD_MXLOBUF_RFE; 200 wxCheckBox* chkPD_QGEN_RFE; 201 wxCheckBox* chkPD_RSSI_RFE; 202 wxCheckBox* chkPD_TIA_RFE; 203 wxCheckBox* chkEN_G_RFE; 204 wxCheckBox* chkEN_DIR_RFE; 205 wxCheckBox* chkEN_INSHSW_LB1_RFE; 206 wxCheckBox* chkEN_INSHSW_LB2_RFE; 207 wxCheckBox* chkEN_INSHSW_L_RFE; 208 wxCheckBox* chkEN_INSHSW_W_RFE; 209 wxStaticText* ID_STATICTEXT1; 210 wxComboBox* cmbSEL_PATH_RFE; 211 wxStaticText* ID_STATICTEXT2; 212 wxComboBox* cmbCAP_RXMXO_RFE; 213 wxStaticText* ID_STATICTEXT3; 214 wxComboBox* cmbCGSIN_LNA_RFE; 215 wxStaticText* ID_STATICTEXT4; 216 wxComboBox* cmbRCOMP_TIA_RFE; 217 wxStaticText* ID_STATICTEXT5; 218 wxComboBox* cmbRFB_TIA_RFE; 219 wxCheckBox* chkEN_NEXTRX_RFE; 220 wxStaticText* ID_STATICTEXT12; 221 wxComboBox* cmbICT_LNACMO_RFE; 222 wxStaticText* ID_STATICTEXT13; 223 wxComboBox* cmbICT_LNA_RFE; 224 wxStaticText* ID_STATICTEXT6; 225 NumericSlider* cmbDCOFFI_RFE; 226 wxStaticText* ID_STATICTEXT7; 227 NumericSlider* cmbDCOFFQ_RFE; 228 wxStaticText* ID_STATICTEXT8; 229 wxComboBox* cmbICT_LODC_RFE; 230 wxCheckBox* chkEN_DCOFF_RXFE_RFE; 231 wxStaticText* ID_STATICTEXT14; 232 wxComboBox* cmbCCOMP_TIA_RFE; 233 wxStaticText* ID_STATICTEXT15; 234 NumericSlider* cmbCFB_TIA_RFE; 235 wxStaticText* ID_STATICTEXT16; 236 wxComboBox* cmbG_LNA_RFE; 237 wxStaticText* ID_STATICTEXT17; 238 wxComboBox* cmbG_RXLOOPB_RFE; 239 wxStaticText* ID_STATICTEXT18; 240 wxComboBox* cmbG_TIA_RFE; 241 wxStaticText* ID_STATICTEXT9; 242 wxComboBox* cmbICT_LOOPB_RFE; 243 wxStaticText* ID_STATICTEXT10; 244 NumericSlider* cmbICT_TIAMAIN_RFE; 245 wxStaticText* ID_STATICTEXT11; 246 NumericSlider* cmbICT_TIAOUT_RFE; 247 wxStaticText* ID_STATICTEXT19; 248 wxComboBox* cmbCDC_I_RFE; 249 wxStaticText* ID_STATICTEXT20; 250 wxComboBox* cmbCDC_Q_RFE; 251 252 // Virtual event handlers, overide them in your derived class ParameterChangeHandler(wxCommandEvent & event)253 virtual void ParameterChangeHandler( wxCommandEvent& event ) { event.Skip(); } ParameterChangeHandler(wxSpinEvent & event)254 virtual void ParameterChangeHandler( wxSpinEvent& event ) { event.Skip(); } 255 256 257 public: 258 259 pnlRFE_view( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxTAB_TRAVERSAL ); 260 ~pnlRFE_view(); 261 262 }; 263 264 /////////////////////////////////////////////////////////////////////////////// 265 /// Class pnlRBB_view 266 /////////////////////////////////////////////////////////////////////////////// 267 class pnlRBB_view : public wxPanel 268 { 269 private: 270 271 protected: 272 enum 273 { 274 ID_PD_LPFH_RBB = 2048, 275 ID_PD_LPFL_RBB, 276 ID_PD_PGA_RBB, 277 ID_EN_G_RBB, 278 ID_EN_DIR_RBB, 279 ID_BBLoopback, 280 ID_INPUT_CTL_PGA_RBB, 281 ID_G_PGA_RBB, 282 ID_C_CTL_PGA_RBB, 283 ID_OSW_PGA_RBB, 284 ID_R_CTL_LPF_RBB, 285 ID_C_CTL_LPFH_RBB, 286 ID_C_CTL_LPFL_RBB, 287 ID_TXT_LOWBW, 288 ID_BTN_TUNE_FILTER, 289 ID_RCC_CTL_LPFH_RBB, 290 ID_RCC_CTL_LPFL_RBB, 291 ID_ICT_LPF_IN_RBB, 292 ID_ICT_LPF_OUT_RBB, 293 ID_ICT_PGA_OUT_RBB, 294 ID_ICT_PGA_IN_RBB, 295 ID_RCC_CTL_PGA_RBB 296 }; 297 298 wxCheckBox* chkPD_LPFH_RBB; 299 wxCheckBox* chkPD_LPFL_RBB; 300 wxCheckBox* chkPD_PGA_RBB; 301 wxCheckBox* chkEN_G_RBB; 302 wxCheckBox* chkEN_DIR_RBB; 303 wxStaticText* ID_STATICTEXT14; 304 wxComboBox* cmbBBLoopback; 305 wxStaticText* ID_STATICTEXT1; 306 wxComboBox* cmbINPUT_CTL_PGA_RBB; 307 wxStaticText* ID_STATICTEXT2; 308 wxComboBox* cmbG_PGA_RBB; 309 wxStaticText* ID_STATICTEXT3; 310 NumericSlider* cmbC_CTL_PGA_RBB; 311 wxRadioBox* rgrOSW_PGA_RBB; 312 wxStaticText* ID_STATICTEXT4; 313 wxComboBox* cmbR_CTL_LPF_RBB; 314 wxStaticText* ID_STATICTEXT5; 315 NumericSlider* cmbC_CTL_LPFH_RBB; 316 wxStaticText* ID_STATICTEXT6; 317 NumericSlider* cmbC_CTL_LPFL_RBB; 318 wxStaticText* m_staticText309; 319 wxTextCtrl* txtLowBW_MHz; 320 wxButton* btnTuneFilter; 321 wxStaticText* ID_STATICTEXT7; 322 wxComboBox* cmbRCC_CTL_LPFH_RBB; 323 wxStaticText* ID_STATICTEXT8; 324 wxComboBox* cmbRCC_CTL_LPFL_RBB; 325 wxStaticText* ID_STATICTEXT9; 326 wxComboBox* cmbICT_LPF_IN_RBB; 327 wxStaticText* ID_STATICTEXT10; 328 wxComboBox* cmbICT_LPF_OUT_RBB; 329 wxStaticText* ID_STATICTEXT11; 330 wxComboBox* cmbICT_PGA_OUT_RBB; 331 wxStaticText* ID_STATICTEXT12; 332 wxComboBox* cmbICT_PGA_IN_RBB; 333 wxStaticText* ID_STATICTEXT13; 334 wxComboBox* cmbRCC_CTL_PGA_RBB; 335 336 // Virtual event handlers, overide them in your derived class ParameterChangeHandler(wxCommandEvent & event)337 virtual void ParameterChangeHandler( wxCommandEvent& event ) { event.Skip(); } OncmbBBLoopbackSelected(wxCommandEvent & event)338 virtual void OncmbBBLoopbackSelected( wxCommandEvent& event ) { event.Skip(); } ParameterChangeHandler(wxSpinEvent & event)339 virtual void ParameterChangeHandler( wxSpinEvent& event ) { event.Skip(); } OnbtnTuneFilter(wxCommandEvent & event)340 virtual void OnbtnTuneFilter( wxCommandEvent& event ) { event.Skip(); } 341 342 343 public: 344 345 pnlRBB_view( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxTAB_TRAVERSAL ); 346 ~pnlRBB_view(); 347 348 }; 349 350 /////////////////////////////////////////////////////////////////////////////// 351 /// Class pnlTRF_view 352 /////////////////////////////////////////////////////////////////////////////// 353 class pnlTRF_view : public wxPanel 354 { 355 private: 356 357 protected: 358 enum 359 { 360 ID_PD_PDET_TRF = 2048, 361 ID_PD_TLOBUF_TRF, 362 ID_PD_TXPAD_TRF, 363 ID_EN_G_TRF, 364 ID_EN_DIR_TRF, 365 ID_LOADR_PDET_TRF, 366 ID_ICT_LIN_TXPAD_TRF, 367 ID_ICT_MAIN_TXPAD_TRF, 368 ID_CDC_I_TRF, 369 ID_CDC_Q_TRF, 370 ID_GCAS_GNDREF_TXPAD_TRF, 371 ID_EN_NEXTTX_TRF, 372 ID_EN_LOOPB_TXPAD_TRF, 373 ID_TXFEoutput, 374 ID_EN_LOWBWLOMX_TMX_TRF, 375 ID_EN_AMPHF_PDET_TRF, 376 ID_F_TXPAD_TRF, 377 ID_L_LOOPB_TXPAD_TRF, 378 ID_LOSS_LIN_TXPAD_TRF, 379 ID_LOSS_MAIN_TXPAD_TRF, 380 ID_VGCAS_TXPAD_TRF, 381 ID_LOBIASN_TXM_TRF, 382 ID_LOBIASP_TXX_TRF 383 }; 384 385 wxCheckBox* chkPD_PDET_TRF; 386 wxCheckBox* chkPD_TLOBUF_TRF; 387 wxCheckBox* chkPD_TXPAD_TRF; 388 wxCheckBox* chkEN_G_TRF; 389 wxCheckBox* chkEN_DIR_TRF; 390 wxStaticText* ID_STATICTEXT11; 391 wxComboBox* cmbLOADR_PDET_TRF; 392 wxStaticText* ID_STATICTEXT12; 393 wxComboBox* cmbICT_LIN_TXPAD_TRF; 394 wxStaticText* ID_STATICTEXT13; 395 wxComboBox* cmbICT_MAIN_TXPAD_TRF; 396 wxStaticText* ID_STATICTEXT14; 397 wxComboBox* cmbCDC_I_TRF; 398 wxStaticText* ID_STATICTEXT15; 399 wxComboBox* cmbCDC_Q_TRF; 400 wxRadioBox* rgrGCAS_GNDREF_TXPAD_TRF; 401 wxCheckBox* chkEN_NEXTTX_TRF; 402 wxCheckBox* chkEN_LOOPB_TXPAD_TRF; 403 wxStaticText* ID_STATICTEXT16; 404 wxComboBox* cmbTXFEoutput; 405 wxStaticText* ID_STATICTEXT1; 406 wxComboBox* cmbEN_LOWBWLOMX_TMX_TRF; 407 wxStaticText* ID_STATICTEXT3; 408 wxComboBox* cmbEN_AMPHF_PDET_TRF; 409 wxStaticText* ID_STATICTEXT4; 410 wxComboBox* cmbF_TXPAD_TRF; 411 wxStaticText* ID_STATICTEXT5; 412 wxComboBox* cmbL_LOOPB_TXPAD_TRF; 413 wxStaticText* ID_STATICTEXT6; 414 wxComboBox* cmbLOSS_LIN_TXPAD_TRF; 415 wxStaticText* ID_STATICTEXT7; 416 wxComboBox* cmbLOSS_MAIN_TXPAD_TRF; 417 wxStaticText* ID_STATICTEXT8; 418 wxComboBox* cmbVGCAS_TXPAD_TRF; 419 wxStaticText* ID_STATICTEXT9; 420 wxComboBox* cmbLOBIASN_TXM_TRF; 421 wxStaticText* ID_STATICTEXT10; 422 wxComboBox* cmbLOBIASP_TXX_TRF; 423 424 // Virtual event handlers, overide them in your derived class ParameterChangeHandler(wxCommandEvent & event)425 virtual void ParameterChangeHandler( wxCommandEvent& event ) { event.Skip(); } OnBandChange(wxCommandEvent & event)426 virtual void OnBandChange( wxCommandEvent& event ) { event.Skip(); } 427 428 429 public: 430 431 pnlTRF_view( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxTAB_TRAVERSAL ); 432 ~pnlTRF_view(); 433 434 }; 435 436 /////////////////////////////////////////////////////////////////////////////// 437 /// Class pnlTBB_view 438 /////////////////////////////////////////////////////////////////////////////// 439 class pnlTBB_view : public wxPanel 440 { 441 private: 442 443 protected: 444 enum 445 { 446 ID_PD_LPFH_TBB = 2048, 447 ID_PD_LPFIAMP_TBB, 448 ID_PD_LPFLAD_TBB, 449 ID_PD_LPFS5_TBB, 450 ID_EN_G_TBB, 451 ID_EN_DIR_TBB, 452 ID_BYPLADDER_TBB, 453 ID_LOOPB_TBB, 454 ID_TSTIN_TBB, 455 ID_CG_IAMP_TBB, 456 ID_ICT_IAMP_FRP_TBB, 457 ID_ICT_IAMP_GG_FRP_TBB, 458 ID_ICT_LPFS5_F_TBB, 459 ID_ICT_LPFS5_PT_TBB, 460 ID_ICT_LPF_H_PT_TBB, 461 ID_ICT_LPFH_F_TBB, 462 ID_ICT_LPFLAD_F_TBB, 463 ID_ICT_LPFLAD_PT_TBB, 464 ID_RCAL_LPFH_TBB, 465 ID_RCAL_LPFLAD_TBB, 466 ID_RCAL_LPFS5_TBB, 467 ID_CCAL_LPFLAD_TBB, 468 ID_BTN_TUNE_FILTER 469 }; 470 471 wxCheckBox* chkPD_LPFH_TBB; 472 wxCheckBox* chkPD_LPFIAMP_TBB; 473 wxCheckBox* chkPD_LPFLAD_TBB; 474 wxCheckBox* chkPD_LPFS5_TBB; 475 wxCheckBox* chkEN_G_TBB; 476 wxCheckBox* chkEN_DIR_TBB; 477 wxCheckBox* chkBYPLADDER_TBB; 478 wxCheckBox* chkR5_LPF_BYP_TBB; 479 wxStaticText* ID_STATICTEXT1; 480 wxComboBox* cmbLOOPB_TBB; 481 wxStaticText* ID_STATICTEXT5; 482 wxComboBox* cmbTSTIN_TBB; 483 wxStaticText* ID_STATICTEXT2; 484 NumericSlider* cmbCG_IAMP_TBB; 485 wxStaticText* ID_STATICTEXT3; 486 NumericSlider* cmbICT_IAMP_FRP_TBB; 487 wxStaticText* ID_STATICTEXT4; 488 NumericSlider* cmbICT_IAMP_GG_FRP_TBB; 489 wxStaticText* ID_STATICTEXT6; 490 wxComboBox* cmbICT_LPFS5_F_TBB; 491 wxStaticText* ID_STATICTEXT7; 492 wxComboBox* cmbICT_LPFS5_PT_TBB; 493 wxStaticText* ID_STATICTEXT8; 494 wxComboBox* cmbICT_LPF_H_PT_TBB; 495 wxStaticText* ID_STATICTEXT9; 496 wxComboBox* cmbICT_LPFH_F_TBB; 497 wxStaticText* ID_STATICTEXT10; 498 wxComboBox* cmbICT_LPFLAD_F_TBB; 499 wxStaticText* ID_STATICTEXT11; 500 wxComboBox* cmbICT_LPFLAD_PT_TBB; 501 wxStaticText* ID_STATICTEXT12; 502 NumericSlider* cmbRCAL_LPFH_TBB; 503 wxStaticText* ID_STATICTEXT13; 504 NumericSlider* cmbRCAL_LPFLAD_TBB; 505 wxStaticText* ID_STATICTEXT15; 506 NumericSlider* cmbRCAL_LPFS5_TBB; 507 wxStaticText* ID_STATICTEXT14; 508 NumericSlider* cmbCCAL_LPFLAD_TBB; 509 wxStaticText* lblFilterInputName; 510 wxTextCtrl* txtFilterFrequency; 511 wxButton* btnTuneFilter; 512 wxButton* btnTuneTxGain; 513 514 // Virtual event handlers, overide them in your derived class ParameterChangeHandler(wxCommandEvent & event)515 virtual void ParameterChangeHandler( wxCommandEvent& event ) { event.Skip(); } ParameterChangeHandler(wxSpinEvent & event)516 virtual void ParameterChangeHandler( wxSpinEvent& event ) { event.Skip(); } OnbtnTuneFilter(wxCommandEvent & event)517 virtual void OnbtnTuneFilter( wxCommandEvent& event ) { event.Skip(); } OnbtnTuneTxGain(wxCommandEvent & event)518 virtual void OnbtnTuneTxGain( wxCommandEvent& event ) { event.Skip(); } 519 520 521 public: 522 523 pnlTBB_view( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxTAB_TRAVERSAL ); 524 ~pnlTBB_view(); 525 526 }; 527 528 /////////////////////////////////////////////////////////////////////////////// 529 /// Class pnlAFE_view 530 /////////////////////////////////////////////////////////////////////////////// 531 class pnlAFE_view : public wxPanel 532 { 533 private: 534 535 protected: 536 enum 537 { 538 ID_PD_AFE = 2048, 539 ID_PD_RX_AFE1, 540 ID_PD_RX_AFE2, 541 ID_PD_TX_AFE1, 542 ID_PD_TX_AFE2, 543 ID_EN_G_AFE, 544 ID_ISEL_DAC_AFE, 545 ID_MUX_AFE_1, 546 ID_MUX_AFE_2, 547 ID_MODE_INTERLEAVE_AFE 548 }; 549 550 wxCheckBox* chkPD_AFE; 551 wxCheckBox* chkPD_RX_AFE1; 552 wxCheckBox* chkPD_RX_AFE2; 553 wxCheckBox* chkPD_TX_AFE1; 554 wxCheckBox* chkPD_TX_AFE2; 555 wxCheckBox* chkEN_G_AFE; 556 wxStaticText* ID_STATICTEXT1; 557 wxComboBox* cmbISEL_DAC_AFE; 558 wxStaticText* ID_STATICTEXT2; 559 wxComboBox* cmbMUX_AFE_1; 560 wxStaticText* ID_STATICTEXT3; 561 wxComboBox* cmbMUX_AFE_2; 562 wxRadioBox* rgrMODE_INTERLEAVE_AFE; 563 564 // Virtual event handlers, overide them in your derived class ParameterChangeHandler(wxCommandEvent & event)565 virtual void ParameterChangeHandler( wxCommandEvent& event ) { event.Skip(); } 566 567 568 public: 569 570 pnlAFE_view( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxTAB_TRAVERSAL ); 571 ~pnlAFE_view(); 572 573 }; 574 575 /////////////////////////////////////////////////////////////////////////////// 576 /// Class pnlBIAS_view 577 /////////////////////////////////////////////////////////////////////////////// 578 class pnlBIAS_view : public wxPanel 579 { 580 private: 581 582 protected: 583 enum 584 { 585 ID_PD_FRP_BIAS = 2048, 586 ID_PD_F_BIAS, 587 ID_PD_PTRP_BIAS, 588 ID_PD_PT_BIAS, 589 ID_PD_BIAS_MASTER, 590 ID_MUX_BIAS_OUT, 591 ID_RP_CALIB_BIAS 592 }; 593 594 wxCheckBox* chkPD_FRP_BIAS; 595 wxCheckBox* chkPD_F_BIAS; 596 wxCheckBox* chkPD_PTRP_BIAS; 597 wxCheckBox* chkPD_PT_BIAS; 598 wxCheckBox* chkPD_BIAS_MASTER; 599 wxStaticText* ID_STATICTEXT1; 600 wxComboBox* cmbMUX_BIAS_OUT; 601 wxStaticText* ID_STATICTEXT2; 602 wxComboBox* cmbRP_CALIB_BIAS; 603 wxButton* btnCalibrateRP_BIAS; 604 605 // Virtual event handlers, overide them in your derived class ParameterChangeHandler(wxCommandEvent & event)606 virtual void ParameterChangeHandler( wxCommandEvent& event ) { event.Skip(); } OnCalibrateRP_BIAS(wxCommandEvent & event)607 virtual void OnCalibrateRP_BIAS( wxCommandEvent& event ) { event.Skip(); } 608 609 610 public: 611 612 pnlBIAS_view( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxTAB_TRAVERSAL ); 613 ~pnlBIAS_view(); 614 615 }; 616 617 /////////////////////////////////////////////////////////////////////////////// 618 /// Class pnlLDO_view 619 /////////////////////////////////////////////////////////////////////////////// 620 class pnlLDO_view : public wxPanel 621 { 622 private: 623 624 protected: 625 enum 626 { 627 ID_EN_G_LDOP = 2048, 628 ID_EN_G_LDO, 629 ID_EN_LDO_DIVGN, 630 ID_EN_LDO_DIGGN, 631 ID_EN_LDO_CPGN, 632 ID_EN_LDO_VCOGN, 633 ID_EN_LDO_MXRFE, 634 ID_EN_LDO_LNA14, 635 ID_EN_LDO_LNA12, 636 ID_EN_LDO_TIA14, 637 ID_EN_LDO_DIVSXT, 638 ID_EN_LDO_DIGSXT, 639 ID_EN_LDO_CPSXT, 640 ID_EN_LDO_VCOSXT, 641 ID_EN_LDO_DIVSXR, 642 ID_EN_LDO_DIGSXR, 643 ID_EN_LDO_CPSXR, 644 ID_EN_LDO_VCOSXR, 645 ID_PD_LDO_DIGIp1, 646 ID_PD_LDO_DIGIp2, 647 ID_EN_LDO_TXBUF, 648 ID_EN_LDO_RXBUF, 649 ID_EN_LDO_TPAD, 650 ID_EN_LDO_TLOB, 651 ID_PD_LDO_SPIBUF, 652 ID_RDIV_TXBUF, 653 ID_EN_LDO_AFE, 654 ID_EN_LDO_TBB, 655 ID_EN_LDO_RBB, 656 ID_EN_LDO_TIA12, 657 ID_EN_LDO_DIG, 658 ID_SPDUP_LDO_TBB, 659 ID_SPDUP_LDO_TIA12, 660 ID_SPDUP_LDO_TIA14, 661 ID_SPDUP_LDO_TLOB, 662 ID_SPDUP_LDO_TPAD, 663 ID_SPDUP_LDO_TXBUF, 664 ID_SPDUP_LDO_VCOGN, 665 ID_SPDUP_LDO_DIVSXR, 666 ID_SPDUP_LDO_DIVSXT, 667 ID_SPDUP_LDO_AFE, 668 ID_SPDUP_LDO_CPGN, 669 ID_SPDUP_LDO_VCOSXR, 670 ID_SPDUP_LDO_VCOSXT, 671 ID_SPDUP_LDO_DIG, 672 ID_SPDUP_LDO_DIGGN, 673 ID_SPDUP_LDO_DIGSXR, 674 ID_SPDUP_LDO_DIGSXT, 675 ID_SPDUP_LDO_DIVGN, 676 ID_SPDUP_LDO_CPSXR, 677 ID_SPDUP_LDO_CPSXT, 678 ID_SPDUP_LDO_LNA12, 679 ID_SPDUP_LDO_LNA14, 680 ID_SPDUP_LDO_MXRFE, 681 ID_SPDUP_LDO_RBB, 682 ID_SPDUP_LDO_RXBUF, 683 ID_SPDUP_LDO_SPIBUF, 684 ID_SPDUP_LDO_DIGIp2, 685 ID_SPDUP_LDO_DIGIp1, 686 ID_EN_LOADIMP_LDO_TBB, 687 ID_EN_LOADIMP_LDO_TIA12, 688 ID_EN_LOADIMP_LDO_TIA14, 689 ID_EN_LOADIMP_LDO_TLOB, 690 ID_EN_LOADIMP_LDO_TPAD, 691 ID_EN_LOADIMP_LDO_TXBUF, 692 ID_EN_LOADIMP_LDO_VCOGN, 693 ID_EN_LOADIMP_LDO_VCOSXR, 694 ID_EN_LOADIMP_LDO_VCOSXT, 695 ID_EN_LOADIMP_LDO_AFE, 696 ID_EN_LOADIMP_LDO_CPGN, 697 ID_EN_LOADIMP_LDO_DIVSXR, 698 ID_EN_LOADIMP_LDO_DIVSXT, 699 ID_EN_LOADIMP_LDO_DIG, 700 ID_EN_LOADIMP_LDO_DIGGN, 701 ID_EN_LOADIMP_LDO_DIGSXR, 702 ID_EN_LOADIMP_LDO_DIGSXT, 703 ID_EN_LOADIMP_LDO_DIVGN, 704 ID_EN_LOADIMP_LDO_CPSXR, 705 ID_EN_LOADIMP_LDO_CPSXT, 706 ID_EN_LOADIMP_LDO_LNA12, 707 ID_EN_LOADIMP_LDO_LNA14, 708 ID_EN_LOADIMP_LDO_MXRFE, 709 ID_EN_LOADIMP_LDO_RBB, 710 ID_EN_LOADIMP_LDO_RXBUF, 711 ID_EN_LOADIMP_LDO_SPIBUF, 712 ID_EN_LOADIMP_LDO_DIGIp2, 713 ID_EN_LOADIMP_LDO_DIGIp1, 714 ID_RDIV_VCOSXR, 715 ID_RDIV_VCOSXT, 716 ID_RDIV_VCOGN, 717 ID_RDIV_TLOB, 718 ID_RDIV_TPAD, 719 ID_RDIV_TIA12, 720 ID_RDIV_TIA14, 721 ID_RDIV_RXBUF, 722 ID_RDIV_TBB, 723 ID_RDIV_MXRFE, 724 ID_RDIV_RBB, 725 ID_RDIV_LNA12, 726 ID_RDIV_LNA14, 727 ID_RDIV_DIVSXR, 728 ID_RDIV_DIVSXT, 729 ID_RDIV_DIGSXT, 730 ID_RDIV_DIVGN, 731 ID_RDIV_DIGGN, 732 ID_RDIV_DIGSXR, 733 ID_RDIV_CPSXT, 734 ID_RDIV_DIG, 735 ID_RDIV_CPGN, 736 ID_RDIV_CPSXR, 737 ID_RDIV_SPIBUF, 738 ID_RDIV_AFE, 739 ID_RDIV_DIGIp2, 740 ID_RDIV_DIGIp1 741 }; 742 743 wxNotebook* ID_NOTEBOOK1; 744 wxPanel* ID_PANEL3; 745 wxCheckBox* chkEN_G_LDOP; 746 wxCheckBox* chkEN_G_LDO; 747 wxCheckBox* chkEN_LDO_DIVGN; 748 wxCheckBox* chkEN_LDO_DIGGN; 749 wxCheckBox* chkEN_LDO_CPGN; 750 wxCheckBox* chkEN_LDO_VCOGN; 751 wxCheckBox* chkEN_LDO_MXRFE; 752 wxCheckBox* chkEN_LDO_LNA14; 753 wxCheckBox* chkEN_LDO_LNA12; 754 wxCheckBox* chkEN_LDO_TIA14; 755 wxCheckBox* chkEN_LDO_DIVSXT; 756 wxCheckBox* chkEN_LDO_DIGSXT; 757 wxCheckBox* chkEN_LDO_CPSXT; 758 wxCheckBox* chkEN_LDO_VCOSXT; 759 wxCheckBox* chkEN_LDO_DIVSXR; 760 wxCheckBox* chkEN_LDO_DIGSXR; 761 wxCheckBox* chkEN_LDO_CPSXR; 762 wxCheckBox* chkEN_LDO_VCOSXR; 763 wxCheckBox* chkPD_LDO_DIGIp1; 764 wxCheckBox* chkPD_LDO_DIGIp2; 765 wxCheckBox* chkEN_LDO_TXBUF; 766 wxCheckBox* chkEN_LDO_RXBUF; 767 wxCheckBox* chkEN_LDO_TPAD; 768 wxCheckBox* chkEN_LDO_TLOB; 769 wxCheckBox* chkPD_LDO_SPIBUF; 770 wxStaticText* m_staticText349; 771 wxComboBox* cmbISINK_SPIBUFF; 772 wxCheckBox* chkEN_LDO_AFE; 773 wxCheckBox* chkEN_LDO_TBB; 774 wxCheckBox* chkEN_LDO_RBB; 775 wxCheckBox* chkEN_LDO_TIA12; 776 wxCheckBox* chkEN_LDO_DIG; 777 wxCheckBox* chkSPDUP_LDO_TBB; 778 wxCheckBox* chkSPDUP_LDO_TIA12; 779 wxCheckBox* chkSPDUP_LDO_TIA14; 780 wxCheckBox* chkSPDUP_LDO_TLOB; 781 wxCheckBox* chkSPDUP_LDO_TPAD; 782 wxCheckBox* chkSPDUP_LDO_TXBUF; 783 wxCheckBox* chkSPDUP_LDO_VCOGN; 784 wxCheckBox* chkSPDUP_LDO_DIVSXR; 785 wxCheckBox* chkSPDUP_LDO_DIVSXT; 786 wxCheckBox* chkSPDUP_LDO_AFE; 787 wxCheckBox* chkSPDUP_LDO_CPGN; 788 wxCheckBox* chkSPDUP_LDO_VCOSXR; 789 wxCheckBox* chkSPDUP_LDO_VCOSXT; 790 wxCheckBox* chkSPDUP_LDO_DIG; 791 wxCheckBox* chkSPDUP_LDO_DIGGN; 792 wxCheckBox* chkSPDUP_LDO_DIGSXR; 793 wxCheckBox* chkSPDUP_LDO_DIGSXT; 794 wxCheckBox* chkSPDUP_LDO_DIVGN; 795 wxCheckBox* chkSPDUP_LDO_CPSXR; 796 wxCheckBox* chkSPDUP_LDO_CPSXT; 797 wxCheckBox* chkSPDUP_LDO_LNA12; 798 wxCheckBox* chkSPDUP_LDO_LNA14; 799 wxCheckBox* chkSPDUP_LDO_MXRFE; 800 wxCheckBox* chkSPDUP_LDO_RBB; 801 wxCheckBox* chkSPDUP_LDO_RXBUF; 802 wxCheckBox* chkSPDUP_LDO_SPIBUF; 803 wxCheckBox* chkSPDUP_LDO_DIGIp2; 804 wxCheckBox* chkSPDUP_LDO_DIGIp1; 805 wxCheckBox* chkEN_LOADIMP_LDO_TBB; 806 wxCheckBox* chkEN_LOADIMP_LDO_TIA12; 807 wxCheckBox* chkEN_LOADIMP_LDO_TIA14; 808 wxCheckBox* chkEN_LOADIMP_LDO_TLOB; 809 wxCheckBox* chkEN_LOADIMP_LDO_TPAD; 810 wxCheckBox* chkEN_LOADIMP_LDO_TXBUF; 811 wxCheckBox* chkEN_LOADIMP_LDO_VCOGN; 812 wxCheckBox* chkEN_LOADIMP_LDO_VCOSXR; 813 wxCheckBox* chkEN_LOADIMP_LDO_VCOSXT; 814 wxCheckBox* chkEN_LOADIMP_LDO_AFE; 815 wxCheckBox* chkEN_LOADIMP_LDO_CPGN; 816 wxCheckBox* chkEN_LOADIMP_LDO_DIVSXR; 817 wxCheckBox* chkEN_LOADIMP_LDO_DIVSXT; 818 wxCheckBox* chkEN_LOADIMP_LDO_DIG; 819 wxCheckBox* chkEN_LOADIMP_LDO_DIGGN; 820 wxCheckBox* chkEN_LOADIMP_LDO_DIGSXR; 821 wxCheckBox* chkEN_LOADIMP_LDO_DIGSXT; 822 wxCheckBox* chkEN_LOADIMP_LDO_DIVGN; 823 wxCheckBox* chkEN_LOADIMP_LDO_CPSXR; 824 wxCheckBox* chkEN_LOADIMP_LDO_CPSXT; 825 wxCheckBox* chkEN_LOADIMP_LDO_LNA12; 826 wxCheckBox* chkEN_LOADIMP_LDO_LNA14; 827 wxCheckBox* chkEN_LOADIMP_LDO_MXRFE; 828 wxCheckBox* chkEN_LOADIMP_LDO_RBB; 829 wxCheckBox* chkEN_LOADIMP_LDO_RXBUF; 830 wxCheckBox* chkEN_LOADIMP_LDO_SPIBUF; 831 wxCheckBox* chkEN_LOADIMP_LDO_DIGIp2; 832 wxCheckBox* chkEN_LOADIMP_LDO_DIGIp1; 833 wxPanel* ID_PANEL2; 834 wxStaticText* ID_STATICTEXT1; 835 wxComboBox* cmbRDIV_VCOSXR; 836 wxStaticText* ID_STATICTEXT2; 837 wxComboBox* cmbRDIV_VCOSXT; 838 wxStaticText* ID_STATICTEXT3; 839 wxComboBox* cmbRDIV_TXBUF; 840 wxStaticText* ID_STATICTEXT4; 841 wxComboBox* cmbRDIV_VCOGN; 842 wxStaticText* ID_STATICTEXT5; 843 wxComboBox* cmbRDIV_TLOB; 844 wxStaticText* ID_STATICTEXT6; 845 wxComboBox* cmbRDIV_TPAD; 846 wxStaticText* ID_STATICTEXT7; 847 wxComboBox* cmbRDIV_TIA12; 848 wxStaticText* ID_STATICTEXT8; 849 wxComboBox* cmbRDIV_TIA14; 850 wxStaticText* ID_STATICTEXT9; 851 wxComboBox* cmbRDIV_RXBUF; 852 wxStaticText* ID_STATICTEXT10; 853 wxComboBox* cmbRDIV_TBB; 854 wxStaticText* ID_STATICTEXT11; 855 wxComboBox* cmbRDIV_MXRFE; 856 wxStaticText* ID_STATICTEXT12; 857 wxComboBox* cmbRDIV_RBB; 858 wxStaticText* ID_STATICTEXT13; 859 wxComboBox* cmbRDIV_LNA12; 860 wxStaticText* ID_STATICTEXT14; 861 wxComboBox* cmbRDIV_LNA14; 862 wxStaticText* ID_STATICTEXT15; 863 wxComboBox* cmbRDIV_DIVSXR; 864 wxStaticText* ID_STATICTEXT16; 865 wxComboBox* cmbRDIV_DIVSXT; 866 wxStaticText* ID_STATICTEXT17; 867 wxComboBox* cmbRDIV_DIGSXT; 868 wxStaticText* ID_STATICTEXT18; 869 wxComboBox* cmbRDIV_DIVGN; 870 wxStaticText* ID_STATICTEXT19; 871 wxComboBox* cmbRDIV_DIGGN; 872 wxStaticText* ID_STATICTEXT20; 873 wxComboBox* cmbRDIV_DIGSXR; 874 wxStaticText* ID_STATICTEXT21; 875 wxComboBox* cmbRDIV_CPSXT; 876 wxStaticText* ID_STATICTEXT22; 877 wxComboBox* cmbRDIV_DIG; 878 wxStaticText* ID_STATICTEXT23; 879 wxComboBox* cmbRDIV_CPGN; 880 wxStaticText* ID_STATICTEXT24; 881 wxComboBox* cmbRDIV_CPSXR; 882 wxStaticText* ID_STATICTEXT25; 883 wxComboBox* cmbRDIV_SPIBUF; 884 wxStaticText* ID_STATICTEXT26; 885 wxComboBox* cmbRDIV_AFE; 886 wxStaticText* ID_STATICTEXT27; 887 wxComboBox* cmbRDIV_DIGIp2; 888 wxStaticText* ID_STATICTEXT28; 889 wxComboBox* cmbRDIV_DIGIp1; 890 891 // Virtual event handlers, overide them in your derived class ParameterChangeHandler(wxCommandEvent & event)892 virtual void ParameterChangeHandler( wxCommandEvent& event ) { event.Skip(); } 893 894 895 public: 896 897 pnlLDO_view( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 1180,550 ), long style = wxTAB_TRAVERSAL ); 898 ~pnlLDO_view(); 899 900 }; 901 902 /////////////////////////////////////////////////////////////////////////////// 903 /// Class pnlXBUF_view 904 /////////////////////////////////////////////////////////////////////////////// 905 class pnlXBUF_view : public wxPanel 906 { 907 private: 908 909 protected: 910 enum 911 { 912 ID_PD_XBUF_RX = 2048, 913 ID_PD_XBUF_TX, 914 ID_EN_G_XBUF, 915 ID_SLFB_XBUF_RX, 916 ID_SLFB_XBUF_TX, 917 ID_BYP_XBUF_RX, 918 ID_BYP_XBUF_TX, 919 ID_EN_OUT2_XBUF_TX, 920 ID_EN_TBUFIN_XBUF_RX 921 }; 922 923 wxCheckBox* chkPD_XBUF_RX; 924 wxCheckBox* chkPD_XBUF_TX; 925 wxCheckBox* chkEN_G_XBUF; 926 wxCheckBox* chkSLFB_XBUF_RX; 927 wxCheckBox* chkSLFB_XBUF_TX; 928 wxCheckBox* chkBYP_XBUF_RX; 929 wxCheckBox* chkBYP_XBUF_TX; 930 wxCheckBox* chkEN_OUT2_XBUF_TX; 931 wxCheckBox* chkEN_TBUFIN_XBUF_RX; 932 933 // Virtual event handlers, overide them in your derived class ParameterChangeHandler(wxCommandEvent & event)934 virtual void ParameterChangeHandler( wxCommandEvent& event ) { event.Skip(); } 935 936 937 public: 938 939 pnlXBUF_view( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxTAB_TRAVERSAL ); 940 ~pnlXBUF_view(); 941 942 }; 943 944 /////////////////////////////////////////////////////////////////////////////// 945 /// Class pnlCLKGEN_view 946 /////////////////////////////////////////////////////////////////////////////// 947 class pnlCLKGEN_view : public wxPanel 948 { 949 private: 950 951 protected: 952 enum 953 { 954 ID_PD_CP_CGEN = 2048, 955 ID_PD_FDIV_FB_CGEN, 956 ID_PD_FDIV_O_CGEN, 957 ID_PD_SDM_CGEN, 958 ID_PD_VCO_CGEN, 959 ID_PD_VCO_COMP_CGEN, 960 ID_EN_G_CGEN, 961 ID_SPDUP_VCO_CGEN, 962 ID_RESET_N_CGEN, 963 ID_EN_COARSE_CKLGEN, 964 ID_EN_INTONLY_SDM_CGEN, 965 ID_EN_SDM_CLK_CGEN, 966 ID_REV_SDMCLK_CGEN, 967 ID_SX_DITHER_EN_CGEN, 968 ID_REV_CLKDAC_CGEN, 969 ID_REV_CLKADC_CGEN, 970 ID_REVPH_PFD_CGEN, 971 ID_COARSE_START_CGEN, 972 ID_SEL_SDMCLK_CGEN, 973 ID_TST_CGEN, 974 ID_CP2_CGEN, 975 ID_CP3_CGEN, 976 ID_CZ_CGEN, 977 ID_EN_ADCCLKH_CLKGN, 978 ID_CLKH_OV_CLKL_CGEN, 979 ID_GFIR1_N_TXTSP, 980 ID_AUTO_PHASE, 981 ID_INT_SDM_CGEN, 982 ID_FRAC_SDM_CGEN, 983 ID_VCO_CMPHO_CGEN, 984 ID_VCO_CMPLO_CGEN, 985 ID_COARSE_STEPDONE_CGEN, 986 ID_COARSEPLL_COMPO_CGEN, 987 ID_CSW_VCO_CGEN, 988 ID_ICT_VCO_CGEN, 989 ID_IOFFSET_CP_CGEN, 990 ID_IPULSE_CP_CGEN 991 }; 992 993 wxCheckBox* chkPD_CP_CGEN; 994 wxCheckBox* chkPD_FDIV_FB_CGEN; 995 wxCheckBox* chkPD_FDIV_O_CGEN; 996 wxCheckBox* chkPD_SDM_CGEN; 997 wxCheckBox* chkPD_VCO_CGEN; 998 wxCheckBox* chkPD_VCO_COMP_CGEN; 999 wxCheckBox* chkEN_G_CGEN; 1000 wxCheckBox* chkSPDUP_VCO_CGEN; 1001 wxCheckBox* chkRESET_N_CGEN; 1002 wxCheckBox* chkEN_COARSE_CKLGEN; 1003 wxCheckBox* chkEN_INTONLY_SDM_CGEN; 1004 wxCheckBox* chkEN_SDM_CLK_CGEN; 1005 wxCheckBox* chkREV_SDMCLK_CGEN; 1006 wxCheckBox* chkSX_DITHER_EN_CGEN; 1007 wxCheckBox* chkREV_CLKDAC_CGEN; 1008 wxCheckBox* chkREV_CLKADC_CGEN; 1009 wxCheckBox* chkREVPH_PFD_CGEN; 1010 wxCheckBox* chkCOARSE_START_CGEN; 1011 wxRadioBox* rgrSEL_SDMCLK_CGEN; 1012 wxStaticText* ID_STATICTEXT4; 1013 wxComboBox* cmbTST_CGEN; 1014 wxStaticText* ID_STATICTEXT13; 1015 wxComboBox* cmbCP2_CGEN; 1016 wxStaticText* ID_STATICTEXT14; 1017 wxComboBox* cmbCP3_CGEN; 1018 wxStaticText* ID_STATICTEXT15; 1019 wxComboBox* cmbCZ_CGEN; 1020 wxRadioBox* cmbEN_ADCCLKH_CLKGN; 1021 wxStaticText* m_staticText369; 1022 wxStaticText* lblRxTSPfreq; 1023 wxStaticText* m_staticText367; 1024 wxStaticText* lblTxTSPfreq; 1025 wxStaticText* ID_STATICTEXT10; 1026 wxStaticText* ID_STATICTEXT18; 1027 wxStaticText* ID_STATICTEXT3; 1028 wxTextCtrl* txtFrequency; 1029 wxComboBox* cmbCLKH_OV_CLKL_CGEN; 1030 wxTextCtrl* txtFrequencyCLKL; 1031 wxStaticText* ID_STATICTEXT101; 1032 wxStaticText* ID_STATICTEXT102; 1033 wxCheckBox* chkAutoPhase; 1034 wxButton* btnCalculate; 1035 wxButton* btnTune; 1036 wxStaticText* ID_STATICTEXT7; 1037 wxStaticText* lblINT_SDM_CGEN; 1038 wxStaticText* ID_STATICTEXT23; 1039 wxStaticText* lblRefClk_MHz; 1040 wxStaticText* ID_STATICTEXT21; 1041 wxStaticText* lblFRAC_SDM_CGEN; 1042 wxStaticText* ID_STATICTEXT2; 1043 wxStaticText* lblDivider; 1044 wxStaticText* ID_STATICTEXT25; 1045 wxStaticText* lblRealOutFrequency; 1046 wxStaticText* ID_STATICTEXT161; 1047 wxStaticText* lblVCO_CMPHO_CGEN; 1048 wxStaticText* ID_STATICTEXT171; 1049 wxStaticText* lblVCO_CMPLO_CGEN; 1050 wxButton* btnUpdateValues1; 1051 wxStaticText* ID_STATICTEXT5; 1052 wxStaticText* lblCOARSE_STEPDONE_CGEN; 1053 wxStaticText* ID_STATICTEXT6; 1054 wxStaticText* lblCOARSEPLL_COMPO_CGEN; 1055 wxButton* btnUpdateCoarse; 1056 wxStaticText* ID_STATICTEXT20; 1057 NumericSlider* cmbCSW_VCO_CGEN; 1058 wxStaticText* ID_STATICTEXT9; 1059 NumericSlider* cmbICT_VCO_CGEN; 1060 wxButton* btnShowVCO; 1061 wxStaticText* ID_STATICTEXT16; 1062 NumericSlider* cmbIOFFSET_CP_CGEN; 1063 wxStaticText* ID_STATICTEXT17; 1064 NumericSlider* cmbIPULSE_CP_CGEN; 1065 wxFlexGridSizer* sizerR3; 1066 1067 // Virtual event handlers, overide them in your derived class ParameterChangeHandler(wxCommandEvent & event)1068 virtual void ParameterChangeHandler( wxCommandEvent& event ) { event.Skip(); } onbtnCalculateClick(wxSpinEvent & event)1069 virtual void onbtnCalculateClick( wxSpinEvent& event ) { event.Skip(); } OnAutoPhase(wxCommandEvent & event)1070 virtual void OnAutoPhase( wxCommandEvent& event ) { event.Skip(); } onbtnCalculateClick(wxCommandEvent & event)1071 virtual void onbtnCalculateClick( wxCommandEvent& event ) { event.Skip(); } onbtnTuneClick(wxCommandEvent & event)1072 virtual void onbtnTuneClick( wxCommandEvent& event ) { event.Skip(); } OnbtnReadComparators(wxCommandEvent & event)1073 virtual void OnbtnReadComparators( wxCommandEvent& event ) { event.Skip(); } OnbtnUpdateCoarse(wxCommandEvent & event)1074 virtual void OnbtnUpdateCoarse( wxCommandEvent& event ) { event.Skip(); } ParameterChangeHandler(wxSpinEvent & event)1075 virtual void ParameterChangeHandler( wxSpinEvent& event ) { event.Skip(); } OnShowVCOclicked(wxCommandEvent & event)1076 virtual void OnShowVCOclicked( wxCommandEvent& event ) { event.Skip(); } 1077 1078 1079 public: 1080 wxSpinCtrl* rxPhase; 1081 wxSpinCtrl* txPhase; 1082 1083 pnlCLKGEN_view( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxTAB_TRAVERSAL ); 1084 ~pnlCLKGEN_view(); 1085 1086 }; 1087 1088 /////////////////////////////////////////////////////////////////////////////// 1089 /// Class pnlSX_view 1090 /////////////////////////////////////////////////////////////////////////////// 1091 class pnlSX_view : public wxPanel 1092 { 1093 private: 1094 1095 protected: 1096 enum 1097 { 1098 ID_PD_FBDIV = 2048, 1099 ID_PD_LOCH_T2RBUF, 1100 ID_PD_CP, 1101 ID_PD_FDIV, 1102 ID_PD_SDM, 1103 ID_PD_VCO_COMP, 1104 ID_PD_VCO, 1105 ID_EN_G, 1106 ID_EN_DIR_SXRSXT, 1107 ID_RESET_N, 1108 ID_SPDUP_VCO, 1109 ID_BYPLDO_VCO, 1110 ID_EN_COARSEPLL, 1111 ID_CURLIM_VCO, 1112 ID_REVPH_PFD, 1113 ID_EN_INTONLY_SDM, 1114 ID_EN_SDM_CLK, 1115 ID_REV_SDMCLK, 1116 ID_SX_DITHER_EN, 1117 ID_EN_DIV2_DIVPROGenabled, 1118 ID_TST_SX, 1119 ID_PW_DIV2_LOCH, 1120 ID_PW_DIV4_LOCH, 1121 ID_DIV_LOCH, 1122 ID_CP2_PLL, 1123 ID_CP3_PLL, 1124 ID_CZ, 1125 ID_SEL_VCO, 1126 ID_EN_DIV2_DIVPROG, 1127 ID_VCO_CMPHO, 1128 ID_VCO_CMPLO, 1129 ID_CSW_VCO, 1130 ID_ICT_VCO, 1131 ID_BTN_SHOW_VCO, 1132 ID_VDIV_VCO, 1133 ID_IPULSE_CP, 1134 ID_SEL_SDMCLK, 1135 ID_RSEL_LDO_VCO, 1136 ID_IOFFSET_CP 1137 }; 1138 1139 wxCheckBox* chkPD_FBDIV; 1140 wxCheckBox* chkPD_LOCH_T2RBUF; 1141 wxCheckBox* chkPD_CP; 1142 wxCheckBox* chkPD_FDIV; 1143 wxCheckBox* chkPD_SDM; 1144 wxCheckBox* chkPD_VCO_COMP; 1145 wxCheckBox* chkPD_VCO; 1146 wxCheckBox* chkEN_G; 1147 wxCheckBox* chkEN_DIR_SXRSXT; 1148 wxCheckBox* chkRESET_N; 1149 wxCheckBox* chkSPDUP_VCO; 1150 wxCheckBox* chkBYPLDO_VCO; 1151 wxCheckBox* chkEN_COARSEPLL; 1152 wxCheckBox* chkCURLIM_VCO; 1153 wxCheckBox* chkREVPH_PFD; 1154 wxCheckBox* chkEN_INTONLY_SDM; 1155 wxCheckBox* chkEN_SDM_CLK; 1156 wxCheckBox* chkREV_SDMCLK; 1157 wxCheckBox* chkSX_DITHER_EN; 1158 wxCheckBox* chkEN_DIV2_DIVPROGenabled; 1159 wxStaticText* ID_STATICTEXT7; 1160 wxComboBox* cmbTST_SX; 1161 wxStaticText* ID_STATICTEXT4; 1162 wxSpinCtrl* ctrPW_DIV2_LOCH; 1163 wxStaticText* ID_STATICTEXT5; 1164 wxSpinCtrl* ctrPW_DIV4_LOCH; 1165 wxStaticText* ID_STATICTEXT6; 1166 wxSpinCtrl* ctrDIV_LOCH; 1167 wxStaticText* ID_STATICTEXT18; 1168 wxComboBox* cmbCP2_PLL; 1169 wxStaticText* ID_STATICTEXT19; 1170 wxComboBox* cmbCP3_PLL; 1171 wxStaticText* ID_STATICTEXT20; 1172 wxComboBox* cmbCZ; 1173 wxRadioBox* rgrSEL_VCO; 1174 wxTextCtrl* txtFrequency; 1175 wxButton* btnCalculate; 1176 wxButton* btnTune; 1177 wxButton* ID_BUTTON5; 1178 wxPanel* pnlRefClkSpur; 1179 wxStaticBoxSizer* RefClkSpurSizer; 1180 wxCheckBox* chkEnableRefSpurCancelation; 1181 wxStaticText* m_staticText359; 1182 wxTextCtrl* txtRefSpurBW; 1183 wxStaticText* ID_STATICTEXT2; 1184 wxStaticText* lblINT_SDM; 1185 wxStaticText* ID_STATICTEXT21; 1186 wxStaticText* lblFRAC_SDM; 1187 wxStaticText* ID_STATICTEXT25; 1188 wxStaticText* lblRealOutFrequency; 1189 wxStaticText* ID_STATICTEXT23; 1190 wxStaticText* lblDivider; 1191 wxStaticText* ID_STATICTEXT30; 1192 wxStaticText* lblEN_DIV2_DIVPROG; 1193 wxButton* btnChangeRefClk; 1194 wxStaticText* lblRefClk_MHz; 1195 wxStaticText* ID_STATICTEXT16; 1196 wxStaticText* lblVCO_CMPHO; 1197 wxStaticText* ID_STATICTEXT17; 1198 wxStaticText* lblVCO_CMPLO; 1199 wxButton* btnUpdateValues; 1200 wxStaticText* ID_STATICTEXT1; 1201 NumericSlider* ctrCSW_VCO; 1202 wxStaticText* ID_STATICTEXT10; 1203 NumericSlider* cmbICT_VCO; 1204 wxButton* btnShowVCOparams; 1205 wxStaticText* ID_STATICTEXT9; 1206 wxComboBox* cmbVDIV_VCO; 1207 wxStaticText* ID_STATICTEXT13; 1208 wxComboBox* cmbIPULSE_CP; 1209 wxStaticText* ID_STATICTEXT8; 1210 wxComboBox* cmbSEL_SDMCLK; 1211 wxStaticText* ID_STATICTEXT11; 1212 wxComboBox* cmbRSEL_LDO_VCO; 1213 wxStaticText* ID_STATICTEXT12; 1214 wxComboBox* cmbIOFFSET_CP; 1215 wxFlexGridSizer* sizerR3; 1216 1217 // Virtual event handlers, overide them in your derived class ParameterChangeHandler(wxCommandEvent & event)1218 virtual void ParameterChangeHandler( wxCommandEvent& event ) { event.Skip(); } OnDIV2PrescalerChange(wxCommandEvent & event)1219 virtual void OnDIV2PrescalerChange( wxCommandEvent& event ) { event.Skip(); } ParameterChangeHandler(wxSpinEvent & event)1220 virtual void ParameterChangeHandler( wxSpinEvent& event ) { event.Skip(); } OnbtnCalculateClick(wxCommandEvent & event)1221 virtual void OnbtnCalculateClick( wxCommandEvent& event ) { event.Skip(); } OnbtnTuneClick(wxCommandEvent & event)1222 virtual void OnbtnTuneClick( wxCommandEvent& event ) { event.Skip(); } OnEnableRefSpurCancelation(wxCommandEvent & event)1223 virtual void OnEnableRefSpurCancelation( wxCommandEvent& event ) { event.Skip(); } OnbtnChangeRefClkClick(wxCommandEvent & event)1224 virtual void OnbtnChangeRefClkClick( wxCommandEvent& event ) { event.Skip(); } OnbtnReadComparators(wxCommandEvent & event)1225 virtual void OnbtnReadComparators( wxCommandEvent& event ) { event.Skip(); } OnShowVCOclicked(wxCommandEvent & event)1226 virtual void OnShowVCOclicked( wxCommandEvent& event ) { event.Skip(); } 1227 1228 1229 public: 1230 1231 pnlSX_view( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxTAB_TRAVERSAL ); 1232 ~pnlSX_view(); 1233 1234 }; 1235 1236 /////////////////////////////////////////////////////////////////////////////// 1237 /// Class pnlLimeLightPAD_view 1238 /////////////////////////////////////////////////////////////////////////////// 1239 class pnlLimeLightPAD_view : public wxPanel 1240 { 1241 private: 1242 1243 protected: 1244 enum 1245 { 1246 ID_SDA_PE = 2048, 1247 ID_SCL_PE, 1248 ID_RX_CLK_PE, 1249 ID_SDIO_PE, 1250 ID_SDO_PE, 1251 ID_TX_CLK_PE, 1252 ID_SEN_PE, 1253 ID_DIQ1_PE, 1254 ID_TXNRX1_PE, 1255 ID_SCLK_PE, 1256 ID_DIQ2_PE, 1257 ID_TXNRX2_PE, 1258 ID_IQ_SEL_EN_1_PE, 1259 ID_FCLK1_PE, 1260 ID_MCLK1_PE, 1261 ID_IQ_SEL_EN_2_PE, 1262 ID_FCLK2_PE, 1263 ID_MCLK2_PE, 1264 ID_SRST_RXFIFO, 1265 ID_SRST_TXFIFO, 1266 ID_LRST_TX_A, 1267 ID_LRST_TX_B, 1268 ID_LRST_RX_A, 1269 ID_LRST_RX_B, 1270 ID_MRST_TX_A, 1271 ID_MRST_TX_B, 1272 ID_MRST_RX_A, 1273 ID_MRST_RX_B, 1274 ID_RXEN_A, 1275 ID_TXEN_A, 1276 ID_RXEN_B, 1277 ID_TXEN_B, 1278 ID_MIMO_SISO, 1279 ID_MOD_EN, 1280 ID_LML_FIDM1, 1281 ID_LML_FIDM2, 1282 ID_LML_MODE1, 1283 ID_LML_MODE2, 1284 ID_LML_TXNRXIQ1, 1285 ID_LML_TXNRXIQ2, 1286 ID_SDA_DS, 1287 ID_SCL_DS, 1288 ID_SDIO_DS, 1289 ID_DIQ2_DS, 1290 ID_DIQ1_DS, 1291 ID_RX_MUX, 1292 ID_TX_MUX, 1293 ID_SPIMODE, 1294 ID_VER, 1295 ID_REV, 1296 ID_MASK, 1297 ID_LML1_S3S, 1298 ID_LML1_S2S, 1299 ID_LML1_S1S, 1300 ID_LML1_S0S, 1301 ID_LML2_S3S, 1302 ID_LML2_S2S, 1303 ID_LML2_S1S, 1304 ID_LML2_S0S, 1305 ID_LML1_BQP, 1306 ID_LML1_BIP, 1307 ID_LML1_AQP, 1308 ID_LML1_AIP, 1309 ID_LML2_BQP, 1310 ID_LML2_BIP, 1311 ID_LML2_AQP, 1312 ID_LML2_AIP, 1313 ID_TXRDCLK_MUX, 1314 ID_TXWRCLK_MUX, 1315 ID_RXRDCLK_MUX, 1316 ID_RXWRCLK_MUX, 1317 ID_MCLK2SRC, 1318 ID_MCLK1SRC, 1319 ID_TXDIVEN, 1320 ID_TXTSPCLKA_DIV, 1321 ID_RXDIVEN, 1322 ID_RXTSPCLKA_DIV, 1323 ID_MCLK1DLY, 1324 ID_MCLK2DLY, 1325 ID_FCLK1_INV, 1326 ID_FCLK2_INV, 1327 ID_FCLK1DLY, 1328 ID_FCLK2DLY, 1329 ID_LML1_TX_PST, 1330 ID_LML1_TX_PRE, 1331 ID_LML1_RX_PST, 1332 ID_LML1_RX_PRE, 1333 ID_LML2_TX_PST, 1334 ID_LML2_TX_PRE, 1335 ID_LML2_RX_PST, 1336 ID_LML2_RX_PRE, 1337 ID_DIQDIRCTR1, 1338 ID_DIQDIR1, 1339 ID_ENABLEDIRCTR1, 1340 ID_ENABLEDIR1, 1341 ID_DIQDIRCTR2, 1342 ID_DIQDIR2, 1343 ID_ENABLEDIRCTR2, 1344 ID_ENABLEDIR2 1345 }; 1346 1347 wxNotebook* ID_NOTEBOOK1; 1348 wxPanel* ID_PANEL1; 1349 wxCheckBox* chkSDA_PE; 1350 wxCheckBox* chkSCL_PE; 1351 wxCheckBox* chkRX_CLK_PE; 1352 wxCheckBox* chkSDIO_PE; 1353 wxCheckBox* chkSDO_PE; 1354 wxCheckBox* chkTX_CLK_PE; 1355 wxCheckBox* chkSEN_PE; 1356 wxCheckBox* chkDIQ1_PE; 1357 wxCheckBox* chkTXNRX1_PE; 1358 wxCheckBox* chkSCLK_PE; 1359 wxCheckBox* chkDIQ2_PE; 1360 wxCheckBox* chkTXNRX2_PE; 1361 wxCheckBox* chkIQ_SEL_EN_1_PE; 1362 wxCheckBox* chkFCLK1_PE; 1363 wxCheckBox* chkMCLK1_PE; 1364 wxCheckBox* chkIQ_SEL_EN_2_PE; 1365 wxCheckBox* chkFCLK2_PE; 1366 wxCheckBox* chkMCLK2_PE; 1367 wxCheckBox* chkSRST_RXFIFO; 1368 wxCheckBox* chkSRST_TXFIFO; 1369 wxCheckBox* chkLRST_TX_A; 1370 wxCheckBox* chkLRST_TX_B; 1371 wxCheckBox* chkLRST_RX_A; 1372 wxCheckBox* chkLRST_RX_B; 1373 wxCheckBox* chkMRST_TX_A; 1374 wxCheckBox* chkMRST_TX_B; 1375 wxCheckBox* chkMRST_RX_A; 1376 wxCheckBox* chkMRST_RX_B; 1377 wxCheckBox* chkRXEN_A; 1378 wxCheckBox* chkTXEN_A; 1379 wxCheckBox* chkRXEN_B; 1380 wxCheckBox* chkTXEN_B; 1381 wxCheckBox* chkMIMO_SISO; 1382 wxCheckBox* chkMOD_EN; 1383 wxRadioBox* rgrLML_FIDM1; 1384 wxRadioBox* rgrLML_FIDM2; 1385 wxRadioBox* rgrLML_MODE1; 1386 wxRadioBox* rgrLML_MODE2; 1387 wxRadioBox* rgrLML_TXNRXIQ1; 1388 wxRadioBox* rgrLML_TXNRXIQ2; 1389 wxCheckBox* chkLML1_TRXIQPULSE; 1390 wxCheckBox* chkLML2_TRXIQPULSE; 1391 wxCheckBox* chkLML1_SISODDR; 1392 wxCheckBox* chkLML2_SISODDR; 1393 wxRadioBox* rgrSDA_DS; 1394 wxRadioBox* rgrSCL_DS; 1395 wxRadioBox* rgrSDIO_DS; 1396 wxRadioBox* rgrDIQ2_DS; 1397 wxRadioBox* rgrDIQ1_DS; 1398 wxRadioBox* rgrRX_MUX; 1399 wxRadioBox* rgrTX_MUX; 1400 wxRadioBox* rgrSPIMODE; 1401 wxStaticText* ID_STATICTEXT36; 1402 wxStaticText* lblVER; 1403 wxStaticText* ID_STATICTEXT38; 1404 wxStaticText* lblREV; 1405 wxStaticText* ID_STATICTEXT40; 1406 wxStaticText* lblMASK; 1407 wxButton* btnReadVerRevMask; 1408 wxPanel* ID_PANEL2; 1409 wxStaticText* ID_STATICTEXT1; 1410 wxComboBox* cmbLML1_S3S; 1411 wxStaticText* ID_STATICTEXT2; 1412 wxComboBox* cmbLML1_S2S; 1413 wxStaticText* ID_STATICTEXT3; 1414 wxComboBox* cmbLML1_S1S; 1415 wxStaticText* ID_STATICTEXT4; 1416 wxComboBox* cmbLML1_S0S; 1417 wxStaticText* ID_STATICTEXT9; 1418 wxComboBox* cmbLML2_S3S; 1419 wxStaticText* ID_STATICTEXT10; 1420 wxComboBox* cmbLML2_S2S; 1421 wxStaticText* ID_STATICTEXT11; 1422 wxComboBox* cmbLML2_S1S; 1423 wxStaticText* ID_STATICTEXT12; 1424 wxComboBox* cmbLML2_S0S; 1425 wxStaticText* ID_STATICTEXT5; 1426 wxComboBox* cmbLML1_BQP; 1427 wxStaticText* ID_STATICTEXT6; 1428 wxComboBox* cmbLML1_BIP; 1429 wxStaticText* ID_STATICTEXT7; 1430 wxComboBox* cmbLML1_AQP; 1431 wxStaticText* ID_STATICTEXT8; 1432 wxComboBox* cmbLML1_AIP; 1433 wxStaticText* ID_STATICTEXT13; 1434 wxComboBox* cmbLML2_BQP; 1435 wxStaticText* ID_STATICTEXT14; 1436 wxComboBox* cmbLML2_BIP; 1437 wxStaticText* ID_STATICTEXT15; 1438 wxComboBox* cmbLML2_AQP; 1439 wxStaticText* ID_STATICTEXT16; 1440 wxComboBox* cmbLML2_AIP; 1441 wxStaticText* ID_STATICTEXT25; 1442 wxComboBox* cmbTXRDCLK_MUX; 1443 wxStaticText* ID_STATICTEXT26; 1444 wxComboBox* cmbTXWRCLK_MUX; 1445 wxStaticText* ID_STATICTEXT27; 1446 wxComboBox* cmbRXRDCLK_MUX; 1447 wxStaticText* ID_STATICTEXT28; 1448 wxComboBox* cmbRXWRCLK_MUX; 1449 wxStaticText* ID_STATICTEXT29; 1450 wxComboBox* cmbMCLK2SRC; 1451 wxStaticText* ID_STATICTEXT30; 1452 wxComboBox* cmbMCLK1SRC; 1453 wxCheckBox* chkTXDIVEN; 1454 wxSpinCtrl* cmbTXTSPCLKA_DIV; 1455 wxCheckBox* chkRXDIVEN; 1456 wxSpinCtrl* cmbRXTSPCLKA_DIV; 1457 wxStaticText* ID_STATICTEXT37; 1458 wxSpinCtrl* cmbMCLK1DLY; 1459 wxStaticText* ID_STATICTEXT39; 1460 wxSpinCtrl* cmbMCLK2DLY; 1461 wxCheckBox* chkFCLK1_INV; 1462 wxCheckBox* chkFCLK2_INV; 1463 wxCheckBox* chkMCLK1_INV; 1464 wxCheckBox* chkMCLK2_INV; 1465 wxStaticText* ID_STATICTEXT301; 1466 wxComboBox* cmbFCLK1_DLY; 1467 wxStaticText* ID_STATICTEXT302; 1468 wxComboBox* cmbFCLK2_DLY; 1469 wxStaticText* ID_STATICTEXT303; 1470 wxComboBox* cmbMCLK1_DLY; 1471 wxStaticText* ID_STATICTEXT304; 1472 wxComboBox* cmbMCLK2_DLY; 1473 wxStaticText* ID_STATICTEXT17; 1474 wxSpinCtrl* cmbLML1_TX_PST; 1475 wxStaticText* ID_STATICTEXT18; 1476 wxSpinCtrl* cmbLML1_TX_PRE; 1477 wxStaticText* ID_STATICTEXT19; 1478 wxSpinCtrl* cmbLML1_RX_PST; 1479 wxStaticText* ID_STATICTEXT20; 1480 wxSpinCtrl* cmbLML1_RX_PRE; 1481 wxStaticText* ID_STATICTEXT21; 1482 wxSpinCtrl* cmbLML2_TX_PST; 1483 wxStaticText* ID_STATICTEXT22; 1484 wxSpinCtrl* cmbLML2_TX_PRE; 1485 wxStaticText* ID_STATICTEXT23; 1486 wxSpinCtrl* cmbLML2_RX_PST; 1487 wxStaticText* ID_STATICTEXT24; 1488 wxSpinCtrl* cmbLML2_RX_PRE; 1489 wxRadioBox* rgrDIQDIRCTR1; 1490 wxRadioBox* rgrDIQDIR1; 1491 wxRadioBox* rgrENABLEDIRCTR1; 1492 wxRadioBox* rgrENABLEDIR1; 1493 wxRadioBox* rgrDIQDIRCTR2; 1494 wxRadioBox* rgrDIQDIR2; 1495 wxRadioBox* rgrENABLEDIRCTR2; 1496 wxRadioBox* rgrENABLEDIR2; 1497 1498 // Virtual event handlers, overide them in your derived class ParameterChangeHandler(wxCommandEvent & event)1499 virtual void ParameterChangeHandler( wxCommandEvent& event ) { event.Skip(); } onbtnReadVerRevMask(wxCommandEvent & event)1500 virtual void onbtnReadVerRevMask( wxCommandEvent& event ) { event.Skip(); } ParameterChangeHandler(wxSpinEvent & event)1501 virtual void ParameterChangeHandler( wxSpinEvent& event ) { event.Skip(); } 1502 1503 1504 public: 1505 1506 pnlLimeLightPAD_view( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxTAB_TRAVERSAL ); 1507 ~pnlLimeLightPAD_view(); 1508 1509 }; 1510 1511 /////////////////////////////////////////////////////////////////////////////// 1512 /// Class pnlTxTSP_view 1513 /////////////////////////////////////////////////////////////////////////////// 1514 class pnlTxTSP_view : public wxPanel 1515 { 1516 private: 1517 1518 protected: 1519 enum 1520 { 1521 ID_EN_TXTSP = 2048, 1522 ID_DC_BYP_TXTSP, 1523 ID_GC_BYP_TXTSP, 1524 ID_PH_BYP_TXTSP, 1525 ID_CMIX_BYP_TXTSP, 1526 ID_ISINC_BYP_TXTSP, 1527 ID_GFIR1_BYP_TXTSP, 1528 ID_GFIR2_BYP_TXTSP, 1529 ID_GFIR3_BYP_TXTSP, 1530 ID_BSTART_TXTSP, 1531 ID_BSTATE_TXTSP, 1532 ID_BSIGI_TXTSP, 1533 ID_BSIGQ_TXTSP, 1534 ID_MODE_TX, 1535 ID_DTHBIT_TX, 1536 ID_TSGSWAPIQ_TXTSP, 1537 ID_TSGFCW_TXTSP, 1538 ID_TSGMODE_TXTSP, 1539 ID_INSEL_TXTSP, 1540 ID_TSGFC_TXTSP, 1541 ID_DC_REG_TXTSP, 1542 ID_CMIX_SC_TXTSP, 1543 ID_CMIX_GAIN_TXTSP, 1544 ID_HBI_OVR_TXTSP, 1545 ID_GFIR1_L_TXTSP, 1546 ID_GFIR1_N_TXTSP, 1547 ID_GFIR2_L_TXTSP, 1548 ID_GFIR2_N_TXTSP, 1549 ID_GFIR3_L_TXTSP, 1550 ID_GFIR3_N_TXTSP, 1551 ID_IQCORR_TXTSP, 1552 ID_GCORRI_TXTSP, 1553 ID_GCORRQ_TXTSP, 1554 ID_DCCORRI_TXTSP, 1555 ID_DCCORRQ_TXTSP 1556 }; 1557 1558 wxCheckBox* chkEN_TXTSP; 1559 wxCheckBox* chkDC_BYP_TXTSP; 1560 wxCheckBox* chkGC_BYP_TXTSP; 1561 wxCheckBox* chkPH_BYP_TXTSP; 1562 wxCheckBox* chkCMIX_BYP_TXTSP; 1563 wxCheckBox* chkISINC_BYP_TXTSP; 1564 wxCheckBox* chkGFIR1_BYP_TXTSP; 1565 wxCheckBox* chkGFIR2_BYP_TXTSP; 1566 wxCheckBox* chkGFIR3_BYP_TXTSP; 1567 wxCheckBox* chkBSTART_TXTSP; 1568 wxStaticText* ID_STATICTEXT2; 1569 wxStaticText* lblBSTATE_TXTSP; 1570 wxStaticText* ID_STATICTEXT1; 1571 wxStaticText* lblBSIGI_TXTSP; 1572 wxStaticText* ID_STATICTEXT3; 1573 wxStaticText* lblBSIGQ_TXTSP; 1574 wxButton* btnReadBIST; 1575 wxFlexGridSizer* sizerNCOgrid; 1576 wxStaticText* tableTitleCol1; 1577 wxStaticText* tableTitleCol2; 1578 wxRadioButton* rgrSEL0; 1579 wxTextCtrl* txtFCWPHO0; 1580 wxStaticText* txtAnglePHO0; 1581 wxRadioButton* rgrSEL01; 1582 wxTextCtrl* txtFCWPHO01; 1583 wxStaticText* txtAnglePHO01; 1584 wxRadioButton* rgrSEL02; 1585 wxTextCtrl* txtFCWPHO02; 1586 wxStaticText* txtAnglePHO02; 1587 wxRadioButton* rgrSEL03; 1588 wxTextCtrl* txtFCWPHO03; 1589 wxStaticText* txtAnglePHO03; 1590 wxRadioButton* rgrSEL04; 1591 wxTextCtrl* txtFCWPHO04; 1592 wxStaticText* txtAnglePHO04; 1593 wxRadioButton* rgrSEL05; 1594 wxTextCtrl* txtFCWPHO05; 1595 wxStaticText* txtAnglePHO05; 1596 wxRadioButton* rgrSEL06; 1597 wxTextCtrl* txtFCWPHO06; 1598 wxStaticText* txtAnglePHO06; 1599 wxRadioButton* rgrSEL07; 1600 wxTextCtrl* txtFCWPHO07; 1601 wxStaticText* txtAnglePHO07; 1602 wxRadioButton* rgrSEL08; 1603 wxTextCtrl* txtFCWPHO08; 1604 wxStaticText* txtAnglePHO08; 1605 wxRadioButton* rgrSEL09; 1606 wxTextCtrl* txtFCWPHO09; 1607 wxStaticText* txtAnglePHO09; 1608 wxRadioButton* rgrSEL10; 1609 wxTextCtrl* txtFCWPHO10; 1610 wxStaticText* txtAnglePHO10; 1611 wxRadioButton* rgrSEL11; 1612 wxTextCtrl* txtFCWPHO11; 1613 wxStaticText* txtAnglePHO11; 1614 wxRadioButton* rgrSEL12; 1615 wxTextCtrl* txtFCWPHO12; 1616 wxStaticText* txtAnglePHO12; 1617 wxRadioButton* rgrSEL13; 1618 wxTextCtrl* txtFCWPHO13; 1619 wxStaticText* txtAnglePHO13; 1620 wxRadioButton* rgrSEL14; 1621 wxTextCtrl* txtFCWPHO14; 1622 wxStaticText* txtAnglePHO14; 1623 wxRadioButton* rgrSEL15; 1624 wxTextCtrl* txtFCWPHO15; 1625 wxStaticText* txtAnglePHO15; 1626 wxStaticText* ID_STATICTEXT21; 1627 wxStaticText* lblRefClk; 1628 wxButton* btnUploadNCO; 1629 wxRadioBox* rgrMODE_TX; 1630 wxStaticText* lblFCWPHOmodeName; 1631 wxTextCtrl* txtFCWPHOmodeAdditional; 1632 wxStaticText* ID_STATICTEXT25; 1633 wxComboBox* cmbDTHBIT_TX; 1634 wxCheckBox* chkTSGSWAPIQ_TXTSP; 1635 wxRadioBox* rgrTSGFCW_TXTSP; 1636 wxRadioBox* rgrTSGMODE_TXTSP; 1637 wxRadioBox* rgrINSEL_TXTSP; 1638 wxRadioBox* rgrTSGFC_TXTSP; 1639 wxStaticText* ID_STATICTEXT23; 1640 wxTextCtrl* txtDC_REG_TXTSP; 1641 wxButton* btnLoadDCI; 1642 wxButton* btnLoadDCQ; 1643 wxComboBox* cmbCMIX_SC_TXTSP; 1644 wxStaticText* ID_STATICTEXT24; 1645 wxComboBox* cmbCMIX_GAIN_TXTSP; 1646 wxStaticText* ID_STATICTEXT7; 1647 wxComboBox* cmbHBI_OVR_TXTSP; 1648 wxStaticText* ID_STATICTEXT10; 1649 wxComboBox* cmbGFIR1_L_TXTSP; 1650 wxStaticText* ID_STATICTEXT11; 1651 wxSpinCtrl* cmbGFIR1_N_TXTSP; 1652 wxButton* btnGFIR1Coef; 1653 wxStaticText* ID_STATICTEXT12; 1654 wxComboBox* cmbGFIR2_L_TXTSP; 1655 wxStaticText* ID_STATICTEXT13; 1656 wxSpinCtrl* cmbGFIR2_N_TXTSP; 1657 wxButton* btnGFIR2Coef; 1658 wxStaticText* ID_STATICTEXT14; 1659 wxComboBox* cmbGFIR3_L_TXTSP; 1660 wxStaticText* ID_STATICTEXT15; 1661 wxSpinCtrl* cmbGFIR3_N_TXTSP; 1662 wxButton* btnGFIR3Coef; 1663 wxStaticText* txtBW; 1664 wxTextCtrl* txtLPFBW; 1665 wxButton* btnSetLPF; 1666 wxStaticText* txtRATE; 1667 wxStaticText* txtRATEVAL; 1668 NumericSlider* cmbIQCORR_TXTSP; 1669 wxStaticText* ID_STATICTEXT16; 1670 wxStaticText* txtPhaseAlpha; 1671 wxStaticText* ID_STATICTEXT5; 1672 NumericSlider* cmbGCORRI_TXTSP; 1673 wxStaticText* ID_STATICTEXT4; 1674 NumericSlider* cmbGCORRQ_TXTSP; 1675 wxButton* ID_BUTTON10; 1676 wxStaticText* ID_STATICTEXT8; 1677 NumericSlider* cmbDCCORRI_TXTSP; 1678 wxStaticText* ID_STATICTEXT9; 1679 NumericSlider* cmbDCCORRQ_TXTSP; 1680 1681 // Virtual event handlers, overide them in your derived class ParameterChangeHandler(wxCommandEvent & event)1682 virtual void ParameterChangeHandler( wxCommandEvent& event ) { event.Skip(); } onbtnReadBISTSignature(wxCommandEvent & event)1683 virtual void onbtnReadBISTSignature( wxCommandEvent& event ) { event.Skip(); } OnNCOSelectionChange(wxCommandEvent & event)1684 virtual void OnNCOSelectionChange( wxCommandEvent& event ) { event.Skip(); } PHOinputChanged(wxCommandEvent & event)1685 virtual void PHOinputChanged( wxCommandEvent& event ) { event.Skip(); } OnbtnUploadNCOClick(wxCommandEvent & event)1686 virtual void OnbtnUploadNCOClick( wxCommandEvent& event ) { event.Skip(); } txtFCWPHOmodeAdditional_OnMouseWheel(wxMouseEvent & event)1687 virtual void txtFCWPHOmodeAdditional_OnMouseWheel( wxMouseEvent& event ) { event.Skip(); } OnbtnLoadDCIClick(wxCommandEvent & event)1688 virtual void OnbtnLoadDCIClick( wxCommandEvent& event ) { event.Skip(); } OnbtnLoadDCQClick(wxCommandEvent & event)1689 virtual void OnbtnLoadDCQClick( wxCommandEvent& event ) { event.Skip(); } ParameterChangeHandler(wxSpinEvent & event)1690 virtual void ParameterChangeHandler( wxSpinEvent& event ) { event.Skip(); } onbtnGFIR1Coef(wxCommandEvent & event)1691 virtual void onbtnGFIR1Coef( wxCommandEvent& event ) { event.Skip(); } onbtnGFIR2Coef(wxCommandEvent & event)1692 virtual void onbtnGFIR2Coef( wxCommandEvent& event ) { event.Skip(); } onbtnGFIR3Coef(wxCommandEvent & event)1693 virtual void onbtnGFIR3Coef( wxCommandEvent& event ) { event.Skip(); } OnbtnSetLPFClick(wxCommandEvent & event)1694 virtual void OnbtnSetLPFClick( wxCommandEvent& event ) { event.Skip(); } 1695 1696 1697 public: 1698 1699 pnlTxTSP_view( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxTAB_TRAVERSAL ); 1700 ~pnlTxTSP_view(); 1701 1702 }; 1703 1704 /////////////////////////////////////////////////////////////////////////////// 1705 /// Class pnlRxTSP_view 1706 /////////////////////////////////////////////////////////////////////////////// 1707 class pnlRxTSP_view : public wxPanel 1708 { 1709 private: 1710 1711 protected: 1712 enum 1713 { 1714 ID_EN_RXTSP = 2048, 1715 ID_DC_BYP_RXTSP, 1716 ID_GC_BYP_RXTSP, 1717 ID_PH_BYP_RXTSP, 1718 ID_CMIX_BYP_RXTSP, 1719 ID_AGC_BYP_RXTSP, 1720 ID_GFIR1_BYP_RXTSP, 1721 ID_GFIR2_BYP_RXTSP, 1722 ID_GFIR3_BYP_RXTSP, 1723 ID_BSTART_RXTSP, 1724 ID_MODE_RX, 1725 ID_DTHBIT_RX, 1726 ID_TSGSWAPIQ_RXTSP, 1727 ID_TSGFCW_RXTSP, 1728 ID_TSGMODE_RXTSP, 1729 ID_INSEL_RXTSP, 1730 ID_TSGFC_RXTSP, 1731 ID_DCCORR_AVG, 1732 ID_DC_REG_RXTSP, 1733 ID_CMIX_SC_RXTSP, 1734 ID_CMIX_GAIN_RXTSP, 1735 ID_HBD_OVR_RXTSP, 1736 ID_GFIR1_L_RXTSP, 1737 ID_GFIR1_N_RXTSP, 1738 ID_GFIR2_L_RXTSP, 1739 ID_GFIR2_N_RXTSP, 1740 ID_GFIR3_L_RXTSP, 1741 ID_GFIR3_N_RXTSP, 1742 ID_IQCORR_RXTSP, 1743 ID_GCORRI_RXTSP, 1744 ID_GCORRQ_RXTSP, 1745 ID_AGC_MODE_RXTSP, 1746 ID_AGC_AVG_RXTSP, 1747 ID_AGC_K_RXTSP, 1748 ID_AGC_ADESIRED_RXTSP 1749 }; 1750 1751 wxCheckBox* chkEN_RXTSP; 1752 wxCheckBox* chkDC_BYP_RXTSP; 1753 wxCheckBox* chkDC_LOOP_RXTSP; 1754 wxCheckBox* chkGC_BYP_RXTSP; 1755 wxCheckBox* chkPH_BYP_RXTSP; 1756 wxCheckBox* chkCMIX_BYP_RXTSP; 1757 wxCheckBox* chkAGC_BYP_RXTSP; 1758 wxCheckBox* chkGFIR1_BYP_RXTSP; 1759 wxCheckBox* chkGFIR2_BYP_RXTSP; 1760 wxCheckBox* chkGFIR3_BYP_RXTSP; 1761 wxStaticText* ID_STATICTEXT29; 1762 wxStaticText* lblBISTI; 1763 wxStaticText* ID_STATICTEXT30; 1764 wxStaticText* lblBSTATE_I; 1765 wxStaticText* ID_STATICTEXT31; 1766 wxStaticText* lblBISTQ; 1767 wxStaticText* ID_STATICTEXT32; 1768 wxStaticText* lblBSTATE_Q; 1769 wxCheckBox* chkBSTART_RXTSP; 1770 wxButton* btnReadBIST; 1771 wxStaticText* ID_STATICTEXT71; 1772 wxStaticText* lblADCI; 1773 wxStaticText* ID_STATICTEXT28; 1774 wxStaticText* lblADCQ; 1775 wxStaticText* ID_STATICTEXT51; 1776 wxStaticText* lblRSSI; 1777 wxCheckBox* chkCAPSEL_ADC_RXTSP; 1778 wxButton* ID_BUTTON1; 1779 wxFlexGridSizer* sizerNCOgrid; 1780 wxStaticText* tableTitleCol1; 1781 wxStaticText* tableTitleCol2; 1782 wxRadioButton* rgrSEL0; 1783 wxTextCtrl* txtFCWPHO0; 1784 wxStaticText* txtAnglePHO0; 1785 wxRadioButton* rgrSEL01; 1786 wxTextCtrl* txtFCWPHO01; 1787 wxStaticText* txtAnglePHO01; 1788 wxRadioButton* rgrSEL02; 1789 wxTextCtrl* txtFCWPHO02; 1790 wxStaticText* txtAnglePHO02; 1791 wxRadioButton* rgrSEL03; 1792 wxTextCtrl* txtFCWPHO03; 1793 wxStaticText* txtAnglePHO03; 1794 wxRadioButton* rgrSEL04; 1795 wxTextCtrl* txtFCWPHO04; 1796 wxStaticText* txtAnglePHO04; 1797 wxRadioButton* rgrSEL05; 1798 wxTextCtrl* txtFCWPHO05; 1799 wxStaticText* txtAnglePHO05; 1800 wxRadioButton* rgrSEL06; 1801 wxTextCtrl* txtFCWPHO06; 1802 wxStaticText* txtAnglePHO06; 1803 wxRadioButton* rgrSEL07; 1804 wxTextCtrl* txtFCWPHO07; 1805 wxStaticText* txtAnglePHO07; 1806 wxRadioButton* rgrSEL08; 1807 wxTextCtrl* txtFCWPHO08; 1808 wxStaticText* txtAnglePHO08; 1809 wxRadioButton* rgrSEL09; 1810 wxTextCtrl* txtFCWPHO09; 1811 wxStaticText* txtAnglePHO09; 1812 wxRadioButton* rgrSEL10; 1813 wxTextCtrl* txtFCWPHO10; 1814 wxStaticText* txtAnglePHO10; 1815 wxRadioButton* rgrSEL11; 1816 wxTextCtrl* txtFCWPHO11; 1817 wxStaticText* txtAnglePHO11; 1818 wxRadioButton* rgrSEL12; 1819 wxTextCtrl* txtFCWPHO12; 1820 wxStaticText* txtAnglePHO12; 1821 wxRadioButton* rgrSEL13; 1822 wxTextCtrl* txtFCWPHO13; 1823 wxStaticText* txtAnglePHO13; 1824 wxRadioButton* rgrSEL14; 1825 wxTextCtrl* txtFCWPHO14; 1826 wxStaticText* txtAnglePHO14; 1827 wxRadioButton* rgrSEL15; 1828 wxTextCtrl* txtFCWPHO15; 1829 wxStaticText* txtAnglePHO15; 1830 wxStaticText* ID_STATICTEXT21; 1831 wxStaticText* lblRefClk; 1832 wxButton* btnUploadNCO; 1833 wxRadioBox* rgrMODE_RX; 1834 wxStaticText* lblFCWPHOmodeName; 1835 wxTextCtrl* txtFCWPHOmodeAdditional; 1836 wxStaticText* ID_STATICTEXT25; 1837 wxComboBox* cmbDTHBIT_RX; 1838 wxCheckBox* chkTSGSWAPIQ_RXTSP; 1839 wxRadioBox* rgrTSGFCW_RXTSP; 1840 wxRadioBox* rgrTSGMODE_RXTSP; 1841 wxRadioBox* rgrINSEL_RXTSP; 1842 wxRadioBox* rgrTSGFC_RXTSP; 1843 wxComboBox* cmbDCCORR_AVG; 1844 wxStaticText* ID_STATICTEXT23; 1845 wxTextCtrl* txtDC_REG_RXTSP; 1846 wxButton* btnLoadDCI; 1847 wxButton* btnLoadDCQ; 1848 wxComboBox* cmbCMIX_SC_RXTSP; 1849 wxStaticText* ID_STATICTEXT24; 1850 wxComboBox* cmbCMIX_GAIN_RXTSP; 1851 wxStaticText* ID_STATICTEXT7; 1852 wxComboBox* cmbHBD_OVR_RXTSP; 1853 wxStaticText* ID_STATICTEXT72; 1854 wxComboBox* cmbHBD_DLY; 1855 wxStaticText* ID_STATICTEXT10; 1856 wxComboBox* cmbGFIR1_L_RXTSP; 1857 wxStaticText* ID_STATICTEXT11; 1858 wxSpinCtrl* cmbGFIR1_N_RXTSP; 1859 wxButton* btnGFIR1Coef; 1860 wxStaticText* ID_STATICTEXT12; 1861 wxComboBox* cmbGFIR2_L_RXTSP; 1862 wxStaticText* ID_STATICTEXT13; 1863 wxSpinCtrl* cmbGFIR2_N_RXTSP; 1864 wxButton* btnGFIR2Coef; 1865 wxStaticText* ID_STATICTEXT14; 1866 wxComboBox* cmbGFIR3_L_RXTSP; 1867 wxStaticText* ID_STATICTEXT15; 1868 wxSpinCtrl* cmbGFIR3_N_RXTSP; 1869 wxButton* btnGFIR3Coef; 1870 wxStaticText* txtBW; 1871 wxTextCtrl* txtLPFBW; 1872 wxButton* btnSetLPF; 1873 wxStaticText* txtRate; 1874 wxStaticText* txtRateVal; 1875 NumericSlider* cmbIQCORR_RXTSP; 1876 wxStaticText* ID_STATICTEXT16; 1877 wxStaticText* txtPhaseAlpha; 1878 wxStaticText* ID_STATICTEXT5; 1879 NumericSlider* cmbGCORRI_RXTSP; 1880 wxStaticText* ID_STATICTEXT4; 1881 NumericSlider* cmbGCORRQ_RXTSP; 1882 wxButton* ID_BUTTON10; 1883 wxStaticText* ID_STATICTEXT91; 1884 wxComboBox* cmbAGC_MODE_RXTSP; 1885 wxStaticText* ID_STATICTEXT3; 1886 wxComboBox* cmbAGC_AVG_RXTSP; 1887 wxStaticText* ID_STATICTEXT1; 1888 NumericSlider* spinAGC_K_RXTSP; 1889 wxStaticText* ID_STATICTEXT2; 1890 NumericSlider* cmbAGC_ADESIRED_RXTSP; 1891 1892 // Virtual event handlers, overide them in your derived class ParameterChangeHandler(wxCommandEvent & event)1893 virtual void ParameterChangeHandler( wxCommandEvent& event ) { event.Skip(); } OnbtnReadBISTSignature(wxCommandEvent & event)1894 virtual void OnbtnReadBISTSignature( wxCommandEvent& event ) { event.Skip(); } OnbtnReadRSSI(wxCommandEvent & event)1895 virtual void OnbtnReadRSSI( wxCommandEvent& event ) { event.Skip(); } OnNCOSelectionChange(wxCommandEvent & event)1896 virtual void OnNCOSelectionChange( wxCommandEvent& event ) { event.Skip(); } PHOinputChanged(wxCommandEvent & event)1897 virtual void PHOinputChanged( wxCommandEvent& event ) { event.Skip(); } OnbtnUploadNCOClick(wxCommandEvent & event)1898 virtual void OnbtnUploadNCOClick( wxCommandEvent& event ) { event.Skip(); } txtFCWPHOmodeAdditional_OnMouseWheel(wxMouseEvent & event)1899 virtual void txtFCWPHOmodeAdditional_OnMouseWheel( wxMouseEvent& event ) { event.Skip(); } OnbtnLoadDCIClick(wxCommandEvent & event)1900 virtual void OnbtnLoadDCIClick( wxCommandEvent& event ) { event.Skip(); } OnbtnLoadDCQClick(wxCommandEvent & event)1901 virtual void OnbtnLoadDCQClick( wxCommandEvent& event ) { event.Skip(); } ParameterChangeHandler(wxSpinEvent & event)1902 virtual void ParameterChangeHandler( wxSpinEvent& event ) { event.Skip(); } onbtnGFIR1Coef(wxCommandEvent & event)1903 virtual void onbtnGFIR1Coef( wxCommandEvent& event ) { event.Skip(); } onbtnGFIR2Coef(wxCommandEvent & event)1904 virtual void onbtnGFIR2Coef( wxCommandEvent& event ) { event.Skip(); } onbtnGFIR3Coef(wxCommandEvent & event)1905 virtual void onbtnGFIR3Coef( wxCommandEvent& event ) { event.Skip(); } OnbtnSetLPFClick(wxCommandEvent & event)1906 virtual void OnbtnSetLPFClick( wxCommandEvent& event ) { event.Skip(); } 1907 1908 1909 public: 1910 1911 pnlRxTSP_view( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 1145,536 ), long style = wxTAB_TRAVERSAL ); 1912 ~pnlRxTSP_view(); 1913 1914 }; 1915 1916 /////////////////////////////////////////////////////////////////////////////// 1917 /// Class pnlCDS_view 1918 /////////////////////////////////////////////////////////////////////////////// 1919 class pnlCDS_view : public wxPanel 1920 { 1921 private: 1922 1923 protected: 1924 enum 1925 { 1926 ID_CDSN_TXBTSP = 2048, 1927 ID_CDSN_TXATSP, 1928 ID_CDSN_RXBTSP, 1929 ID_CDSN_RXATSP, 1930 ID_CDSN_TXBLML, 1931 ID_CDSN_TXALML, 1932 ID_CDSN_RXBLML, 1933 ID_CDSN_RXALML , 1934 ID_CDSN_MCLK2, 1935 ID_CDSN_MCLK1, 1936 ID_CDS_MCLK2, 1937 ID_CDS_MCLK1, 1938 ID_CDS_TXBTSP, 1939 ID_CDS_TXATSP, 1940 ID_CDS_RXBTSP, 1941 ID_CDS_RXATSP, 1942 ID_CDS_TXBLML, 1943 ID_CDS_TXALML, 1944 ID_CDS_RXBLML, 1945 ID_CDS_RXALML 1946 }; 1947 1948 wxCheckBox* chkCDSN_TXBTSP; 1949 wxCheckBox* chkCDSN_TXATSP; 1950 wxCheckBox* chkCDSN_RXBTSP; 1951 wxCheckBox* chkCDSN_RXATSP; 1952 wxCheckBox* chkCDSN_TXBLML; 1953 wxCheckBox* chkCDSN_TXALML; 1954 wxCheckBox* chkCDSN_RXBLML; 1955 wxCheckBox* chkCDSN_RXALML ; 1956 wxCheckBox* chkCDSN_MCLK2; 1957 wxCheckBox* chkCDSN_MCLK1; 1958 wxRadioBox* rgrCDS_MCLK2; 1959 wxRadioBox* rgrCDS_MCLK1; 1960 wxRadioBox* rgrCDS_TXBTSP; 1961 wxRadioBox* rgrCDS_TXATSP; 1962 wxRadioBox* rgrCDS_RXBTSP; 1963 wxRadioBox* rgrCDS_RXATSP; 1964 wxRadioBox* rgrCDS_TXBLML; 1965 wxRadioBox* rgrCDS_TXALML; 1966 wxRadioBox* rgrCDS_RXBLML; 1967 wxRadioBox* rgrCDS_RXALML; 1968 1969 // Virtual event handlers, overide them in your derived class ParameterChangeHandler(wxCommandEvent & event)1970 virtual void ParameterChangeHandler( wxCommandEvent& event ) { event.Skip(); } 1971 1972 1973 public: 1974 1975 pnlCDS_view( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxTAB_TRAVERSAL ); 1976 ~pnlCDS_view(); 1977 1978 }; 1979 1980 /////////////////////////////////////////////////////////////////////////////// 1981 /// Class pnlBIST_view 1982 /////////////////////////////////////////////////////////////////////////////// 1983 class pnlBIST_view : public wxPanel 1984 { 1985 private: 1986 1987 protected: 1988 enum 1989 { 1990 ID_BENC = 2048, 1991 ID_SDM_TSTO_CGEN, 1992 ID_BENR, 1993 ID_SDM_TSTO_SXR, 1994 ID_BENT, 1995 ID_SDM_TSTO_SXT, 1996 ID_BSTART, 1997 ID_BSTATE, 1998 ID_BSIGT, 1999 ID_BSIGR, 2000 ID_BSIGC, 2001 ID_BTN_READ_SIGNATURE 2002 }; 2003 2004 wxCheckBox* chkBENC; 2005 wxCheckBox* chkSDM_TSTO_CGEN; 2006 wxCheckBox* chkBENR; 2007 wxCheckBox* chkSDM_TSTO_SXR; 2008 wxCheckBox* chkBENT; 2009 wxCheckBox* chkSDM_TSTO_SXT; 2010 wxCheckBox* chkBSTART; 2011 wxStaticText* ID_STATICTEXT2; 2012 wxStaticText* lblBSTATE; 2013 wxStaticText* ID_STATICTEXT1; 2014 wxStaticText* lblBSIGT; 2015 wxStaticText* ID_STATICTEXT3; 2016 wxStaticText* lblBSIGR; 2017 wxStaticText* ID_STATICTEXT4; 2018 wxStaticText* lblBSIGC; 2019 wxButton* btnReadSignature; 2020 2021 // Virtual event handlers, overide them in your derived class ParameterChangeHandler(wxCommandEvent & event)2022 virtual void ParameterChangeHandler( wxCommandEvent& event ) { event.Skip(); } onbtnReadSignature(wxCommandEvent & event)2023 virtual void onbtnReadSignature( wxCommandEvent& event ) { event.Skip(); } 2024 2025 2026 public: 2027 2028 pnlBIST_view( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxTAB_TRAVERSAL ); 2029 ~pnlBIST_view(); 2030 2031 }; 2032 2033 /////////////////////////////////////////////////////////////////////////////// 2034 /// Class pnlMCU_BD_view 2035 /////////////////////////////////////////////////////////////////////////////// 2036 class pnlMCU_BD_view : public wxPanel 2037 { 2038 private: 2039 2040 protected: 2041 enum 2042 { 2043 ID_CHECKBOX_RESETMCU = 2048, 2044 ID_TESTNO, 2045 ID_DEBUGMODE, 2046 ID_RUNINSTR, 2047 ID_INSTRNO, 2048 ID_RESETPC, 2049 ID_SELDIV, 2050 ID_RADIOBUTTON4, 2051 ID_RADIOBUTTON5 2052 }; 2053 2054 wxStaticText* ID_STATICTEXT1; 2055 wxButton* Button_LOADHEX; 2056 wxCheckBox* chkReset; 2057 wxRadioBox* rgrMode; 2058 wxButton* btnStartProgramming; 2059 wxStaticText* ID_S_PROGFINISHED; 2060 wxStaticText* ID_STATICTEXT3; 2061 wxButton* btnRunTest; 2062 wxStaticText* ID_STATICTEXT4; 2063 wxTextCtrl* m_sTestNo; 2064 wxButton* btnRunProductionTest; 2065 wxCheckBox* DebugMode; 2066 wxButton* RunInstr; 2067 wxStaticText* ID_STATICTEXT6; 2068 wxTextCtrl* InstrNo; 2069 wxButton* ResetPC; 2070 wxStaticText* ID_STATICTEXT7; 2071 wxStaticText* PCValue; 2072 wxButton* ViewSFRs; 2073 wxButton* ViewIRAM; 2074 wxButton* EraseIRAM; 2075 wxStaticText* ID_STATICTEXT10; 2076 wxChoice* SelDiv; 2077 wxRadioButton* m_cCtrlBaseband; 2078 wxRadioButton* m_cCtrlMCU_BD; 2079 wxStaticText* ID_STATICTEXT5; 2080 wxChoice* cmbRegAddr; 2081 wxRadioButton* rbtnRegWrite; 2082 wxStaticText* ID_STATICTEXT11; 2083 wxTextCtrl* txtRegValueWr; 2084 wxRadioButton* rbtnRegRead; 2085 wxStaticText* ReadResult; 2086 wxButton* btnRdWr; 2087 wxStaticText* ID_STATICTEXT2; 2088 wxGauge* progressBar; 2089 wxStaticText* lblProgCodeFile; 2090 wxStaticText* lblTestResultsFile; 2091 2092 // Virtual event handlers, overide them in your derived class OnButton_LOADHexClick(wxCommandEvent & event)2093 virtual void OnButton_LOADHexClick( wxCommandEvent& event ) { event.Skip(); } OnchkResetClick(wxCommandEvent & event)2094 virtual void OnchkResetClick( wxCommandEvent& event ) { event.Skip(); } OnbtnStartProgrammingClick(wxCommandEvent & event)2095 virtual void OnbtnStartProgrammingClick( wxCommandEvent& event ) { event.Skip(); } OnbtnRunTestClick(wxCommandEvent & event)2096 virtual void OnbtnRunTestClick( wxCommandEvent& event ) { event.Skip(); } OnbtnRunProductionTestClicked(wxCommandEvent & event)2097 virtual void OnbtnRunProductionTestClicked( wxCommandEvent& event ) { event.Skip(); } OnDebugModeClick(wxCommandEvent & event)2098 virtual void OnDebugModeClick( wxCommandEvent& event ) { event.Skip(); } OnRunInstruction(wxCommandEvent & event)2099 virtual void OnRunInstruction( wxCommandEvent& event ) { event.Skip(); } OnResetPCClick(wxCommandEvent & event)2100 virtual void OnResetPCClick( wxCommandEvent& event ) { event.Skip(); } OnViewSFRsClick(wxCommandEvent & event)2101 virtual void OnViewSFRsClick( wxCommandEvent& event ) { event.Skip(); } OnViewIRAMClick(wxCommandEvent & event)2102 virtual void OnViewIRAMClick( wxCommandEvent& event ) { event.Skip(); } OnEraseIRAMClick(wxCommandEvent & event)2103 virtual void OnEraseIRAMClick( wxCommandEvent& event ) { event.Skip(); } OnSelDivSelect(wxCommandEvent & event)2104 virtual void OnSelDivSelect( wxCommandEvent& event ) { event.Skip(); } Onm_cCtrlBasebandSelect(wxCommandEvent & event)2105 virtual void Onm_cCtrlBasebandSelect( wxCommandEvent& event ) { event.Skip(); } Onm_cCtrlMCU_BDSelect(wxCommandEvent & event)2106 virtual void Onm_cCtrlMCU_BDSelect( wxCommandEvent& event ) { event.Skip(); } OnRegWriteRead(wxCommandEvent & event)2107 virtual void OnRegWriteRead( wxCommandEvent& event ) { event.Skip(); } 2108 2109 2110 public: 2111 2112 pnlMCU_BD_view( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxTAB_TRAVERSAL ); 2113 ~pnlMCU_BD_view(); 2114 2115 }; 2116 2117 /////////////////////////////////////////////////////////////////////////////// 2118 /// Class pnlCalibrations_view 2119 /////////////////////////////////////////////////////////////////////////////// 2120 class pnlCalibrations_view : public wxPanel 2121 { 2122 private: 2123 2124 protected: 2125 enum 2126 { 2127 ID_GCORRI_RXTSP = 2048, 2128 ID_GCORRQ_RXTSP, 2129 ID_IQCORR_RXTSP, 2130 ID_DCOFFI_RFE, 2131 ID_DCOFFQ_RFE, 2132 ID_EN_DCOFF_RXFE_RFE, 2133 ID_DCMODE, 2134 ID_GCORRI_TXTSP, 2135 ID_GCORRQ_TXTSP, 2136 ID_IQCORR_TXTSP, 2137 ID_DCCORRI_TXTSP, 2138 ID_DCCORRQ_TXTSP 2139 }; 2140 2141 wxStaticText* ID_STATICTEXT51; 2142 NumericSlider* cmbGCORRI_RXTSP; 2143 wxStaticText* ID_STATICTEXT41; 2144 NumericSlider* cmbGCORRQ_RXTSP; 2145 wxButton* ID_BUTTON101; 2146 NumericSlider* cmbIQCORR_RXTSP; 2147 wxStaticText* ID_STATICTEXT161; 2148 wxStaticText* txtPhaseAlpha1; 2149 wxStaticText* ID_STATICTEXT6; 2150 NumericSlider* cmbDCOFFI_RFE; 2151 wxStaticText* ID_STATICTEXT7; 2152 NumericSlider* cmbDCOFFQ_RFE; 2153 wxCheckBox* chkEN_DCOFF_RXFE_RFE; 2154 wxCheckBox* chkDCMODE; 2155 wxButton* btnCalibrateRx; 2156 wxStaticText* ID_STATICTEXT5; 2157 NumericSlider* cmbGCORRI_TXTSP; 2158 wxStaticText* ID_STATICTEXT4; 2159 NumericSlider* cmbGCORRQ_TXTSP; 2160 wxButton* ID_BUTTON10; 2161 NumericSlider* cmbIQCORR_TXTSP; 2162 wxStaticText* ID_STATICTEXT16; 2163 wxStaticText* txtPhaseAlpha; 2164 wxStaticText* ID_STATICTEXT8; 2165 NumericSlider* cmbDCCORRI_TXTSP; 2166 wxStaticText* ID_STATICTEXT9; 2167 NumericSlider* cmbDCCORRQ_TXTSP; 2168 wxButton* btnCalibrateTx; 2169 wxButton* btnCalibrateAll; 2170 wxStaticText* m_staticText431; 2171 wxStaticText* lblCGENrefClk; 2172 wxStaticText* m_staticText372; 2173 wxTextCtrl* txtCalibrationBW; 2174 wxRadioBox* rgrCalibrationMethod; 2175 wxStaticText* lblCalibrationNote; 2176 2177 // Virtual event handlers, overide them in your derived class ParameterChangeHandler(wxSpinEvent & event)2178 virtual void ParameterChangeHandler( wxSpinEvent& event ) { event.Skip(); } ParameterChangeHandler(wxCommandEvent & event)2179 virtual void ParameterChangeHandler( wxCommandEvent& event ) { event.Skip(); } OnbtnCalibrateRx(wxCommandEvent & event)2180 virtual void OnbtnCalibrateRx( wxCommandEvent& event ) { event.Skip(); } OnbtnCalibrateTx(wxCommandEvent & event)2181 virtual void OnbtnCalibrateTx( wxCommandEvent& event ) { event.Skip(); } OnbtnCalibrateAll(wxCommandEvent & event)2182 virtual void OnbtnCalibrateAll( wxCommandEvent& event ) { event.Skip(); } OnCalibrationMethodChange(wxCommandEvent & event)2183 virtual void OnCalibrationMethodChange( wxCommandEvent& event ) { event.Skip(); } 2184 2185 2186 public: 2187 2188 pnlCalibrations_view( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxTAB_TRAVERSAL ); 2189 ~pnlCalibrations_view(); 2190 2191 }; 2192 2193 /////////////////////////////////////////////////////////////////////////////// 2194 /// Class pnlGains_view 2195 /////////////////////////////////////////////////////////////////////////////// 2196 class pnlGains_view : public wxPanel 2197 { 2198 private: 2199 2200 protected: 2201 enum 2202 { 2203 ID_EN_NEXTRX_RFE = 2048, 2204 ID_G_LNA_RFE, 2205 ID_G_TIA_RFE, 2206 ID_G_PGA_RBB, 2207 ID_C_CTL_PGA_RBB, 2208 ID_LOSS_LIN_TXPAD_TRF, 2209 ID_LOSS_MAIN_TXPAD_TRF, 2210 ID_CG_IAMP_TBB 2211 }; 2212 2213 wxCheckBox* chkTRX_GAIN_SRC; 2214 wxComboBox* cmbG_LNA_RFE; 2215 wxComboBox* cmbG_TIA_RFE; 2216 wxComboBox* cmbG_PGA_RBB; 2217 NumericSlider* cmbC_CTL_PGA_RBB; 2218 wxComboBox* cmbLOSS_LIN_TXPAD_TRF; 2219 wxComboBox* cmbLOSS_MAIN_TXPAD_TRF; 2220 NumericSlider* cmbCG_IAMP_TBB; 2221 wxCheckBox* chkAGC; 2222 wxStaticText* m_staticText360; 2223 wxTextCtrl* txtCrestFactor; 2224 2225 // Virtual event handlers, overide them in your derived class ParameterChangeHandler(wxCommandEvent & event)2226 virtual void ParameterChangeHandler( wxCommandEvent& event ) { event.Skip(); } ParameterChangeHandler(wxSpinEvent & event)2227 virtual void ParameterChangeHandler( wxSpinEvent& event ) { event.Skip(); } OnAGCStateChange(wxCommandEvent & event)2228 virtual void OnAGCStateChange( wxCommandEvent& event ) { event.Skip(); } 2229 2230 2231 public: 2232 2233 pnlGains_view( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxTAB_TRAVERSAL ); 2234 ~pnlGains_view(); 2235 2236 }; 2237 2238 /////////////////////////////////////////////////////////////////////////////// 2239 /// Class dlgGFIR_Coefficients 2240 /////////////////////////////////////////////////////////////////////////////// 2241 class dlgGFIR_Coefficients : public wxDialog 2242 { 2243 private: 2244 2245 protected: 2246 wxButton* btnLoadFromFile; 2247 wxButton* btnSaveToFile; 2248 wxButton* btnClearTable; 2249 wxStaticText* ID_STATICTEXT3; 2250 wxSpinCtrl* spinCoefCount; 2251 wxGrid* gridCoef; 2252 wxButton* btnOk; 2253 wxButton* btnCancel; 2254 2255 // Virtual event handlers, overide them in your derived class OnLoadFromFile(wxCommandEvent & event)2256 virtual void OnLoadFromFile( wxCommandEvent& event ) { event.Skip(); } OnSaveToFile(wxCommandEvent & event)2257 virtual void OnSaveToFile( wxCommandEvent& event ) { event.Skip(); } OnClearTable(wxCommandEvent & event)2258 virtual void OnClearTable( wxCommandEvent& event ) { event.Skip(); } OnspinCoefCountChange(wxSpinEvent & event)2259 virtual void OnspinCoefCountChange( wxSpinEvent& event ) { event.Skip(); } OnBtnOkClick(wxCommandEvent & event)2260 virtual void OnBtnOkClick( wxCommandEvent& event ) { event.Skip(); } OnBtnCancelClick(wxCommandEvent & event)2261 virtual void OnBtnCancelClick( wxCommandEvent& event ) { event.Skip(); } 2262 2263 2264 public: 2265 2266 dlgGFIR_Coefficients( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Coefficients"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxDEFAULT_DIALOG_STYLE ); 2267 ~dlgGFIR_Coefficients(); 2268 2269 }; 2270 2271 /////////////////////////////////////////////////////////////////////////////// 2272 /// Class dlgVCOfrequencies 2273 /////////////////////////////////////////////////////////////////////////////// 2274 class dlgVCOfrequencies : public wxDialog 2275 { 2276 private: 2277 2278 protected: 2279 wxStaticText* m_staticText341; 2280 wxTextCtrl* txtVCOH_low; 2281 wxStaticText* m_staticText342; 2282 wxTextCtrl* txtVCOH_high; 2283 wxStaticText* m_staticText3411; 2284 wxTextCtrl* txtVCOM_low; 2285 wxStaticText* m_staticText3421; 2286 wxTextCtrl* txtVCOM_high; 2287 wxStaticText* m_staticText3412; 2288 wxTextCtrl* txtVCOL_low; 2289 wxStaticText* m_staticText3422; 2290 wxTextCtrl* txtVCOL_high; 2291 wxStaticText* m_staticText3413; 2292 wxTextCtrl* txtVCOCGEN_low; 2293 wxStaticText* m_staticText3423; 2294 wxTextCtrl* txtVCOCGEN_high; 2295 wxButton* btnOk; 2296 wxButton* btnCancel; 2297 wxButton* btnLoadFile; 2298 wxButton* btnSaveFile; 2299 2300 // Virtual event handlers, overide them in your derived class OnBtnOkClick(wxCommandEvent & event)2301 virtual void OnBtnOkClick( wxCommandEvent& event ) { event.Skip(); } OnBtnCancelClick(wxCommandEvent & event)2302 virtual void OnBtnCancelClick( wxCommandEvent& event ) { event.Skip(); } OnLoadFile(wxCommandEvent & event)2303 virtual void OnLoadFile( wxCommandEvent& event ) { event.Skip(); } OnSaveFile(wxCommandEvent & event)2304 virtual void OnSaveFile( wxCommandEvent& event ) { event.Skip(); } 2305 2306 2307 public: 2308 2309 dlgVCOfrequencies( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("VCO frequencies"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxDEFAULT_DIALOG_STYLE ); 2310 ~dlgVCOfrequencies(); 2311 2312 }; 2313 2314 #endif //__LMS7002_WXGUI_H__ 2315