logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

modbus_set_bits_from_byte - set many bits from a single byte value

Authors

       The libmodbus documentation was written by Stéphane Raimbault <stephane.raimbault@gmail.com>

libmodbus v3.1.6                                   12/09/2019                            MODBUS_SET_BITS_FROM(3)

Description

       The modbus_set_bits_from_byte() function shall set many bits from a single byte. All 8 bits from the byte
       value will be written to dest array starting at index position.

Name

       modbus_set_bits_from_byte - set many bits from a single byte value

Return Value

       There is no return values.

See Also

modbus_set_bits_from_byte(3) modbus_set_bits_from_bytes(3)

Synopsis

voidmodbus_set_bits_from_byte(uint8_t*dest,intindex,constuint8_tvalue);

See Also