CARMA C++
ClockControl.idl
Go to the documentation of this file.
1 
12 #ifndef CARMA_CLOCK_CLOCKCONTROL_IDL
13 #define CARMA_CLOCK_CLOCKCONTROL_IDL
14 
17 
18 module carma {
19  module clock {
20  enum ppsModeType {RBPRS10, GPSPPS, TENMHZPPS};
21  enum rbModeType {FREE, GPS000424,
22  GPS001648,
23  GPS003336,
24  GPS010712,
25  GPS021424,
26  GPS042848,
27  GPS085736,
28  GPS175502};
29  enum gpsSourceType {GPSA, GPSB};
30  enum tenMHzSourceType {INTERNAL, EXTERNAL};
31  enum walshSyncType {ENABLE, DISABLE};
32  enum delayRegister {REGISTER1, REGISTER2};
33 
34  interface ClockControl : carma::canbus::devices::DeviceControl {
35 
36  // set 1pps to come from GPS or Cs clock
37  void setPpsMode(in ppsModeType ppsMode)
39 
40  // set Rb oscillation mode
41  void setRbMode(in rbModeType rbMode)
43 
44  // set primary GPS
45  void setGpsSource(in gpsSourceType gpsSource)
47 
48  // set 10MHz continuous wave (CW) source
49  void set10MHzSource(in tenMHzSourceType tenMHzSource)
51 
52  // set heartbeat delay
53  void setHbDelay(in unsigned short delay, in delayRegister reg)
55 
56  // Resynchronizes 1pps hardware output with gps-derived 1pps
57  // signal
58  void resync10MHzGps(in walshSyncType walshSync)
60 
61  // reset PRS10 Rb Time Standard and Resynchronize to GPS
62  void resetRb()
63  raises (carma::util::UserException);
64 
65  // Initialize master clock
66  void initialize(in ppsModeType ppsMode,
67  in rbModeType rbMode,
68  in gpsSourceType gpsSource,
69  in tenMHzSourceType tenMHzSource,
70  in walshSyncType walshSync)
71  raises (carma::util::UserException);
72 
73  }; // end ClockControl interface
74  }; // end clock module
75 }; // end carma module
76 
77 #endif
Carma CANbus base Device control interface.
Generic Carma variant of CORBA::UserException.
CORBA User Exception for carma::util.
Carma CANbus Device control base interface.