Crate hifive1

Crate hifive1 

Source
Expand description

Board support crate for HiFive1 and LoFive boards

Re-exports§

pub use clock::configure as configure_clocks;
pub use led::rgb;
pub use led::Led;
pub use led::BLUE;
pub use led::GREEN;
pub use led::RED;
pub use stdout::configure as configure_stdout;
pub use e310x_hal as hal;

Modules§

clock
Board-specific clock configuration
flash
On-board SPI Flash
led
On-board user LEDs
stdout
Stdout based on the UART hooked up to FTDI or J-Link

Macros§

pin
Returns single pin for given gpio object mapped accordingly
pins
Returns tuple of pins for given gpio object mapped accordingly
sprint
Macro for printing to the serial standard output
sprintln
Macro for printing to the serial standard output, with a newline.