diff --git a/embassy-sync/src/blocking_mutex/raw_rwlock.rs b/embassy-sync/src/blocking_mutex/raw_rwlock.rs
new file mode 100644
index 000000000..de4bd1dc5
--- /dev/null
+++ b/embassy-sync/src/blocking_mutex/raw_rwlock.rs
@@ -0,0 +1,86 @@
+use core::sync::atomic::{AtomicUsize, Ordering};
+use core::task::Waker;
+use core::cell::UnsafeCell;
+
+pub trait RawRwLock {
+ fn lock_read(&self);
+ fn try_lock_read(&self) -> bool;
+ fn unlock_read(&self);
+ fn lock_write(&self);
+ fn try_lock_write(&self) -> bool;
+ fn unlock_write(&self);
+}
+
+pub struct RawRwLockImpl {
+ state: AtomicUsize,
+ waker: UnsafeCell