[][src]Trait stm32f103xx_hal::pwm2::TimRegisterType

pub trait TimRegisterType {
    fn get_counter_autoreload(&self) -> u16;
fn get_clock_division(&self) -> u32;
fn write_ccer(&self, ccer_bits: u8, value: bool);
fn write_prescaler(&self, value: u16);
fn write_counter_autoreload(&self, value: u16);
fn configure(&self);
fn set_channel_duty(&self, channel: Channel, value: u16);
fn get_channel_duty(&self, channel: Channel) -> u16; }

Required methods

fn get_counter_autoreload(&self) -> u16

fn get_clock_division(&self) -> u32

fn write_ccer(&self, ccer_bits: u8, value: bool)

fn write_prescaler(&self, value: u16)

fn write_counter_autoreload(&self, value: u16)

fn configure(&self)

fn set_channel_duty(&self, channel: Channel, value: u16)

fn get_channel_duty(&self, channel: Channel) -> u16

Loading content...

Implementations on Foreign Types

impl TimRegisterType for RegisterBlock[src]

impl TimRegisterType for RegisterBlock[src]

Loading content...

Implementors

Loading content...