X-Git-Url: https://sigrok.org/gitweb/?p=libsigrok.git;a=blobdiff_plain;f=src%2Fhardware%2Frdtech-dps%2Fprotocol.h;fp=src%2Fhardware%2Frdtech-dps%2Fprotocol.h;h=feab0990f3026224b538511dc466b6317c5d586b;hp=9e2b23f336378540e117841236d4da759e0f3621;hb=aff2094193c7ed0c040ff69d6e6de9c7f2b9d53e;hpb=c9b187a6074d21c2f1b867ae122fc100198555dd diff --git a/src/hardware/rdtech-dps/protocol.h b/src/hardware/rdtech-dps/protocol.h index 9e2b23f3..feab0990 100644 --- a/src/hardware/rdtech-dps/protocol.h +++ b/src/hardware/rdtech-dps/protocol.h @@ -85,6 +85,9 @@ enum rdtech_dps_mode { MODE_CC = 1, }; +SR_PRIV int rdtech_dps_read_holding_registers(struct sr_modbus_dev_inst *modbus, + int address, int nb_registers, uint16_t *registers); + SR_PRIV int rdtech_dps_get_reg(const struct sr_dev_inst *sdi, uint16_t address, uint16_t *value); SR_PRIV int rdtech_dps_set_reg(const struct sr_dev_inst *sdi, uint16_t address, uint16_t value);