Struct flipperzero_sys::LL_LPTIM_InitTypeDef
source · #[repr(C)]pub struct LL_LPTIM_InitTypeDef {
pub ClockSource: u32,
pub Prescaler: u32,
pub Waveform: u32,
pub Polarity: u32,
}Expand description
LPTIM Init structure definition
Fields§
§ClockSource: u32< Specifies the source of the clock used by the LPTIM instance. This parameter can be a value of LPTIM_LL_EC_CLK_SOURCE.
This feature can be modified afterwards using unitary function LL_LPTIM_SetClockSource().
Prescaler: u32< Specifies the prescaler division ratio. This parameter can be a value of LPTIM_LL_EC_PRESCALER.
This feature can be modified afterwards using using unitary function LL_LPTIM_SetPrescaler().
Waveform: u32< Specifies the waveform shape. This parameter can be a value of LPTIM_LL_EC_OUTPUT_WAVEFORM.
This feature can be modified afterwards using unitary function LL_LPTIM_ConfigOutput().
Polarity: u32< Specifies waveform polarity. This parameter can be a value of LPTIM_LL_EC_OUTPUT_POLARITY.
This feature can be modified afterwards using unitary function LL_LPTIM_ConfigOutput().
Trait Implementations§
source§impl Clone for LL_LPTIM_InitTypeDef
impl Clone for LL_LPTIM_InitTypeDef
source§fn clone(&self) -> LL_LPTIM_InitTypeDef
fn clone(&self) -> LL_LPTIM_InitTypeDef
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for LL_LPTIM_InitTypeDef
impl Debug for LL_LPTIM_InitTypeDef
impl Copy for LL_LPTIM_InitTypeDef
Auto Trait Implementations§
impl Freeze for LL_LPTIM_InitTypeDef
impl RefUnwindSafe for LL_LPTIM_InitTypeDef
impl Send for LL_LPTIM_InitTypeDef
impl Sync for LL_LPTIM_InitTypeDef
impl Unpin for LL_LPTIM_InitTypeDef
impl UnwindSafe for LL_LPTIM_InitTypeDef
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)