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

Implementors§

Source§

impl LpPin for GPIO0<'_>

Source§

impl LpPin for GPIO1<'_>

Source§

impl LpPin for GPIO2<'_>

Source§

impl LpPin for GPIO3<'_>

Source§

impl LpPin for GPIO4<'_>

Source§

impl LpPin for GPIO5<'_>

Source§

impl LpPin for GPIO6<'_>

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<'_>

Source§

impl LpPin for GPIO15<'_>

Source§

impl LpPin for GPIO16<'_>

Source§

impl LpPin for GPIO17<'_>

Source§

impl LpPin for GPIO18<'_>

Source§

impl LpPin for GPIO19<'_>

Source§

impl LpPin for GPIO20<'_>

Source§

impl LpPin for GPIO21<'_>