Crate riot_wrappers
source · [−]Re-exports
pub use cstr_core as cstr;
Modules
Common error handling components for the RIOT operating system
Experimental area for GNRC utility functions
Access to RIOT’s GPIO pins
Controlling the I²C bus
Interaction with interrupts
Wrappers for the LEDn_{ON,OFF,TOGGLE}
macros
Tools for providing a RIOT main function
Tools for running RIOT’s built-in shell
An implementation of the embedded_nal (Network Abstradtion Layer) UDP traits based on RIOT sockets
An implementation of the embedded_nal (Network Abstradtion Layer) TCP traits based on RIOT sockets
Transport modules around SUIT firmware updates
Create, inspect or modify RIOT processes (“threads”)
Access to the Virtual File System (VFS) layer
Macros
Wrap a Rust interrupt handler in an extern “C” wrapper that does the post-return cleaups.
To have a nice Rust main function, run the riot_main!
macro with the name of your main
function an item (ie. top level in a module) in your crate. The function identified by it must
return something that implements the Termination trait.
Make a function whose signature is fn(&mut
Stdio
,
Args
<'b>) -> impl
Termination
available through
XFA in any RIOT shell, even when called throuch C. (The function’s signature may be more
generic, eg. accepting an impl
Write
and an impl
IntoIterator
<&str>
).
Functions
Name of the RIOT board that is being used