Exemplo n.º 1
0
 def __init__(self):
     if self.__initialized:
         return
     import register
     import adc
     import amux
     self.__initialized = True
     self.regs = register.Register()
     self.amux = amux.Amux(self.regs)
     self.adc = adc.Adc()
     self.meas_amp_vcm = self._read_adc(0x80 | self.amux.amux_dco_cm)
Exemplo n.º 2
0
 def __init__(self):
     if self.__initialized:
         return
     import adc
     import amux
     import register
     import eder_logger
     self.regs   = register.Register()
     self.amux   = amux.Amux(self.regs);
     self.adc    = adc.Adc();
     self.logger = eder_logger.EderLogger()
     self.__initialized = True
Exemplo n.º 3
0
 def __init__(self):
     if self.__initialized:
         return
     self.__initialized = True
     import register
     import ref
     import amux
     import eder_status
     import eder_logger
     self.regs = register.Register()
     self.status = eder_status.EderStatus()
     self.logger = eder_logger.EderLogger()
     self.ref = ref.Ref()
     self.amux = amux.Amux(self.regs)
Exemplo n.º 4
0
 def __init__(self):
     if self.__initialized:
         return
     self.__initialized = True
     import register
     import amux
     import adc
     import temp
     import eder_status
     import eder_logger
     self.regs = register.Register()
     self.status = eder_status.EderStatus()
     self.logger = eder_logger.EderLogger()
     self.amux = amux.Amux(self.regs)
     self.adc = adc.Adc()
     self.temp = temp.Temp()
Exemplo n.º 5
0
    def __init__(self):
        if self.__initialized:
            return
        self.__initialized = True
        import register
        import eder_status
        import eder_logger
        import adc
        import amux
        self.regs = register.Register()
        self.adc = adc.Adc()
        self.amux = amux.Amux(self.regs)
        self.logger = eder_logger.EderLogger()

        self.dcip = []
        self.dcin = []
        self.dcqp = []
        self.dcqn = []