Class: OpalKelly::OkTFPGAResetProfile

Inherits:
Object
  • Object
show all
Defined in:
ext/OpalKelly/FrontPanelDLL_wrap.cxx

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ Object



17130
17131
17132
17133
17134
17135
17136
17137
17138
17139
17140
17141
17142
17143
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 17130

SWIGINTERN VALUE
_wrap_new_okTFPGAResetProfile(int argc, VALUE *argv, VALUE self) {
  const char *classname SWIGUNUSED = "OpalKelly::okTFPGAResetProfile";
  okTFPGAResetProfile *result = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  result = (okTFPGAResetProfile *)new okTFPGAResetProfile();
  DATA_PTR(self) = result;
  return self;
fail:
  return Qnil;
}

Instance Method Details

#configFileLength(*args) ⇒ Object



16526
16527
16528
16529
16530
16531
16532
16533
16534
16535
16536
16537
16538
16539
16540
16541
16542
16543
16544
16545
16546
16547
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 16526

SWIGINTERN VALUE
_wrap_okTFPGAResetProfile_configFileLength_get(int argc, VALUE *argv, VALUE self) {
  okTFPGAResetProfile *arg1 = (okTFPGAResetProfile *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  UINT32 result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_okTFPGAResetProfile, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTFPGAResetProfile *","configFileLength", 1, self )); 
  }
  arg1 = reinterpret_cast< okTFPGAResetProfile * >(argp1);
  result = (UINT32) ((arg1)->configFileLength);
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return vresult;
fail:
  return Qnil;
}

#configFileLength=(*args) ⇒ Object



16497
16498
16499
16500
16501
16502
16503
16504
16505
16506
16507
16508
16509
16510
16511
16512
16513
16514
16515
16516
16517
16518
16519
16520
16521
16522
16523
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 16497

SWIGINTERN VALUE
_wrap_okTFPGAResetProfile_configFileLength_set(int argc, VALUE *argv, VALUE self) {
  okTFPGAResetProfile *arg1 = (okTFPGAResetProfile *) 0 ;
  UINT32 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_okTFPGAResetProfile, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTFPGAResetProfile *","configFileLength", 1, self )); 
  }
  arg1 = reinterpret_cast< okTFPGAResetProfile * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "UINT32","configFileLength", 2, argv[0] ));
  } 
  arg2 = static_cast< UINT32 >(val2);
  if (arg1) (arg1)->configFileLength = arg2;
  return Qnil;
fail:
  return Qnil;
}

#configFileLocation(*args) ⇒ Object



16473
16474
16475
16476
16477
16478
16479
16480
16481
16482
16483
16484
16485
16486
16487
16488
16489
16490
16491
16492
16493
16494
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 16473

SWIGINTERN VALUE
_wrap_okTFPGAResetProfile_configFileLocation_get(int argc, VALUE *argv, VALUE self) {
  okTFPGAResetProfile *arg1 = (okTFPGAResetProfile *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  UINT32 result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_okTFPGAResetProfile, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTFPGAResetProfile *","configFileLocation", 1, self )); 
  }
  arg1 = reinterpret_cast< okTFPGAResetProfile * >(argp1);
  result = (UINT32) ((arg1)->configFileLocation);
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return vresult;
fail:
  return Qnil;
}

#configFileLocation=(*args) ⇒ Object



16444
16445
16446
16447
16448
16449
16450
16451
16452
16453
16454
16455
16456
16457
16458
16459
16460
16461
16462
16463
16464
16465
16466
16467
16468
16469
16470
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 16444

SWIGINTERN VALUE
_wrap_okTFPGAResetProfile_configFileLocation_set(int argc, VALUE *argv, VALUE self) {
  okTFPGAResetProfile *arg1 = (okTFPGAResetProfile *) 0 ;
  UINT32 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_okTFPGAResetProfile, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTFPGAResetProfile *","configFileLocation", 1, self )); 
  }
  arg1 = reinterpret_cast< okTFPGAResetProfile * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "UINT32","configFileLocation", 2, argv[0] ));
  } 
  arg2 = static_cast< UINT32 >(val2);
  if (arg1) (arg1)->configFileLocation = arg2;
  return Qnil;
fail:
  return Qnil;
}

#doneWaitUS(*args) ⇒ Object



