Struct esp_idf_svc::hal::sys::ledc_cb_param_t
source · #[repr(C)]pub struct ledc_cb_param_t {
pub event: u32,
pub speed_mode: u32,
pub channel: u32,
pub duty: u32,
}
Expand description
@brief LEDC callback parameter
Fields§
§event: u32
< Event name
speed_mode: u32
< Speed mode of the LEDC channel group
channel: u32
< LEDC channel (0 - LEDC_CHANNEL_MAX-1)
duty: u32
< LEDC current duty of the channel, the range of duty is [0, (2**duty_resolution)]
Trait Implementations§
source§impl Clone for ledc_cb_param_t
impl Clone for ledc_cb_param_t
source§fn clone(&self) -> ledc_cb_param_t
fn clone(&self) -> ledc_cb_param_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 ledc_cb_param_t
impl Debug for ledc_cb_param_t
source§impl Default for ledc_cb_param_t
impl Default for ledc_cb_param_t
source§fn default() -> ledc_cb_param_t
fn default() -> ledc_cb_param_t
Returns the “default value” for a type. Read more
impl Copy for ledc_cb_param_t
Auto Trait Implementations§
impl Freeze for ledc_cb_param_t
impl RefUnwindSafe for ledc_cb_param_t
impl Send for ledc_cb_param_t
impl Sync for ledc_cb_param_t
impl Unpin for ledc_cb_param_t
impl UnwindSafe for ledc_cb_param_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: 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
)§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
)