#[repr(C)]pub struct TIM_IC_InitTypeDef {
pub ICPolarity: u32,
pub ICSelection: u32,
pub ICPrescaler: u32,
pub ICFilter: u32,
}Expand description
@brief TIM Input Capture Configuration Structure definition
Fields§
§ICPolarity: u32< Specifies the active edge of the input signal. This parameter can be a value of @ref TIM_Input_Capture_Polarity
ICSelection: u32< Specifies the input. This parameter can be a value of @ref TIM_Input_Capture_Selection
ICPrescaler: u32< Specifies the Input Capture Prescaler. This parameter can be a value of @ref TIM_Input_Capture_Prescaler
ICFilter: u32< Specifies the input capture filter. This parameter can be a number between Min_Data = 0x0 and Max_Data = 0xF
Trait Implementations§
Source§impl Clone for TIM_IC_InitTypeDef
impl Clone for TIM_IC_InitTypeDef
Source§fn clone(&self) -> TIM_IC_InitTypeDef
fn clone(&self) -> TIM_IC_InitTypeDef
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TIM_IC_InitTypeDef
Auto Trait Implementations§
impl Freeze for TIM_IC_InitTypeDef
impl RefUnwindSafe for TIM_IC_InitTypeDef
impl Send for TIM_IC_InitTypeDef
impl Sync for TIM_IC_InitTypeDef
impl Unpin for TIM_IC_InitTypeDef
impl UnsafeUnpin for TIM_IC_InitTypeDef
impl UnwindSafe for TIM_IC_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
Mutably borrows from an owned value. Read more