16579
16580
16581
16582
16583
16584
16585
16586
16587
16588
16589
16590
16591
16592
16593
16594
16595
16596
16597
16598
16599
16600
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 16579

SWIGINTERN VALUE
_wrap_okTFPGAResetProfile_doneWaitUS_get(int argc, VALUE *argv, VALUE self) {
  okTFPGAResetProfile *arg1 = (okTFPGAResetProfile *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  UINT32 result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_okTFPGAResetProfile, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTFPGAResetProfile *","doneWaitUS", 1, self )); 
  }
  arg1 = reinterpret_cast< okTFPGAResetProfile * >(argp1);
  result = (UINT32) ((arg1)->doneWaitUS);
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return vresult;
fail:
  return Qnil;
}

#doneWaitUS=(*args) ⇒ Object



16550
16551
16552
16553
16554
16555
16556
16557
16558
16559
16560
16561
16562
16563
16564
16565
16566
16567
16568
16569
16570
16571
16572
16573
16574
16575
16576
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 16550

SWIGINTERN VALUE
_wrap_okTFPGAResetProfile_doneWaitUS_set(int argc, VALUE *argv, VALUE self) {
  okTFPGAResetProfile *arg1 = (okTFPGAResetProfile *) 0 ;
  UINT32 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_okTFPGAResetProfile, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTFPGAResetProfile *","doneWaitUS", 1, self )); 
  }
  arg1 = reinterpret_cast< okTFPGAResetProfile * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "UINT32","doneWaitUS", 2, argv[0] ));
  } 
  arg2 = static_cast< UINT32 >(val2);
  if (arg1) (arg1)->doneWaitUS = arg2;
  return Qnil;
fail:
  return Qnil;
}

#magic(*args) ⇒ Object



16420
16421
16422
16423
16424
16425
16426
16427
16428
16429
16430
16431
16432
16433
16434
16435
16436
16437
16438
16439
16440
16441
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 16420

SWIGINTERN VALUE
_wrap_okTFPGAResetProfile_magic_get(int argc, VALUE *argv, VALUE self) {
  okTFPGAResetProfile *arg1 = (okTFPGAResetProfile *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  UINT32 result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_okTFPGAResetProfile, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTFPGAResetProfile *","magic", 1, self )); 
  }
  arg1 = reinterpret_cast< okTFPGAResetProfile * >(argp1);
  result = (UINT32) ((arg1)->magic);
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return vresult;
fail:
  return Qnil;
}

#magic=(*args) ⇒ Object



16391
16392
16393
16394
16395
16396
16397
16398
16399
16400
16401
16402
16403
16404
16405
16406
16407
16408
16409
16410
16411
16412
16413
16414
16415
16416
16417
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 16391

SWIGINTERN VALUE
_wrap_okTFPGAResetProfile_magic_set(int argc, VALUE *argv, VALUE self) {
  okTFPGAResetProfile *arg1 = (okTFPGAResetProfile *) 0 ;
  UINT32 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_okTFPGAResetProfile, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTFPGAResetProfile *","magic", 1, self )); 
  }
  arg1 = reinterpret_cast< okTFPGAResetProfile * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "UINT32","magic", 2, argv[0] ));
  } 
  arg2 = static_cast< UINT32 >(val2);
  if (arg1) (arg1)->magic = arg2;
  return Qnil;
fail:
  return Qnil;
}

#padBytes1(*args) ⇒ Object



16745
16746
16747
16748
16749
16750
16751
16752
16753
16754
16755
16756
16757
16758
16759
16760
16761
16762
16763
16764
16765
16766
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 16745

SWIGINTERN VALUE
_wrap_okTFPGAResetProfile_padBytes1_get(int argc, VALUE *argv, VALUE self) {
  okTFPGAResetProfile *arg1 = (okTFPGAResetProfile *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  UINT32 *result = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_okTFPGAResetProfile, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTFPGAResetProfile *","padBytes1", 1, self )); 
  }
  arg1 = reinterpret_cast< okTFPGAResetProfile * >(argp1);
  result = (UINT32 *)(UINT32 *) ((arg1)->padBytes1);
  vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_int, 0 |  0 );
  return vresult;
fail:
  return Qnil;
}

#padBytes1=(*args) ⇒ Object



