TIM6

Type Alias TIM6 

Source
pub type TIM6 = Periph<RegisterBlock, 1073745920>;
Expand description

Basic timer

See peripheral structure

Aliased Type§

pub struct TIM6 { /* private fields */ }

Trait Implementations§

Source§

impl Enable for TIM6

Source§

fn enable(rcc: &mut RCC)

Enables peripheral
Source§

fn disable(rcc: &mut RCC)

Disables peripheral
Source§

fn is_enabled() -> bool

Check if peripheral enabled
Source§

fn is_disabled() -> bool

Check if peripheral disabled
Source§

unsafe fn enable_unchecked()

Safety Read more
Source§

unsafe fn disable_unchecked()

Safety Read more
Source§

impl GeneralTimer for TIM6

Source§

fn reset_config(&mut self)

Source§

fn enable_counter(&mut self)

Source§

fn disable_counter(&mut self)

Source§

fn is_counter_enabled(&self) -> bool

Source§

fn reset_counter(&mut self)

Source§

fn max_auto_reload() -> u32

Source§

unsafe fn set_auto_reload_unchecked(&mut self, arr: u32)

Source§

fn set_auto_reload(&mut self, arr: u32) -> Result<(), Error>

Source§

fn read_auto_reload(&self) -> u32

Source§

fn set_prescaler(&mut self, psc: u16)

Source§

fn read_prescaler(&self) -> u16

Source§

fn read_count(&self) -> u32

Source§

fn trigger_update(&mut self)

Source§

fn config_freq(&mut self, clock: Hertz, count_freq: Hertz, update_freq: Hertz)

Source§

fn clear_interrupt_flag(&mut self, event: Event)

Source§

fn listen_interrupt(&mut self, event: Event, b: bool)

Source§

fn get_interrupt_flag(&self) -> Event

Source§

fn start_one_pulse(&mut self)

Source§

fn stop_in_debug(&mut self, state: bool)

Source§

impl GeneralTimerExt for TIM6

Source§

fn enable_preload(&mut self, b: bool)

Source§

impl MasterTimer for TIM6

Source§

type Mms = MMS

Source§

fn master_mode(&mut self, mode: Self::Mms)

Source§

impl RccBus for TIM6

Source§

type Bus = APB1

Bus type;
Source§

impl Reset for TIM6

Source§

fn reset(rcc: &mut RCC)

Resets peripheral
Source§

unsafe fn reset_unchecked()

Safety Read more
Source§

impl TimerInit<Periph<RegisterBlock, 1073745920>> for TIM6

Source§

fn constrain(self, mcu: &mut Mcu) -> Timer<TIM6>

Source§

impl Instance for TIM6