Struct esp_idf_sys::sigmadelta_config_t
source · #[repr(C)]pub struct sigmadelta_config_t {
pub channel: sigmadelta_channel_t,
pub sigmadelta_duty: i8,
pub sigmadelta_prescale: u8,
pub sigmadelta_gpio: gpio_num_t,
}
Expand description
@brief Sigma-delta configure struct
Fields§
§channel: sigmadelta_channel_t
< Sigma-delta channel number
sigmadelta_duty: i8
< Sigma-delta duty, duty ranges from -128 to 127.
sigmadelta_prescale: u8
< Sigma-delta prescale, prescale ranges from 0 to 255.
sigmadelta_gpio: gpio_num_t
< Sigma-delta output io number, refer to gpio.h for more details.
Trait Implementations§
source§impl Clone for sigmadelta_config_t
impl Clone for sigmadelta_config_t
source§fn clone(&self) -> sigmadelta_config_t
fn clone(&self) -> sigmadelta_config_t
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 sigmadelta_config_t
impl Debug for sigmadelta_config_t
source§impl Default for sigmadelta_config_t
impl Default for sigmadelta_config_t
impl Copy for sigmadelta_config_t
Auto Trait Implementations§
impl Freeze for sigmadelta_config_t
impl RefUnwindSafe for sigmadelta_config_t
impl Send for sigmadelta_config_t
impl Sync for sigmadelta_config_t
impl Unpin for sigmadelta_config_t
impl UnwindSafe for sigmadelta_config_t
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
)