16709
16710
16711
16712
16713
16714
16715
16716
16717
16718
16719
16720
16721
16722
16723
16724
16725
16726
16727
16728
16729
16730
16731
16732
16733
16734
16735
16736
16737
16738
16739
16740
16741
16742
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 16709

SWIGINTERN VALUE
_wrap_okTFPGAResetProfile_padBytes1_set(int argc, VALUE *argv, VALUE self) {
  okTFPGAResetProfile *arg1 = (okTFPGAResetProfile *) 0 ;
  UINT32 *arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_okTFPGAResetProfile, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTFPGAResetProfile *","padBytes1", 1, self )); 
  }
  arg1 = reinterpret_cast< okTFPGAResetProfile * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_unsigned_int, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "UINT32 [28]","padBytes1", 2, argv[0] )); 
  } 
  arg2 = reinterpret_cast< UINT32 * >(argp2);
  {
    if (arg2) {
      size_t ii = 0;
      for (; ii < (size_t)28; ++ii) *(UINT32 *)&arg1->padBytes1[ii] = *((UINT32 *)arg2 + ii);
    } else {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""padBytes1""' of type '""UINT32 [28]""'");
    }
  }
  return Qnil;
fail:
  return Qnil;
}

#padBytes2(*args) ⇒ Object



17091
17092
17093
17094
17095
17096
17097
17098
17099
17100
17101
17102
17103
17104
17105
17106
17107
17108
17109
17110
17111
17112
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 17091

SWIGINTERN VALUE
_wrap_okTFPGAResetProfile_padBytes2_get(int argc, VALUE *argv, VALUE self) {
  okTFPGAResetProfile *arg1 = (okTFPGAResetProfile *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  UINT8 *result = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_okTFPGAResetProfile, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTFPGAResetProfile *","padBytes2", 1, self )); 
  }
  arg1 = reinterpret_cast< okTFPGAResetProfile * >(argp1);
  result = (UINT8 *)(UINT8 *) ((arg1)->padBytes2);
  vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_char, 0 |  0 );
  return vresult;
fail:
  return Qnil;
}

#padBytes2=(*args) ⇒ Object



17055
17056
17057
17058
17059
17060
17061
17062
17063
17064
17065
17066
17067
17068
17069
17070
17071
17072
17073
17074
17075
17076
17077
17078
17079
17080
17081
17082
17083
17084
17085
17086
17087
17088
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 17055

SWIGINTERN VALUE
_wrap_okTFPGAResetProfile_padBytes2_set(int argc, VALUE *argv, VALUE self) {
  okTFPGAResetProfile *arg1 = (okTFPGAResetProfile *) 0 ;
  UINT8 *arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_okTFPGAResetProfile, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTFPGAResetProfile *","padBytes2", 1, self )); 
  }
  arg1 = reinterpret_cast< okTFPGAResetProfile * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_unsigned_char, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "UINT8 [1520]","padBytes2", 2, argv[0] )); 
  } 
  arg2 = reinterpret_cast< UINT8 * >(argp2);
  {
    if (arg2) {
      size_t ii = 0;
      for (; ii < (size_t)1520; ++ii) *(UINT8 *)&arg1->padBytes2[ii] = *((UINT8 *)arg2 + ii);
    } else {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""padBytes2""' of type '""UINT8 [1520]""'");
    }
  }
  return Qnil;
fail:
  return Qnil;
}

#registerEntries(*args) ⇒ Object



16918
16919
16920
16921
16922
16923
16924
16925
16926
16927
16928
16929
16930
16931
16932
16933
16934
16935
16936
16937
16938
16939
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 16918

SWIGINTERN VALUE
_wrap_okTFPGAResetProfile_registerEntries_get(int argc, VALUE *argv, VALUE self) {
  okTFPGAResetProfile *arg1 = (okTFPGAResetProfile *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  okTRegisterEntry *result = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_okTFPGAResetProfile, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTFPGAResetProfile *","registerEntries", 1, self )); 
  }
  arg1 = reinterpret_cast< okTFPGAResetProfile * >(argp1);
  result = (okTRegisterEntry *)(okTRegisterEntry *) ((arg1)->registerEntries);
  vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_okTRegisterEntry, 0 |  0 );
  return vresult;
fail:
  return Qnil;
}

