[−][src]Struct esp_idf_sys::mcpwm_config_t
@brief MCPWM config structure
Fields
frequency: u32
<Set frequency of MCPWM in Hz
cmpr_a: f32
<Set % duty cycle for operator a(MCPWMXA), i.e for 62.3% duty cycle, duty_a = 62.3
cmpr_b: f32
<Set % duty cycle for operator b(MCPWMXB), i.e for 48% duty cycle, duty_b = 48.0
duty_mode: mcpwm_duty_type_t
<Set type of duty cycle
counter_mode: mcpwm_counter_type_t
<Set type of MCPWM counter
Trait Implementations
impl Debug for mcpwm_config_t
[src]
impl Copy for mcpwm_config_t
[src]
impl Clone for mcpwm_config_t
[src]
fn clone(&self) -> mcpwm_config_t
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
Auto Trait Implementations
Blanket Implementations
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,