Trait stm32_i2s_v12x::WsPin
source · pub trait WsPin {
// Required methods
fn is_low(&self) -> bool;
fn is_high(&self) -> bool;
}
Expand description
A pin carrying the WS (word select) signal from/to an i2s peripheral.
Implementing this trait means implementing read operation on a pin physically configured in alternate mode.