Docs.rs
hifive1-0.12.0
hifive1 0.12.0
Permalink
Docs.rs crate page
ISC
Links
Repository
Crates.io
Source
Owners
dvc94ch
github:rust-embedded:riscv
Disasm
Dependencies
e310x-hal ^0.11.0
normal
embedded-hal ^0.2.7
normal
nb ^1.0.0
normal
riscv ^0.10.1
normal
Versions
100%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
GREEN
Trait Implementations
Led
In hifive1::led
?
Type Definition
hifive1
::
led
::
GREEN
source
·
[
−
]
pub type GREEN =
Pin19
<
Output
<
Regular
<
Invert
>>>;
Expand description
Green LED
Trait Implementations
§
source
§
impl
Led
for
GREEN
source
§
fn
off
(&mut self)
Turns the LED off
source
§
fn
on
(&mut self)
Turns the LED on
source
§
fn
toggle
(&mut self)
Toggles the LED state