Module libmodbus_rs::prelude [] [src]

None type dependend tool function to work with the modbus data

Structs

Error

The Error type, which can contain any failure.

Functions

get_byte_from_bits

get_byte_from_bits - get the value from many bit

get_float_abcd

get_float_abcd - get a float value from 2 registers in ABCD byte order

get_float_badc

get_float_badc - get a float value from 2 registers in BADC byte order

get_float_cdab

get_float_cdab - get a float value from 2 registers in CDAB byte order

get_float_dcba

get_float_dcba - get a float value from 2 registers in DCBA byte order

set_bits_from_byte

set_bits_from_byte - set many bits from a single byte value

set_bits_from_bytes

set_bits_from_bytes - set many bits from an array of bytes

set_float_abcd

set_float_abcd - set a float value in 2 registers using ABCD byte order

set_float_badc

set_float_badc - set a float value in 2 registers using BADC byte order

set_float_cdab

set_float_cdab - set a float value in 2 registers using CDAB byte order

set_float_dcba

set_float_dcba - set a float value in 2 registers using DCBA byte order