#[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 more