pub const fn new(priority: Priority) -> Self {
        Self {
            inner: GenericRawMutex::new(single_core::PriorityLock(priority)),
        }
    }
Create a new lock that is accessible at or below the given `priority`.
esp-hal/src/sync.rs