TIM4

Type Alias TIM4 

Source
pub type TIM4 = Periph<RegisterBlock, 1073743872>;
Expand description

General purpose timers

See peripheral structure

Aliased Type§

pub struct TIM4 { /* private fields */ }

Trait Implementations§

Source§

impl Enable for TIM4

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 Instance for TIM4

Source§

impl LPEnable for TIM4

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 TIM4

Source§

type Bus = APB1

Bus type;
Source§

impl Reset for TIM4

Source§

fn reset(rcc: &mut RCC)

Resets peripheral
Source§

unsafe fn reset_unchecked()

Safety Read more
Source§

impl TimCPin<0> for TIM4

Source§

type Ch<Otype> = Ch1<Otype>

Source§

impl TimCPin<1> for TIM4

Source§

type Ch<Otype> = Ch2<Otype>

Source§

impl TimCPin<2> for TIM4

Source§

type Ch<Otype> = Ch3<Otype>

Source§

impl TimCPin<3> for TIM4

Source§

type Ch<Otype> = Ch4<Otype>

Source§

impl TimEtr for TIM4

Source§

impl Instance for TIM4