pub struct ConvCommandConfig {
pub chained_next_command_number: Next,
pub enable_auto_channel_increment: bool,
pub loop_count: u8,
pub hardware_average_mode: Avgs,
pub sample_time_mode: Sts,
pub hardware_compare_mode: Cmpen,
pub hardware_compare_value_high: u32,
pub hardware_compare_value_low: u32,
pub conversion_resolution_mode: Mode,
pub enable_wait_trigger: bool,
}Expand description
Configuration for a conversion command.
Defines the parameters for a single ADC conversion operation.
Fields§
§chained_next_command_number: Next§enable_auto_channel_increment: bool§loop_count: u8§hardware_average_mode: Avgs§sample_time_mode: Sts§hardware_compare_mode: Cmpen§hardware_compare_value_high: u32§hardware_compare_value_low: u32§conversion_resolution_mode: Mode§enable_wait_trigger: boolTrait Implementations§
Source§impl Clone for ConvCommandConfig
impl Clone for ConvCommandConfig
Source§fn clone(&self) -> ConvCommandConfig
fn clone(&self) -> ConvCommandConfig
Returns a duplicate 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 ConvCommandConfig
impl Debug for ConvCommandConfig
Source§impl Default for ConvCommandConfig
impl Default for ConvCommandConfig
Source§impl PartialEq for ConvCommandConfig
impl PartialEq for ConvCommandConfig
impl Copy for ConvCommandConfig
impl Eq for ConvCommandConfig
impl StructuralPartialEq for ConvCommandConfig
Auto Trait Implementations§
impl Freeze for ConvCommandConfig
impl RefUnwindSafe for ConvCommandConfig
impl Send for ConvCommandConfig
impl Sync for ConvCommandConfig
impl Unpin for ConvCommandConfig
impl UnwindSafe for ConvCommandConfig
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