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().

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.