embassy-stm32

Crates

git

Versions

stm32l152cc

Flavors

SegPin

Trait SegPin 

Source
pub trait SegPin<T: Instance>: Pin {
    // Required method
    fn af_num(&self) -> u8;
}
Expand description

SegPin pin trait

Required Methods§

Source

fn af_num(&self) -> u8

Get the AF number needed to use this pin as SegPin

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl SegPin<LCD> for PA1

Available on non-afio only.
Source§

impl SegPin<LCD> for PA2

Available on non-afio only.
Source§

impl SegPin<LCD> for PA3

Available on non-afio only.
Source§

impl SegPin<LCD> for PA6

Available on non-afio only.
Source§

impl SegPin<LCD> for PA7

Available on non-afio only.
Source§

impl SegPin<LCD> for PA15

Available on non-afio only.
Source§

impl SegPin<LCD> for PB0

Available on non-afio only.
Source§

impl SegPin<LCD> for PB1

Available on non-afio only.
Source§

impl SegPin<LCD> for PB3

Available on non-afio only.
Source§

impl SegPin<LCD> for PB4

Available on non-afio only.
Source§

impl SegPin<LCD> for PB5

Available on non-afio only.
Source§

impl SegPin<LCD> for PB8

Available on non-afio only.
Source§

impl SegPin<LCD> for PB10

Available on non-afio only.
Source§

impl SegPin<LCD> for PB11

Available on non-afio only.
Source§

impl SegPin<LCD> for PB12

Available on non-afio only.
Source§

impl SegPin<LCD> for PB13

Available on non-afio only.
Source§

impl SegPin<LCD> for PB14

Available on non-afio only.
Source§

impl SegPin<LCD> for PB15

Available on non-afio only.