riscv-rust / e310x-hal

Implementation of the `embedded-hal` traits for E310x microcontrollers
17 stars 18 forks source link

Added PWM #32

Closed ajbt200128 closed 10 months ago

ajbt200128 commented 3 years ago

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 the barebones.

Benjamin-L commented 3 years ago

Unless I'm missing something, there's a set of pwm.*_0 pins that aren't implemented here.

Benjamin-L commented 3 years ago

It also looks like there's no way to get access to the Pwm structs.