pub trait I2sStandard: Sealed {
    const VALUE: I2sStandard;
    const WS_START_LEVEL: bool;
}
Expand description

Trait for marker indicating a i2s standard.

Required Associated Constants§

source

const VALUE: I2sStandard

Internal use only (used by configuration types).

source

const WS_START_LEVEL: bool

WS line level that make start the i2s device. true mean high level.

Slave need to be enabled when WS line is not at this level.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl I2sStandard for Lsb

source§

const VALUE: I2sStandard = crate::driver::I2sStandard::Lsb

source§

const WS_START_LEVEL: bool = true

source§

impl I2sStandard for Msb

source§

const VALUE: I2sStandard = crate::driver::I2sStandard::Msb

source§

const WS_START_LEVEL: bool = true

source§

impl I2sStandard for PcmLongSync

source§

const VALUE: I2sStandard = crate::driver::I2sStandard::PcmLongSync

source§

const WS_START_LEVEL: bool = true

source§

impl I2sStandard for PcmShortSync

source§

const VALUE: I2sStandard = crate::driver::I2sStandard::PcmShortSync

source§

const WS_START_LEVEL: bool = true

source§

impl I2sStandard for Philips

source§

const VALUE: I2sStandard = crate::driver::I2sStandard::Philips

source§

const WS_START_LEVEL: bool = false