# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: logicweave_core.proto
# Protobuf Python Version: 5.27.2
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import runtime_version as _runtime_version
from google.protobuf import symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder
_runtime_version.ValidateProtobufRuntimeVersion(
    _runtime_version.Domain.PUBLIC,
    5,
    27,
    2,
    '',
    'logicweave_core.proto'
)
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()




DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x15logicweave_core.proto\x12\x0flogicweave_core\"\xd1\x0b\n\x0eRequestMessage\x12\x45\n\x15gpio_function_request\x18\x01 \x01(\x0b\x32$.logicweave_core.GPIOFunctionRequestH\x00\x12?\n\x12gpio_write_request\x18\x03 \x01(\x0b\x32!.logicweave_core.GPIOWriteRequestH\x00\x12G\n\x16usb_bootloader_request\x18\x04 \x01(\x0b\x32%.logicweave_core.UsbBootloaderRequestH\x00\x12=\n\x11gpio_read_request\x18\x06 \x01(\x0b\x32 .logicweave_core.GPIOReadRequestH\x00\x12=\n\x11i2c_setup_request\x18\x0b \x01(\x0b\x32 .logicweave_core.I2CSetupRequestH\x00\x12=\n\x11i2c_write_request\x18\r \x01(\x0b\x32 .logicweave_core.I2CWriteRequestH\x00\x12;\n\x10i2c_read_request\x18\x0f \x01(\x0b\x32\x1f.logicweave_core.I2CReadRequestH\x00\x12=\n\x11spi_setup_request\x18\x11 \x01(\x0b\x32 .logicweave_core.SPISetupRequestH\x00\x12;\n\x10spi_read_request\x18\x13 \x01(\x0b\x32\x1f.logicweave_core.SPIReadRequestH\x00\x12=\n\x11spi_write_request\x18\x15 \x01(\x0b\x32 .logicweave_core.SPIWriteRequestH\x00\x12\x45\n\x15\x66irmware_info_request\x18$ \x01(\x0b\x32$.logicweave_core.FirmwareInfoRequestH\x00\x12?\n\x12uart_setup_request\x18\x31 \x01(\x0b\x32!.logicweave_core.UartSetupRequestH\x00\x12=\n\x11uart_read_request\x18\x33 \x01(\x0b\x32 .logicweave_core.UartReadRequestH\x00\x12?\n\x12uart_write_request\x18\x35 \x01(\x0b\x32!.logicweave_core.UartWriteRequestH\x00\x12\x44\n\x15gpio_pin_pull_request\x18\x37 \x01(\x0b\x32#.logicweave_core.GpioPinPullRequestH\x00\x12;\n\x10\x61\x64\x63_read_request\x18\x39 \x01(\x0b\x32\x1f.logicweave_core.ADCReadRequestH\x00\x12O\n\x1bi2c_write_then_read_request\x18; \x01(\x0b\x32(.logicweave_core.I2CWriteThenReadRequestH\x00\x12=\n\x11pwm_setup_request\x18= \x01(\x0b\x32 .logicweave_core.PWMSetupRequestH\x00\x12\x44\n\x15pwm_set_level_request\x18? \x01(\x0b\x32#.logicweave_core.PWMSetLevelRequestH\x00\x12;\n\x10sleep_ms_request\x18\x41 \x01(\x0b\x32\x1f.logicweave_core.SleepMsRequestH\x00\x12N\n\x1agpio_read_function_request\x18\x43 \x01(\x0b\x32(.logicweave_core.GPIOReadFunctionRequestH\x00\x12\x43\n\x14read_voltage_request\x18G \x01(\x0b\x32#.logicweave_core.ReadVoltageRequestH\x00\x42\x06\n\x04kind\"\x98\x0b\n\x0fResponseMessage\x12\x38\n\x0e\x65rror_response\x18\n \x01(\x0b\x32\x1e.logicweave_core.ErrorResponseH\x00\x12\x38\n\x16gpio_function_response\x18* \x01(\x0b\x32\x16.logicweave_core.EmptyH\x00\x12\x35\n\x13gpio_write_response\x18\x05 \x01(\x0b\x32\x16.logicweave_core.EmptyH\x00\x12\x39\n\x17usb_bootloader_response\x18\t \x01(\x0b\x32\x16.logicweave_core.EmptyH\x00\x12?\n\x12gpio_read_response\x18\x07 \x01(\x0b\x32!.logicweave_core.GPIOReadResponseH\x00\x12\x34\n\x12i2c_setup_response\x18\x0c \x01(\x0b\x32\x16.logicweave_core.EmptyH\x00\x12\x34\n\x12i2c_write_response\x18\x0e \x01(\x0b\x32\x16.logicweave_core.EmptyH\x00\x12=\n\x11i2c_read_response\x18\x10 \x01(\x0b\x32 .logicweave_core.I2CReadResponseH\x00\x12\x34\n\x12spi_setup_response\x18\x12 \x01(\x0b\x32\x16.logicweave_core.EmptyH\x00\x12=\n\x11spi_read_response\x18\x14 \x01(\x0b\x32 .logicweave_core.SPIReadResponseH\x00\x12\x34\n\x12spi_write_response\x18\x16 \x01(\x0b\x32\x16.logicweave_core.EmptyH\x00\x12G\n\x16\x66irmware_info_response\x18% \x01(\x0b\x32%.logicweave_core.FirmwareInfoResponseH\x00\x12\x35\n\x13uart_setup_response\x18\x32 \x01(\x0b\x32\x16.logicweave_core.EmptyH\x00\x12?\n\x12uart_read_response\x18\x34 \x01(\x0b\x32!.logicweave_core.UartReadResponseH\x00\x12\x35\n\x13uart_write_response\x18\x36 \x01(\x0b\x32\x16.logicweave_core.EmptyH\x00\x12\x38\n\x16gpio_pin_pull_response\x18\x38 \x01(\x0b\x32\x16.logicweave_core.EmptyH\x00\x12=\n\x11\x61\x64\x63_read_response\x18: \x01(\x0b\x32 .logicweave_core.ADCReadResponseH\x00\x12Q\n\x1ci2c_write_then_read_response\x18< \x01(\x0b\x32).logicweave_core.I2CWriteThenReadResponseH\x00\x12\x34\n\x12pwm_setup_response\x18> \x01(\x0b\x32\x16.logicweave_core.EmptyH\x00\x12\x38\n\x16pwm_set_level_response\x18@ \x01(\x0b\x32\x16.logicweave_core.EmptyH\x00\x12\x33\n\x11sleep_ms_response\x18\x42 \x01(\x0b\x32\x16.logicweave_core.EmptyH\x00\x12P\n\x1bgpio_read_function_response\x18\x44 \x01(\x0b\x32).logicweave_core.GPIOReadFunctionResponseH\x00\x12\x45\n\x15read_voltage_response\x18I \x01(\x0b\x32$.logicweave_core.ReadVoltageResponseH\x00\x42\x06\n\x04kind\"\"\n\x12ReadVoltageRequest\x12\x0c\n\x04info\x18\x01 \x01(\r\"&\n\x13ReadVoltageResponse\x12\x0f\n\x07voltage\x18\x01 \x01(\x02\"+\n\x17GPIOReadFunctionRequest\x12\x10\n\x08gpio_pin\x18\x01 \x01(\r\"K\n\x18GPIOReadFunctionResponse\x12/\n\x08\x66unction\x18\x01 \x01(\x0e\x32\x1d.logicweave_core.GpioFunction\"#\n\x14UsbBootloaderRequest\x12\x0b\n\x03val\x18\x01 \x01(\r\"\x17\n\x05\x45mpty\x12\x0e\n\x06status\x18\x01 \x01(\r\"\x1e\n\x0b\x45\x63hoMessage\x12\x0f\n\x07message\x18\x01 \x01(\t\"#\n\x0fGPIOReadRequest\x12\x10\n\x08gpio_pin\x18\x01 \x01(\r\"n\n\x0fPWMSetupRequest\x12\x10\n\x08gpio_pin\x18\x01 \x01(\r\x12\x0c\n\x04wrap\x18\x02 \x01(\r\x12\x15\n\rclock_div_int\x18\x03 \x01(\r\x12\x16\n\x0e\x63lock_div_frac\x18\x04 \x01(\r\x12\x0c\n\x04name\x18\x05 \x01(\t\"5\n\x12PWMSetLevelRequest\x12\x10\n\x08gpio_pin\x18\x01 \x01(\r\x12\r\n\x05level\x18\x02 \x01(\r\"\"\n\x0e\x41\x44\x43ReadRequest\x12\x10\n\x08gpio_pin\x18\x01 \x01(\r\"!\n\x0f\x41\x44\x43ReadResponse\x12\x0e\n\x06sample\x18\x01 \x01(\r\"!\n\x10GPIOReadResponse\x12\r\n\x05state\x18\x01 \x01(\x08\"3\n\x10GPIOWriteRequest\x12\x10\n\x08gpio_pin\x18\x01 \x01(\r\x12\r\n\x05state\x18\x02 \x01(\x08\"~\n\x0fSPISetupRequest\x12\x10\n\x08sclk_pin\x18\x02 \x01(\r\x12\x10\n\x08mosi_pin\x18\x03 \x01(\r\x12\x10\n\x08miso_pin\x18\x04 \x01(\r\x12\x14\n\x0cinstance_num\x18\x05 \x01(\r\x12\x11\n\tbaud_rate\x18\x06 \x01(\r\x12\x0c\n\x04name\x18\x07 \x01(\t\"E\n\x0fSPIWriteRequest\x12\x14\n\x0cinstance_num\x18\x01 \x01(\r\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x12\x0e\n\x06\x63s_pin\x18\x03 \x01(\r\"X\n\x0eSPIReadRequest\x12\x14\n\x0cinstance_num\x18\x01 \x01(\r\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\r\x12\x0e\n\x06\x63s_pin\x18\x03 \x01(\r\x12\x12\n\nbyte_count\x18\x04 \x01(\r\"\x1f\n\x0fSPIReadResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"T\n\x12GpioPinPullRequest\x12\x10\n\x08gpio_pin\x18\x01 \x01(\r\x12,\n\x05state\x18\x02 \x01(\x0e\x32\x1d.logicweave_core.PinPullState\"W\n\x0fI2CSetupRequest\x12\x0f\n\x07sda_pin\x18\x01 \x01(\r\x12\x0f\n\x07scl_pin\x18\x02 \x01(\r\x12\x14\n\x0cinstance_num\x18\x03 \x01(\r\x12\x0c\n\x04name\x18\x04 \x01(\t\"M\n\x0fI2CWriteRequest\x12\x14\n\x0cinstance_num\x18\x01 \x01(\r\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x12\x16\n\x0e\x64\x65vice_address\x18\x03 \x01(\r\"R\n\x0eI2CReadRequest\x12\x14\n\x0cinstance_num\x18\x01 \x01(\r\x12\x16\n\x0e\x64\x65vice_address\x18\x02 \x01(\r\x12\x12\n\nbyte_count\x18\x03 \x01(\r\"i\n\x17I2CWriteThenReadRequest\x12\x14\n\x0cinstance_num\x18\x01 \x01(\r\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x12\x16\n\x0e\x64\x65vice_address\x18\x03 \x01(\r\x12\x12\n\nbyte_count\x18\x04 \x01(\r\"(\n\x18I2CWriteThenReadResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"\x1f\n\x0fI2CReadResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"f\n\x13GPIOFunctionRequest\x12\x10\n\x08gpio_pin\x18\x01 \x01(\r\x12/\n\x08\x66unction\x18\x02 \x01(\x0e\x32\x1d.logicweave_core.GpioFunction\x12\x0c\n\x04name\x18\x03 \x01(\t\"i\n\x10UartSetupRequest\x12\x11\n\tbaud_rate\x18\x01 \x01(\r\x12\x0e\n\x06tx_pin\x18\x02 \x01(\r\x12\x0e\n\x06rx_pin\x18\x03 \x01(\r\x12\x14\n\x0cinstance_num\x18\x04 \x01(\r\x12\x0c\n\x04name\x18\x05 \x01(\t\"J\n\x10UartWriteRequest\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\x12\x12\n\ntimeout_ms\x18\x02 \x01(\r\x12\x14\n\x0cinstance_num\x18\x03 \x01(\r\"O\n\x0fUartReadRequest\x12\x12\n\nbyte_count\x18\x01 \x01(\r\x12\x12\n\ntimeout_ms\x18\x02 \x01(\r\x12\x14\n\x0cinstance_num\x18\x03 \x01(\r\" \n\x10UartReadResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"#\n\x13\x46irmwareInfoRequest\x12\x0c\n\x04info\x18\x01 \x01(\r\"L\n\x14\x46irmwareInfoResponse\x12\x0c\n\x04hash\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t\x12\x15\n\rserial_number\x18\x03 \x01(\t\"\"\n\x0eSleepMsRequest\x12\x10\n\x08sleep_ms\x18\x01 \x01(\r\" \n\rErrorResponse\x12\x0f\n\x07message\x18\x01 \x01(\t*\x85\x01\n\x0cGpioFunction\x12\x07\n\x03xip\x10\x00\x12\x08\n\x04hstx\x10\x01\x12\x07\n\x03spi\x10\x02\x12\x08\n\x04uart\x10\x03\x12\x07\n\x03i2c\x10\x04\x12\x07\n\x03pwm\x10\x05\x12\n\n\x06sio_in\x10\x06\x12\x0b\n\x07sio_out\x10\x07\x12\x07\n\x03pio\x10\x08\x12\x08\n\x04gpck\x10\t\x12\x07\n\x03usb\x10\n\x12\x08\n\x04none\x10\x0b*+\n\x0b\x42\x61nkVoltage\x12\x08\n\x04V1P8\x10\x00\x12\x08\n\x04V3P3\x10\x01\x12\x08\n\x04V5P0\x10\x02*2\n\x0cPinPullState\x12\x08\n\x04None\x10\x00\x12\n\n\x06PullUp\x10\x01\x12\x0c\n\x08PullDown\x10\x02\x62\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'logicweave_core_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
  DESCRIPTOR._loaded_options = None
  _globals['_GPIOFUNCTION']._serialized_start=5054
  _globals['_GPIOFUNCTION']._serialized_end=5187
  _globals['_BANKVOLTAGE']._serialized_start=5189
  _globals['_BANKVOLTAGE']._serialized_end=5232
  _globals['_PINPULLSTATE']._serialized_start=5234
  _globals['_PINPULLSTATE']._serialized_end=5284
  _globals['_REQUESTMESSAGE']._serialized_start=43
  _globals['_REQUESTMESSAGE']._serialized_end=1532
  _globals['_RESPONSEMESSAGE']._serialized_start=1535
  _globals['_RESPONSEMESSAGE']._serialized_end=2967
  _globals['_READVOLTAGEREQUEST']._serialized_start=2969
  _globals['_READVOLTAGEREQUEST']._serialized_end=3003
  _globals['_READVOLTAGERESPONSE']._serialized_start=3005
  _globals['_READVOLTAGERESPONSE']._serialized_end=3043
  _globals['_GPIOREADFUNCTIONREQUEST']._serialized_start=3045
  _globals['_GPIOREADFUNCTIONREQUEST']._serialized_end=3088
  _globals['_GPIOREADFUNCTIONRESPONSE']._serialized_start=3090
  _globals['_GPIOREADFUNCTIONRESPONSE']._serialized_end=3165
  _globals['_USBBOOTLOADERREQUEST']._serialized_start=3167
  _globals['_USBBOOTLOADERREQUEST']._serialized_end=3202
  _globals['_EMPTY']._serialized_start=3204
  _globals['_EMPTY']._serialized_end=3227
  _globals['_ECHOMESSAGE']._serialized_start=3229
  _globals['_ECHOMESSAGE']._serialized_end=3259
  _globals['_GPIOREADREQUEST']._serialized_start=3261
  _globals['_GPIOREADREQUEST']._serialized_end=3296
  _globals['_PWMSETUPREQUEST']._serialized_start=3298
  _globals['_PWMSETUPREQUEST']._serialized_end=3408
  _globals['_PWMSETLEVELREQUEST']._serialized_start=3410
  _globals['_PWMSETLEVELREQUEST']._serialized_end=3463
  _globals['_ADCREADREQUEST']._serialized_start=3465
  _globals['_ADCREADREQUEST']._serialized_end=3499
  _globals['_ADCREADRESPONSE']._serialized_start=3501
  _globals['_ADCREADRESPONSE']._serialized_end=3534
  _globals['_GPIOREADRESPONSE']._serialized_start=3536
  _globals['_GPIOREADRESPONSE']._serialized_end=3569
  _globals['_GPIOWRITEREQUEST']._serialized_start=3571
  _globals['_GPIOWRITEREQUEST']._serialized_end=3622
  _globals['_SPISETUPREQUEST']._serialized_start=3624
  _globals['_SPISETUPREQUEST']._serialized_end=3750
  _globals['_SPIWRITEREQUEST']._serialized_start=3752
  _globals['_SPIWRITEREQUEST']._serialized_end=3821
  _globals['_SPIREADREQUEST']._serialized_start=3823
  _globals['_SPIREADREQUEST']._serialized_end=3911
  _globals['_SPIREADRESPONSE']._serialized_start=3913
  _globals['_SPIREADRESPONSE']._serialized_end=3944
  _globals['_GPIOPINPULLREQUEST']._serialized_start=3946
  _globals['_GPIOPINPULLREQUEST']._serialized_end=4030
  _globals['_I2CSETUPREQUEST']._serialized_start=4032
  _globals['_I2CSETUPREQUEST']._serialized_end=4119
  _globals['_I2CWRITEREQUEST']._serialized_start=4121
  _globals['_I2CWRITEREQUEST']._serialized_end=4198
  _globals['_I2CREADREQUEST']._serialized_start=4200
  _globals['_I2CREADREQUEST']._serialized_end=4282
  _globals['_I2CWRITETHENREADREQUEST']._serialized_start=4284
  _globals['_I2CWRITETHENREADREQUEST']._serialized_end=4389
  _globals['_I2CWRITETHENREADRESPONSE']._serialized_start=4391
  _globals['_I2CWRITETHENREADRESPONSE']._serialized_end=4431
  _globals['_I2CREADRESPONSE']._serialized_start=4433
  _globals['_I2CREADRESPONSE']._serialized_end=4464
  _globals['_GPIOFUNCTIONREQUEST']._serialized_start=4466
  _globals['_GPIOFUNCTIONREQUEST']._serialized_end=4568
  _globals['_UARTSETUPREQUEST']._serialized_start=4570
  _globals['_UARTSETUPREQUEST']._serialized_end=4675
  _globals['_UARTWRITEREQUEST']._serialized_start=4677
  _globals['_UARTWRITEREQUEST']._serialized_end=4751
  _globals['_UARTREADREQUEST']._serialized_start=4753
  _globals['_UARTREADREQUEST']._serialized_end=4832
  _globals['_UARTREADRESPONSE']._serialized_start=4834
  _globals['_UARTREADRESPONSE']._serialized_end=4866
  _globals['_FIRMWAREINFOREQUEST']._serialized_start=4868
  _globals['_FIRMWAREINFOREQUEST']._serialized_end=4903
  _globals['_FIRMWAREINFORESPONSE']._serialized_start=4905
  _globals['_FIRMWAREINFORESPONSE']._serialized_end=4981
  _globals['_SLEEPMSREQUEST']._serialized_start=4983
  _globals['_SLEEPMSREQUEST']._serialized_end=5017
  _globals['_ERRORRESPONSE']._serialized_start=5019
  _globals['_ERRORRESPONSE']._serialized_end=5051
# @@protoc_insertion_point(module_scope)
