Hanno Braun
Hanno Braun
Hey @azerupi, thank you for bringing this up! > 2. Make a raw pointer to the timer object to bypass Rust's ownership > ```rust > let pwm_timer_ptr: *mut Timer =...
Thank you, @azerupi, that would be great!
That sounds very sensible. I think even in cases where you know that such a loop shouldn't deadlock, it makes sense to have such a mechanism to detect wrong assumptions...
In general, HALs attempt to provide an API that protects the user from making mistakes (although in practice, all that I know fall short in various ways). One such mistake...
I don't think that adding a new API for low-power mode delays would be a good solution, as the current API is implementing standard APIs from the `embedded-hal` project. It...
Yes, I believe that's correct. That's why I said we need to make sure the code is smart enough to handle it, because the line you quoted certainly isn't :-)...
Hi @snakehand, thank you for your comment. The doc situation certainly isn't ideal, but I don't think additional crates are the answer. We used to do exactly what you proposed,...
A lot of work has been done on the pin API (see #76). One of the open questions from the original comment, whether the API can be simplified, has been...
Some more thoughts: https://github.com/lpc-rs/lpc8xx-hal/pull/210#issuecomment-587406534
Sounds like a good compromise actually. I've added a task to my list to do just that (at the current pace, I think it'll be a few weeks). It would...