Struct esp32c3_hal::i2s::I2s
source · pub struct I2s<'d, I, P, CH>where
I: Instance,
P: I2sMclkPin,
CH: ChannelTypes,{
pub i2s_tx: TxCreator<'d, <I as Instance>::Peripheral, CH>,
pub i2s_rx: RxCreator<'d, <I as Instance>::Peripheral, CH>,
/* private fields */
}
Expand description
Instance of the I2S peripheral driver
Fields§
§i2s_tx: TxCreator<'d, <I as Instance>::Peripheral, CH>
§i2s_rx: RxCreator<'d, <I as Instance>::Peripheral, CH>
Trait Implementations§
source§impl<'d, I, P, CH> I2s0New<'d, I, P, CH> for I2s<'d, I, P, CH>where
I: Instance + I2s0Instance,
P: I2sMclkPin,
CH: ChannelTypes,
<CH as ChannelTypes>::P: I2sPeripheral + I2s0Peripheral,
impl<'d, I, P, CH> I2s0New<'d, I, P, CH> for I2s<'d, I, P, CH>where I: Instance + I2s0Instance, P: I2sMclkPin, CH: ChannelTypes, <CH as ChannelTypes>::P: I2sPeripheral + I2s0Peripheral,
Auto Trait Implementations§
impl<'d, I, P, CH> RefUnwindSafe for I2s<'d, I, P, CH>where I: RefUnwindSafe, P: RefUnwindSafe, <I as Instance>::Peripheral: RefUnwindSafe, <CH as ChannelTypes>::Rx<'d>: RefUnwindSafe, <CH as ChannelTypes>::Tx<'d>: RefUnwindSafe,
impl<'d, I, P, CH> Send for I2s<'d, I, P, CH>where I: Send, P: Send, <I as Instance>::Peripheral: Send, <CH as ChannelTypes>::Rx<'d>: Send, <CH as ChannelTypes>::Tx<'d>: Send,
impl<'d, I, P, CH> Sync for I2s<'d, I, P, CH>where I: Sync, P: Sync, <I as Instance>::Peripheral: Sync, <CH as ChannelTypes>::Rx<'d>: Sync, <CH as ChannelTypes>::Tx<'d>: Sync,
impl<'d, I, P, CH> Unpin for I2s<'d, I, P, CH>where I: Unpin, P: Unpin, <I as Instance>::Peripheral: Unpin, <CH as ChannelTypes>::Rx<'d>: Unpin, <CH as ChannelTypes>::Tx<'d>: Unpin,
impl<'d, I, P, CH> !UnwindSafe for I2s<'d, I, P, CH>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more