Commit bfee617e03779cf84797eceda297f0dbdcae4a13
1 parent
561700b0
Add Martijn de Gouw name to documentation
Showing
1 changed file
with
4 additions
and
2 deletions
doc/modbus_mask_write_register.txt
| ... | ... | @@ -14,9 +14,10 @@ SYNOPSIS |
| 14 | 14 | |
| 15 | 15 | DESCRIPTION |
| 16 | 16 | ----------- |
| 17 | -The _modbus_mask_write_register()_ function shall modify the value of the | |
| 17 | +The _modbus_mask_write_register()_ function shall modify the value of the | |
| 18 | 18 | holding register at the address 'addr' of the remote device using the algorithm: |
| 19 | -new value = (current value AND 'and') OR ('or' AND (NOT 'and')) | |
| 19 | + | |
| 20 | + new value = (current value AND 'and') OR ('or' AND (NOT 'and')) | |
| 20 | 21 | |
| 21 | 22 | The function uses the Modbus function code 0x16 (mask single register). |
| 22 | 23 | |
| ... | ... | @@ -35,5 +36,6 @@ linkmb:modbus_write_registers[3] |
| 35 | 36 | |
| 36 | 37 | AUTHORS |
| 37 | 38 | ------- |
| 39 | +Martijn de Gouw <martijn.de.gouw@prodrive.nl> | |
| 38 | 40 | The libmodbus documentation was written by Stéphane Raimbault |
| 39 | 41 | <stephane.raimbault@gmail.com> | ... | ... |