pub type TIM2 = Periph<RegisterBlock, 1073741824>;Expand description
General purpose timer
See peripheral structure
Aliased Type§
pub struct TIM2 { /* private fields */ }Trait Implementations§
Source§impl Enable for TIM2
impl Enable for TIM2
Source§fn is_enabled() -> bool
fn is_enabled() -> bool
Check if peripheral enabled
Source§fn is_disabled() -> bool
fn is_disabled() -> bool
Check if peripheral disabled
Source§unsafe fn enable_unchecked()
unsafe fn enable_unchecked()
Safety Read more
Source§unsafe fn disable_unchecked()
unsafe fn disable_unchecked()
Safety Read more
Source§impl GeneralTimer for TIM2
impl GeneralTimer for TIM2
fn reset_config(&mut self)
fn enable_counter(&mut self)
fn disable_counter(&mut self)
fn is_counter_enabled(&self) -> bool
fn reset_counter(&mut self)
fn max_auto_reload() -> u32
Source§unsafe fn set_auto_reload_unchecked(&mut self, arr: u32)
unsafe fn set_auto_reload_unchecked(&mut self, arr: u32)
Safety Read more