Struct flipper0::ffi::LL_LPTIM_InitTypeDef
source · pub struct LL_LPTIM_InitTypeDef {
pub ClockSource: u32,
pub Prescaler: u32,
pub Waveform: u32,
pub Polarity: u32,
}
Expand description
@brief 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 @ref LPTIM_LL_EC_CLK_SOURCE.
This feature can be modified afterwards using unitary function @ref LL_LPTIM_SetClockSource().
Prescaler: u32
< Specifies the prescaler division ratio. This parameter can be a value of @ref LPTIM_LL_EC_PRESCALER.
This feature can be modified afterwards using using unitary function @ref LL_LPTIM_SetPrescaler().
Waveform: u32
< Specifies the waveform shape. This parameter can be a value of @ref LPTIM_LL_EC_OUTPUT_WAVEFORM.
This feature can be modified afterwards using unitary function @ref LL_LPTIM_ConfigOutput().
Polarity: u32
< Specifies waveform polarity. This parameter can be a value of @ref LPTIM_LL_EC_OUTPUT_POLARITY.
This feature can be modified afterwards using unitary function @ref LL_LPTIM_ConfigOutput().