Rho Rho language and toolchain

std.embedded.modbus

The module module std.embedded.modbus, read from deploy/std/embedded/modbus.rho. This page is generated from the source, so it describes what the code declares.

Functions

crc16_modbus()

fn crc16_modbus(data: Slice[u8]) u16

init()

fn init(bus: RS485, addr: u8) Modbus

read_holding()

fn read_holding(m: Modbus, start: u16, qty: u16, out: Slice[u16]) bool

Structs

StructFields
Modbusbus: RS485, addr: u8