[][src]Trait alt_stm32f30x_hal::timer::TimerChannel

pub trait TimerChannel {
    fn enable(&mut self);
fn disable(&mut self);
fn read_ccr(&self) -> u32;
fn read_arr(&self) -> u32;
fn write_ccr(&mut self, value: u32); }

Timer channel

Required methods

fn enable(&mut self)

Enable channel

fn disable(&mut self)

Disable channel

fn read_ccr(&self) -> u32

Read value of capture/compare register

fn read_arr(&self) -> u32

Read value of Timer's auto-reload register

fn write_ccr(&mut self, value: u32)

Write value to capture/compare register

Loading content...

Implementors

impl<CN: ChNum, M: ChMode> TimerChannel for alt_stm32f30x_hal::timer::tim2::Channel<CN, M>[src]

impl<CN: ChNum, M: ChMode> TimerChannel for alt_stm32f30x_hal::timer::tim3::Channel<CN, M>[src]

impl<CN: ChNum, M: ChMode> TimerChannel for alt_stm32f30x_hal::timer::tim4::Channel<CN, M>[src]

Loading content...