pub trait CaptureCompare32bitInstance: GeneralPurpose32bitInstance + CaptureCompare16bitInstance {
    // Provided methods
    fn set_compare_value(&mut self, channel: Channel, value: u32) { ... }
    fn get_capture_value(&mut self, channel: Channel) -> u32 { ... }
    fn get_max_compare_value(&self) -> u32 { ... }
    fn get_compare_value(&self, channel: Channel) -> u32 { ... }
}
Expand description

Capture/Compare 32-bit timer instance.

Provided Methods§

source

fn set_compare_value(&mut self, channel: Channel, value: u32)

Set comapre value for a channel.

source

fn get_capture_value(&mut self, channel: Channel) -> u32

Get capture value for a channel.

source

fn get_max_compare_value(&self) -> u32

Get max compare value. This depends on the timer frequency and the clock frequency from RCC.

source

fn get_compare_value(&self, channel: Channel) -> u32

Get compare value for a channel.

Object Safety§

This trait is not object safe.

Implementors§