aboutsummaryrefslogtreecommitdiff
path: root/examples/std
diff options
context:
space:
mode:
authorBrooks J Rady <[email protected]>2023-04-09 09:15:57 +0100
committerBrooks J Rady <[email protected]>2023-04-09 09:15:57 +0100
commit1fbb8f0b321a15fd6b473c466d41fac40302ec3c (patch)
treea231b3bc6c7069450c0ee1ee8b870593ac12756d /examples/std
parent047ea9066f0d946fd4d706577b21df38fd3b1647 (diff)
feat(rp): add `Wait` impl to `OutputOpenDrain`
A while ago `OutputOpenDrain` was made to implement `InputPin`, something that allowed drivers for various one-wire protocols to be written, but it's been lacking a `Wait` implementation — something that's needed to write async versions of these drivers. This commit also adds `get_level()` to `OutputOpenDrain`, since `is_high()` and `is_low()` were already implemented, but `get_level()` itself was missing.
Diffstat (limited to 'examples/std')
0 files changed, 0 insertions, 0 deletions