Rho Rho language and toolchain

std.embedded.rs485

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

Functions

init()

fn init(de_pin: u32, re_pin: u32, baud: u32) RS485

read()

fn read(dev: RS485, out: Slice[u8]) u32

set_direction()

fn set_direction(dev: RS485, tx: bool) void

write()

fn write(dev: RS485, data: Slice[u8]) void

Structs

StructFields
RS485depin: u32, repin: u32