#registerEntries=(*args) ⇒ Object



16882
16883
16884
16885
16886
16887
16888
16889
16890
16891
16892
16893
16894
16895
16896
16897
16898
16899
16900
16901
16902
16903
16904
16905
16906
16907
16908
16909
16910
16911
16912
16913
16914
16915
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 16882

SWIGINTERN VALUE
_wrap_okTFPGAResetProfile_registerEntries_set(int argc, VALUE *argv, VALUE self) {
  okTFPGAResetProfile *arg1 = (okTFPGAResetProfile *) 0 ;
  okTRegisterEntry *arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_okTFPGAResetProfile, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTFPGAResetProfile *","registerEntries", 1, self )); 
  }
  arg1 = reinterpret_cast< okTFPGAResetProfile * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_okTRegisterEntry, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "okTRegisterEntry [256]","registerEntries", 2, argv[0] )); 
  } 
  arg2 = reinterpret_cast< okTRegisterEntry * >(argp2);
  {
    if (arg2) {
      size_t ii = 0;
      for (; ii < (size_t)256; ++ii) *(okTRegisterEntry *)&arg1->registerEntries[ii] = *((okTRegisterEntry *)arg2 + ii);
    } else {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""registerEntries""' of type '""okTRegisterEntry [256]""'");
    }
  }
  return Qnil;
fail:
  return Qnil;
}

#registerEntryCount(*args) ⇒ Object



16858
16859
16860
16861
16862
16863
16864
16865
16866
16867
16868
16869
16870
16871
16872
16873
16874
16875
16876
16877
16878
16879
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 16858

SWIGINTERN VALUE
_wrap_okTFPGAResetProfile_registerEntryCount_get(int argc, VALUE *argv, VALUE self) {
  okTFPGAResetProfile *arg1 = (okTFPGAResetProfile *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  UINT32 result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_okTFPGAResetProfile, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTFPGAResetProfile *","registerEntryCount", 1, self )); 
  }
  arg1 = reinterpret_cast< okTFPGAResetProfile * >(argp1);
  result = (UINT32) ((arg1)->registerEntryCount);
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return vresult;
fail:
  return Qnil;
}

#registerEntryCount=(*args) ⇒ Object



16829
16830
16831
16832
16833
16834
16835
16836
16837
16838
16839
16840
16841
16842
16843
16844
16845
16846
16847
16848
16849
16850
16851
16852
16853
16854
16855
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 16829

SWIGINTERN VALUE
_wrap_okTFPGAResetProfile_registerEntryCount_set(int argc, VALUE *argv, VALUE self) {
  okTFPGAResetProfile *arg1 = (okTFPGAResetProfile *) 0 ;
  UINT32 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_okTFPGAResetProfile, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTFPGAResetProfile *","registerEntryCount", 1, self )); 
  }
  arg1 = reinterpret_cast< okTFPGAResetProfile * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "UINT32","registerEntryCount", 2, argv[0] ));
  } 
  arg2 = static_cast< UINT32 >(val2);
  if (arg1) (arg1)->registerEntryCount = arg2;
  return Qnil;
fail:
  return Qnil;
}

#registerWaitUS(*args) ⇒ Object



16685
16686
16687
16688
16689
16690
16691
16692
16693
16694
16695
16696
16697
16698
16699
16700
16701
16702
16703
16704
16705
16706
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 16685

SWIGINTERN VALUE
_wrap_okTFPGAResetProfile_registerWaitUS_get(int argc, VALUE *argv, VALUE self) {
  okTFPGAResetProfile *arg1 = (okTFPGAResetProfile *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  UINT32 result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_okTFPGAResetProfile, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTFPGAResetProfile *","registerWaitUS", 1, self )); 
  }
  arg1 = reinterpret_cast< okTFPGAResetProfile * >(argp1);
  result = (UINT32) ((arg1)->registerWaitUS);
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return vresult;
fail:
  return Qnil;
}

#registerWaitUS=(*args) ⇒ Object



16656
16657
16658
16659
16660
16661
16662
16663
16664
16665
16666
16667
16668
16669
16670
16671
16672
16673
16674
16675
16676
16677
16678
16679
16680
16681
16682
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 16656

