Embassy
embassy-stm32

Crates

git

Versions

stm32g031k4

Flavors

Trait embassy_stm32::spi::CsPin

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

CsPin pin trait

Required Methods§

source

fn af_num(&self) -> u8

Get the AF number needed to use this pin as CsPin

Object Safety§

This trait is not object safe.

Implementors§