#[repr(C)]pub struct PDM_SAMPLE_Type {
pub PTR: u32,
pub MAXCNT: u32,
}
Expand description
@brief PDM_SAMPLE [SAMPLE] (Unspecified)
Fields§
§PTR: u32
< (@ 0x00000000) RAM address pointer to write samples to with EasyDMA
MAXCNT: u32
< (@ 0x00000004) Number of samples to allocate memory for in EasyDMA mode
Trait Implementations§
Source§impl Clone for PDM_SAMPLE_Type
impl Clone for PDM_SAMPLE_Type
Source§fn clone(&self) -> PDM_SAMPLE_Type
fn clone(&self) -> PDM_SAMPLE_Type
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PDM_SAMPLE_Type
impl Debug for PDM_SAMPLE_Type
Source§impl Default for PDM_SAMPLE_Type
impl Default for PDM_SAMPLE_Type
Source§fn default() -> PDM_SAMPLE_Type
fn default() -> PDM_SAMPLE_Type
Returns the “default value” for a type. Read more
impl Copy for PDM_SAMPLE_Type
Auto Trait Implementations§
impl Freeze for PDM_SAMPLE_Type
impl RefUnwindSafe for PDM_SAMPLE_Type
impl Send for PDM_SAMPLE_Type
impl Sync for PDM_SAMPLE_Type
impl Unpin for PDM_SAMPLE_Type
impl UnwindSafe for PDM_SAMPLE_Type
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§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
)Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 8 bytes