# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: dac.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()




DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\tdac.proto\x12\rEdgePiRPC_DAC\"\n\n\x08\x45mptyMsg\".\n\nSuccessMsg\x12\x14\n\x07\x63ontent\x18\x01 \x01(\tH\x00\x88\x01\x01\x42\n\n\x08_content\"^\n\x04Gain\x12\x15\n\x08set_gain\x18\x01 \x01(\x08H\x00\x88\x01\x01\x12\x1d\n\x10\x61uto_code_change\x18\x02 \x01(\x08H\x01\x88\x01\x01\x42\x0b\n\t_set_gainB\x13\n\x11_auto_code_change\"3\n\tGainState\x12\x17\n\ngain_state\x18\x01 \x01(\x08H\x00\x88\x01\x01\x42\r\n\x0b_gain_state\"v\n\x0cWriteVoltage\x12\x34\n\x0b\x64\x61\x63_channel\x18\x01 \x01(\x0e\x32\x1a.EdgePiRPC_DAC.DACChannelsH\x00\x88\x01\x01\x12\x14\n\x07voltage\x18\x02 \x01(\x02H\x01\x88\x01\x01\x42\x0e\n\x0c_dac_channelB\n\n\x08_voltage\"\xaa\x01\n\x08GetState\x12\x34\n\x0b\x64\x61\x63_channel\x18\x01 \x01(\x0e\x32\x1a.EdgePiRPC_DAC.DACChannelsH\x00\x88\x01\x01\x12\x11\n\x04\x63ode\x18\x02 \x01(\x08H\x01\x88\x01\x01\x12\x14\n\x07voltage\x18\x03 \x01(\x08H\x02\x88\x01\x01\x12\x11\n\x04gain\x18\x04 \x01(\x08H\x03\x88\x01\x01\x42\x0e\n\x0c_dac_channelB\x07\n\x05_codeB\n\n\x08_voltageB\x07\n\x05_gain\"}\n\x05State\x12\x15\n\x08\x63ode_val\x18\x01 \x01(\x05H\x00\x88\x01\x01\x12\x18\n\x0bvoltage_val\x18\x02 \x01(\x02H\x01\x88\x01\x01\x12\x17\n\ngain_state\x18\x03 \x01(\x08H\x02\x88\x01\x01\x42\x0b\n\t_code_valB\x0e\n\x0c_voltage_valB\r\n\x0b_gain_state*e\n\x0b\x44\x41\x43\x43hannels\x12\t\n\x05\x41OUT1\x10\x00\x12\t\n\x05\x41OUT2\x10\x01\x12\t\n\x05\x41OUT3\x10\x02\x12\t\n\x05\x41OUT4\x10\x03\x12\t\n\x05\x41OUT5\x10\x04\x12\t\n\x05\x41OUT6\x10\x05\x12\t\n\x05\x41OUT7\x10\x06\x12\t\n\x05\x41OUT8\x10\x07\x32\x8d\x02\n\nDacService\x12=\n\x0cset_dac_gain\x12\x13.EdgePiRPC_DAC.Gain\x1a\x18.EdgePiRPC_DAC.GainState\x12G\n\rwrite_voltage\x12\x1b.EdgePiRPC_DAC.WriteVoltage\x1a\x19.EdgePiRPC_DAC.SuccessMsg\x12:\n\tget_state\x12\x17.EdgePiRPC_DAC.GetState\x1a\x14.EdgePiRPC_DAC.State\x12;\n\x05reset\x12\x17.EdgePiRPC_DAC.EmptyMsg\x1a\x19.EdgePiRPC_DAC.SuccessMsgB\x03\x90\x01\x01\x62\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'dac_pb2', _globals)
if _descriptor._USE_C_DESCRIPTORS == False:

  DESCRIPTOR._options = None
  DESCRIPTOR._serialized_options = b'\220\001\001'
  _globals['_DACCHANNELS']._serialized_start=657
  _globals['_DACCHANNELS']._serialized_end=758
  _globals['_EMPTYMSG']._serialized_start=28
  _globals['_EMPTYMSG']._serialized_end=38
  _globals['_SUCCESSMSG']._serialized_start=40
  _globals['_SUCCESSMSG']._serialized_end=86
  _globals['_GAIN']._serialized_start=88
  _globals['_GAIN']._serialized_end=182
  _globals['_GAINSTATE']._serialized_start=184
  _globals['_GAINSTATE']._serialized_end=235
  _globals['_WRITEVOLTAGE']._serialized_start=237
  _globals['_WRITEVOLTAGE']._serialized_end=355
  _globals['_GETSTATE']._serialized_start=358
  _globals['_GETSTATE']._serialized_end=528
  _globals['_STATE']._serialized_start=530
  _globals['_STATE']._serialized_end=655
  _globals['_DACSERVICE']._serialized_start=761
  _globals['_DACSERVICE']._serialized_end=1030
_builder.BuildServices(DESCRIPTOR, 'dac_pb2', _globals)
# @@protoc_insertion_point(module_scope)
