TIM12

Type Alias TIM12 

Source
pub type TIM12 = Periph<RegisterBlock, 1073747968>;
Expand description

General purpose timers

See peripheral structure

Aliased Type§

pub struct TIM12 { /* private fields */ }

Trait Implementations§

Source§

impl Enable for TIM12

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 LPEnable for TIM12

Source§

fn enable_in_low_power(rcc: &mut RCC)

Enables peripheral in low power mode
Source§

fn disable_in_low_power(rcc: &mut RCC)

Disables peripheral in low power mode
Source§

fn is_enabled_in_low_power() -> bool

Check if peripheral enabled in low power mode
Source§

fn is_disabled_in_low_power() -> bool

Check if peripheral disabled in low power mode
Source§

unsafe fn enable_in_low_power_unchecked()

Safety Read more
Source§

unsafe fn disable_in_low_power_unchecked()

Safety Read more
Source§

impl RccBus for TIM12

Source§

type Bus = APB1

Bus type;
Source§

impl Reset for TIM12

Source§

fn reset(rcc: &mut RCC)

Resets peripheral
Source§

unsafe fn reset_unchecked()

Safety Read more
Source§

impl TimCPin<0> for TIM12

Source§

type Ch<Otype> = Ch1<Otype>

Source§

impl TimCPin<1> for TIM12

Source§

type Ch<Otype> = Ch2<Otype>

Source§

impl Instance for TIM12