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

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

Timer channel

Required methods

pub fn enable(&mut self)[src]

Enable channel

pub fn disable(&mut self)[src]

Disable channel

pub fn read_ccr(&self) -> u32[src]

Read value of capture/compare register

pub fn read_arr(&self) -> u32[src]

Read value of Timer's auto-reload register

pub fn write_ccr(&mut self, value: u32)[src]

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...