ryan

Results 259 comments of ryan

`time::Clock` looks super useful hey, are there any soundness issues with reading from the two timers sequentially? (ie. what happens if high rolls over while you're reading the low section)?

ahh nice, it looks like a similar approach is [possible](https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=&cad=rja&uact=8&ved=2ahUKEwi2lZX9-tLqAhVXyDgGHbIzCdgQFjAAegQIBRAB&url=https%3A%2F%2Fwww.st.com%2Fresource%2Fen%2Fapplication_note%2Fcd00165509-achieving-32bit-timer-resolution-with-software-expansion-for-stm32cube-and-standard-peripheral-library-stmicroelectronics.pdf&usg=AOvVaw1xYXZDGjdYh-_SQPwM4vjM) on ST cores but, might require checking for overflow.

hey folks, this (specifically _whether to switch from `nb` to `core`, how to implement async only insofar as it impacts this) is the major issue blocking us on a v1.0.0...

i can't find it right now but i _believe_ there is discussion about introducing a `LogicLevel` (or similar) enum along with some more gpio accessors _somewhere_ amongst our issues and...

cc. @rust-embedded/hal, if this change is desirable perhaps we should break this in the v1 migration? (the caveat being this has not been demonstrated as per the new hal guidelines)

Looks good to me! Even though it is rather straightforward I think it would still be good to demonstrate an implementation / driver, as well as to add this change...

has anyone had a chance to implement this? would be excellent to get it merged ^_^

FYI for anyone else in this predicament, this can be approximated with: ```rust fn elastic_create_index_mapping(client: &mut elastic::SyncClient, index: String) -> Result { let doc = T::index_mapping(); let mapping = serde_json::to_string(&doc).unwrap();...

> Ah, I kinda forgot this existed. However, it's noteworthy that this will explicitly not help anyone who still has older drivers, after we made a hard cut here. ahh,...

howdy, author of `radio-hal` here so i thought i'd pop by, sorry if i miss replying to anything / hope it's useful! also definitely up for improving things in `radio-hal`...