Skip to main content

LpPin

Trait LpPin 

Source
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§

Source

fn lp_number(&self) -> u8

LP number of the pin

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§

Source§

impl LpPin for GPIO7<'_>

Source§

impl LpPin for GPIO8<'_>

Source§

impl LpPin for GPIO9<'_>

Source§

impl LpPin for GPIO10<'_>

Source§

impl LpPin for GPIO11<'_>

Source§

impl LpPin for GPIO12<'_>

Source§

impl LpPin for GPIO13<'_>

Source§

impl LpPin for GPIO14<'_>