#[repr(C)]
pub union i2s_chan_config_t__bindgen_ty_1 {
pub auto_clear: bool,
pub auto_clear_after_cb: bool,
}
Fields§
§auto_clear: bool
< Alias of auto_clear_after_cb
auto_clear_after_cb: bool
< Set to auto clear DMA TX buffer after on_sent
callback, I2S will always send zero automatically if no data to send.
So that user can assign the data to the DMA buffers directly in the callback, and the data won’t be cleared after quit the callback.
Trait Implementations§
source§impl Clone for i2s_chan_config_t__bindgen_ty_1
impl Clone for i2s_chan_config_t__bindgen_ty_1
source§fn clone(&self) -> i2s_chan_config_t__bindgen_ty_1
fn clone(&self) -> i2s_chan_config_t__bindgen_ty_1
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for i2s_chan_config_t__bindgen_ty_1
impl Default for i2s_chan_config_t__bindgen_ty_1
impl Copy for i2s_chan_config_t__bindgen_ty_1
Auto Trait Implementations§
impl Freeze for i2s_chan_config_t__bindgen_ty_1
impl RefUnwindSafe for i2s_chan_config_t__bindgen_ty_1
impl Send for i2s_chan_config_t__bindgen_ty_1
impl Sync for i2s_chan_config_t__bindgen_ty_1
impl Unpin for i2s_chan_config_t__bindgen_ty_1
impl UnwindSafe for i2s_chan_config_t__bindgen_ty_1
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)