embassy-stm32

Crates

git

Versions

stm32f334r6

Flavors

embassy_stm32::dac

Trait DacPin

Source
pub trait DacPin<T: Instance, const C: u8>: Pin + 'static { }
Expand description

Marks a pin that can be used with the DAC

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 DacPin<DAC1, 1> for PA4

Source§

impl DacPin<DAC1, 2> for PA5

Source§

impl DacPin<DAC2, 1> for PA6