e310x-hal icon indicating copy to clipboard operation
e310x-hal copied to clipboard

Implementation of the `embedded-hal` traits for E310x microcontrollers

Results 13 e310x-hal issues
Sort by recently updated
recently updated
newest added

- [x] gpio - [x] uart - [x] clint - [x] clock - [ ] pwm (wip) - [x] plic (wip) - [x] spi - [x] rtc - [x] wdog...

help wanted

I've been studying the `riscv-rt`, `e310x` and `e310x-hal` crates for a while, and I'm currently exploring different interruption modes. As far as I know, `riscv-rt` leaves you the `MachineExternal` function...

Hello, as mentioned here: https://github.com/riscv-rust/riscv-rust-quickstart/issues/22 im moving this issue. Im trying to use HiFive rev b board with DHT22 sensor. It needs "open-drain" output option to work. I asked on...

Adds support for embedded-hal v1.0.0-alpha.8 by refactoring existing SPI device implementation into using the new traits. Tested with write only so far. Requires: https://github.com/riscv-rust/e310x/pull/26 https://github.com/rust-embedded/riscv-rt/pull/101 https://github.com/rust-embedded/riscv/pull/106 Based off of @ahmedcharles...

Original work from #42 that needed to be reverted from master. This PR continues with fixing a typo + MSRV and some additional dependency bumps. I will bump this to...

According to https://docs.rs/embedded-hal/latest/embedded_hal/digital/v2/trait.StatefulOutputPin.html, the functions in StatefulOutputPin should not read the actual electrical value of the pin, but the current state of the output driver. The fe310 manual states: "Reading...

Hey, I added a simple implementation for PWM. There's definitely more advanced things you can do with the e310x, but I figured that it was worth it to just add...

https://github.com/riscv-rust/e310x-hal/blob/f8cded2f409b737802bd9a424fdbc052db7798e7/src/delay.rs#L58 Changing 1000 by 1000000 could do it for Sleep ?

The macros for the various peripherals create a new type for each instance of the same hardware. These types share the general `embedded_hal` traits, but I need something that provides...