aboutsummaryrefslogtreecommitdiff
path: root/embassy-hal-common/src/lib.rs
diff options
context:
space:
mode:
authorDario Nieuwenhuis <[email protected]>2022-07-23 14:00:19 +0200
committerDario Nieuwenhuis <[email protected]>2022-07-23 14:00:19 +0200
commit4901c34d9c4cd326ab9bca02dd099a663da2567f (patch)
tree8225afebb595fb10c1d67148c0d19b7b732853da /embassy-hal-common/src/lib.rs
parent8a9d2f59af004902d3978a2922843833b98bcce0 (diff)
Rename Unborrowed -> PeripheralRef, Unborrow -> Peripheral
Diffstat (limited to 'embassy-hal-common/src/lib.rs')
-rw-r--r--embassy-hal-common/src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/embassy-hal-common/src/lib.rs b/embassy-hal-common/src/lib.rs
index da7ae9919..d3d9e0a84 100644
--- a/embassy-hal-common/src/lib.rs
+++ b/embassy-hal-common/src/lib.rs
@@ -6,10 +6,10 @@ pub(crate) mod fmt;
6 6
7pub mod drop; 7pub mod drop;
8mod macros; 8mod macros;
9mod peripheral;
9pub mod ratio; 10pub mod ratio;
10pub mod ring_buffer; 11pub mod ring_buffer;
11mod unborrow; 12pub use peripheral::{Peripheral, PeripheralRef};
12pub use unborrow::{Unborrow, Unborrowed};
13 13
14/// Low power blocking wait loop using WFE/SEV. 14/// Low power blocking wait loop using WFE/SEV.
15pub fn low_power_wait_until(mut condition: impl FnMut() -> bool) { 15pub fn low_power_wait_until(mut condition: impl FnMut() -> bool) {