SYNOPSIS

void modbus_set_bits_from_bytes(uint8_t *dest, int index, unsigned int nb_bits, const uint8_t *tab_byte);

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.

RETURN VALUE

There is no return values.

RELATED TO modbus_set_bits_from_bytes…

AUTHORS

The libmodbus documentation was written by St\('ephane Raimbault <\m[blue][email protected]\m[]\s-2\u[1]\d\s+2>

NOTES