Trait alt_stm32f30x_hal::timer::TimerChannel [−][src]
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