SWIGINTERN VALUE
_wrap_okTFPGAResetProfile_registerWaitUS_set(int argc, VALUE *argv, VALUE self) {
  okTFPGAResetProfile *arg1 = (okTFPGAResetProfile *) 0 ;
  UINT32 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_okTFPGAResetProfile, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTFPGAResetProfile *","registerWaitUS", 1, self )); 
  }
  arg1 = reinterpret_cast< okTFPGAResetProfile * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "UINT32","registerWaitUS", 2, argv[0] ));
  } 
  arg2 = static_cast< UINT32 >(val2);
  if (arg1) (arg1)->registerWaitUS = arg2;
  return Qnil;
fail:
  return Qnil;
}

#resetWaitUS(*args) ⇒ Object



16632
16633
16634
16635
16636
16637
16638
16639
16640
16641
16642
16643
16644
16645
16646
16647
16648
16649
16650
16651
16652
16653
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 16632

SWIGINTERN VALUE
_wrap_okTFPGAResetProfile_resetWaitUS_get(int argc, VALUE *argv, VALUE self) {
  okTFPGAResetProfile *arg1 = (okTFPGAResetProfile *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  UINT32 result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_okTFPGAResetProfile, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTFPGAResetProfile *","resetWaitUS", 1, self )); 
  }
  arg1 = reinterpret_cast< okTFPGAResetProfile * >(argp1);
  result = (UINT32) ((arg1)->resetWaitUS);
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return vresult;
fail:
  return Qnil;
}

#resetWaitUS=(*args) ⇒ Object



16603
16604
16605
16606
16607
16608
16609
16610
16611
16612
16613
16614
16615
16616
16617
16618
16619
16620
16621
16622
16623
16624
16625
16626
16627
16628
16629
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 16603

SWIGINTERN VALUE
_wrap_okTFPGAResetProfile_resetWaitUS_set(int argc, VALUE *argv, VALUE self) {
  okTFPGAResetProfile *arg1 = (okTFPGAResetProfile *) 0 ;
  UINT32 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_okTFPGAResetProfile, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTFPGAResetProfile *","resetWaitUS", 1, self )); 
  }
  arg1 = reinterpret_cast< okTFPGAResetProfile * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "UINT32","resetWaitUS", 2, argv[0] ));
  } 
  arg2 = static_cast< UINT32 >(val2);
  if (arg1) (arg1)->resetWaitUS = arg2;
  return Qnil;
fail:
  return Qnil;
}

#triggerEntries(*args) ⇒ Object



17031
17032
17033
17034
17035
17036
17037
17038
17039
17040
17041
17042
17043
17044
17045
17046
17047
17048
17049
17050
17051
17052
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 17031

SWIGINTERN VALUE
_wrap_okTFPGAResetProfile_triggerEntries_get(int argc, VALUE *argv, VALUE self) {
  okTFPGAResetProfile *arg1 = (okTFPGAResetProfile *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  okTTriggerEntry *result = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_okTFPGAResetProfile, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTFPGAResetProfile *","triggerEntries", 1, self )); 
  }
  arg1 = reinterpret_cast< okTFPGAResetProfile * >(argp1);
  result = (okTTriggerEntry *)(okTTriggerEntry *) ((arg1)->triggerEntries);
  vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_okTTriggerEntry, 0 |  0 );
  return vresult;
fail:
  return Qnil;
}

#triggerEntries=(*args) ⇒ Object



16995
16996
16997
16998
16999
17000
17001
17002
17003
17004
17005
17006
17007
17008
17009
17010
17011
17012
17013
17014
17015
17016
17017
17018
17019
17020
17021
17022
17023
17024
17025
17026
17027
17028
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 16995

SWIGINTERN VALUE
_wrap_okTFPGAResetProfile_triggerEntries_set(int argc, VALUE *argv, VALUE self) {
  okTFPGAResetProfile *arg1 = (okTFPGAResetProfile *) 0 ;
  okTTriggerEntry *arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_okTFPGAResetProfile, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTFPGAResetProfile *","triggerEntries", 1, self )); 
  }
  arg1 = reinterpret_cast< okTFPGAResetProfile * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_okTTriggerEntry, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "okTTriggerEntry [32]","triggerEntries", 2, argv[0] )); 
  } 
  arg2 = reinterpret_cast< okTTriggerEntry * >(argp2);
  {
    if (arg2) {
      size_t ii = 0;
      for (; ii < (size_t)32; ++ii) *(okTTriggerEntry *)&arg1->triggerEntries[ii] = *((okTTriggerEntry *)arg2 + ii);
    } else {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""triggerEntries""' of type '""okTTriggerEntry [32]""'");
    }
  }
  return Qnil;
