Skip to main content

HasLock

Trait HasLock 

Source
pub trait HasLock { }
Expand description

Marks a pin on a port that has a LOCK register, gating Pin::lock.

Ports A and B have one; ports C and F do not.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<const N: u8, MODE> HasLock for Pin<'A', N, MODE>

Source§

impl<const N: u8, MODE> HasLock for Pin<'B', N, MODE>