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_bytes - set many bits from an array of bytes

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_bytes function shall set bits by reading an array of bytes. All the bits of the
       bytes read from the first position of the array tab_byte are written as bits in the dest array starting
       at position index.

Name

       modbus_set_bits_from_bytes - set many bits from an array of bytes

Return Value

       There is no return values.

See Also

modbus_set_bits_from_byte(3) modbus_get_byte_from_bits(3)

Synopsis

voidmodbus_set_bits_from_bytes(uint8_t*dest,intindex,unsignedintnb_bits,constuint8_t*tab_byte);

See Also