pub trait LpPin: Pin {
// Required method
fn lp_number(&self) -> u8;
}Available on crate feature
unstable only.Expand description
Trait implemented by the pins that the low-power domain can reach.
The low-power domain has its own numbers for these pads, and the low-power registers take such a
number. Only some chips give a pad the same number in both domains, so do not mix the two
numbers. Give Self::lp_number to the low-power registers, and Pin::number to the digital
registers.
§Stability
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".