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: u32Specifies 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: u32Specifies 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: u32Specifies 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: u32Specifies 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