From bfee617e03779cf84797eceda297f0dbdcae4a13 Mon Sep 17 00:00:00 2001 From: Stéphane Raimbault Date: Mon, 25 Feb 2013 03:09:31 +0100 Subject: [PATCH] Add Martijn de Gouw name to documentation --- doc/modbus_mask_write_register.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/modbus_mask_write_register.txt b/doc/modbus_mask_write_register.txt index 072a541..97ebb8c 100644 --- a/doc/modbus_mask_write_register.txt +++ b/doc/modbus_mask_write_register.txt @@ -14,9 +14,10 @@ SYNOPSIS DESCRIPTION ----------- -The _modbus_mask_write_register()_ function shall modify the value of the +The _modbus_mask_write_register()_ function shall modify the value of the holding register at the address 'addr' of the remote device using the algorithm: -new value = (current value AND 'and') OR ('or' AND (NOT 'and')) + + new value = (current value AND 'and') OR ('or' AND (NOT 'and')) The function uses the Modbus function code 0x16 (mask single register). @@ -35,5 +36,6 @@ linkmb:modbus_write_registers[3] AUTHORS ------- +Martijn de Gouw The libmodbus documentation was written by Stéphane Raimbault -- libgit2 0.21.4