std.embedded.spi
The module module std.embedded.spi, read from deploy/std/embedded/spi.rho. This page is generated from the source, so it describes what the code declares.
Functions
init()
fn init() void
transfer()
fn transfer(tx: Slice[u8], rx: Slice[u8]) void
Externs
Externs are supplied by the host rather than declared in Rho, which is how a port reaches a service.
| Extern | Signature |
|---|---|
| spihwinit | extern fn spi_hw_init() void |
| spihwtransfer | extern fn spi_hw_transfer(tx: Ptr[u8], rx: Ptr[u8], len: u32) void |