Trait stm32f429_hal::i2s::I2sData
[−]
[src]
pub trait I2sData {
fn datlen() -> u8;
fn for_u16<F: Fn(u16)>(&self, f: F);
}Implemented by data types that fit the device's data width: u16,
and u32.
Required Methods
fn datlen() -> u8
Value for I2C datlen register field.
fn for_u16<F: Fn(u16)>(&self, f: F)
Run given f closure for each 16-bit part of the value.
Implementors
impl I2sData for u16impl I2sData for u32