TIM14

Type Alias TIM14 

Source
pub type TIM14 = Periph<RegisterBlock, 1073750016>;
Expand description

General purpose timer

See peripheral structure

Aliased Type§

pub struct TIM14 { /* private fields */ }

Trait Implementations§

Source§

impl Enable for TIM14

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 TIM14

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)

Safety Read more
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, 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§

fn enable_preload(&mut self, b: bool)

Source§

impl RccBus for TIM14

Source§

type Bus = APB1

Bus type;
Source§

impl Remap for TIM14

Source§

type Mapr = MAPR2

Source§

fn remap<const R: u8>(self, mapr: &mut Self::Mapr) -> Rmp<Self, R>

Source§

impl Reset for TIM14

Source§

fn reset(rcc: &mut RCC)

Resets peripheral
Source§

unsafe fn reset_unchecked()

Safety Read more
Source§

impl TimerInit<Periph<RegisterBlock, 1073750016>> for TIM14

Source§

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

Source§

impl TimerWithPwm for TIM14

Source§

fn stop_pwm(&mut self)

Source§

fn start_pwm(&mut self)

Source§

fn preload_output_channel_in_mode(&mut self, channel: Channel, mode: PwmMode)

Source§

fn set_polarity(&mut self, channel: Channel, polarity: PwmPolarity)

Source§

impl TimerWithPwm1Ch for TIM14

Source§

fn enable_ch1(&mut self, en: bool)

Source§

fn set_ch1_cc_value(&mut self, value: u32)

Source§

fn get_ch1_cc_value(&self) -> u32

Source§

impl Instance for TIM14