Struct esp_idf_sys::adc_digi_init_config_s
source · #[repr(C)]pub struct adc_digi_init_config_s {
pub max_store_buf_size: u32,
pub conv_num_each_intr: u32,
pub adc1_chan_mask: u32,
pub adc2_chan_mask: u32,
}
Expand description
@brief ADC DMA driver configuration
Fields§
§max_store_buf_size: u32
< Max length of the converted data that driver can store before they are processed.
conv_num_each_intr: u32
< Bytes of data that can be converted in 1 interrupt. This should be in multiples of SOC_ADC_DIGI_DATA_BYTES_PER_CONV
.
adc1_chan_mask: u32
< Channel list of ADC1 to be initialized.
adc2_chan_mask: u32
< Channel list of ADC2 to be initialized.
Trait Implementations§
source§impl Clone for adc_digi_init_config_s
impl Clone for adc_digi_init_config_s
source§fn clone(&self) -> adc_digi_init_config_s
fn clone(&self) -> adc_digi_init_config_s
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 Debug for adc_digi_init_config_s
impl Debug for adc_digi_init_config_s
source§impl Default for adc_digi_init_config_s
impl Default for adc_digi_init_config_s
source§fn default() -> adc_digi_init_config_s
fn default() -> adc_digi_init_config_s
Returns the “default value” for a type. Read more
impl Copy for adc_digi_init_config_s
Auto Trait Implementations§
impl Freeze for adc_digi_init_config_s
impl RefUnwindSafe for adc_digi_init_config_s
impl Send for adc_digi_init_config_s
impl Sync for adc_digi_init_config_s
impl Unpin for adc_digi_init_config_s
impl UnwindSafe for adc_digi_init_config_s
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: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
§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
)§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)