fail:
  return Qnil;
}

#triggerEntryCount(*args) ⇒ Object



16971
16972
16973
16974
16975
16976
16977
16978
16979
16980
16981
16982
16983
16984
16985
16986
16987
16988
16989
16990
16991
16992
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 16971

SWIGINTERN VALUE
_wrap_okTFPGAResetProfile_triggerEntryCount_get(int argc, VALUE *argv, VALUE self) {
  okTFPGAResetProfile *arg1 = (okTFPGAResetProfile *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  UINT32 result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_okTFPGAResetProfile, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTFPGAResetProfile *","triggerEntryCount", 1, self )); 
  }
  arg1 = reinterpret_cast< okTFPGAResetProfile * >(argp1);
  result = (UINT32) ((arg1)->triggerEntryCount);
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return vresult;
fail:
  return Qnil;
}

#triggerEntryCount=(*args) ⇒ Object



16942
16943
16944
16945
16946
16947
16948
16949
16950
16951
16952
16953
16954
16955
16956
16957
16958
16959
16960
16961
16962
16963
16964
16965
16966
16967
16968
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 16942

SWIGINTERN VALUE
_wrap_okTFPGAResetProfile_triggerEntryCount_set(int argc, VALUE *argv, VALUE self) {
  okTFPGAResetProfile *arg1 = (okTFPGAResetProfile *) 0 ;
  UINT32 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_okTFPGAResetProfile, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTFPGAResetProfile *","triggerEntryCount", 1, self )); 
  }
  arg1 = reinterpret_cast< okTFPGAResetProfile * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "UINT32","triggerEntryCount", 2, argv[0] ));
  } 
  arg2 = static_cast< UINT32 >(val2);
  if (arg1) (arg1)->triggerEntryCount = arg2;
  return Qnil;
fail:
  return Qnil;
}

#wireInValues(*args) ⇒ Object



16805
16806
16807
16808
16809
16810
16811
16812
16813
16814
16815
16816
16817
16818
16819
16820
16821
16822
16823
16824
16825
16826
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 16805

SWIGINTERN VALUE
_wrap_okTFPGAResetProfile_wireInValues_get(int argc, VALUE *argv, VALUE self) {
  okTFPGAResetProfile *arg1 = (okTFPGAResetProfile *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  UINT32 *result = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_okTFPGAResetProfile, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTFPGAResetProfile *","wireInValues", 1, self )); 
  }
  arg1 = reinterpret_cast< okTFPGAResetProfile * >(argp1);
  result = (UINT32 *)(UINT32 *) ((arg1)->wireInValues);
  vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_int, 0 |  0 );
  return vresult;
fail:
  return Qnil;
}

#wireInValues=(*args) ⇒ Object



16769
16770
16771
16772
16773
16774
16775
16776
16777
16778
16779
16780
16781
16782
16783
16784
16785
16786
16787
16788
16789
16790
16791
16792
16793
16794
16795
16796
16797
16798
16799
16800
16801
16802
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 16769

SWIGINTERN VALUE
_wrap_okTFPGAResetProfile_wireInValues_set(int argc, VALUE *argv, VALUE self) {
  okTFPGAResetProfile *arg1 = (okTFPGAResetProfile *) 0 ;
  UINT32 *arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_okTFPGAResetProfile, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTFPGAResetProfile *","wireInValues", 1, self )); 
  }
  arg1 = reinterpret_cast< okTFPGAResetProfile * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_unsigned_int, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "UINT32 [32]","wireInValues", 2, argv[0] )); 
  } 
  arg2 = reinterpret_cast< UINT32 * >(argp2);
  {
    if (arg2) {
      size_t ii = 0;
      for (; ii < (size_t)32; ++ii) *(UINT32 *)&arg1->wireInValues[ii] = *((UINT32 *)arg2 + ii);
    } else {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""wireInValues""' of type '""UINT32 [32]""'");
    }
  }
  return Qnil;
fail:
  return Qnil;
}