pub trait IPwmControllerProvider_Impl: Sized {
    // Required methods
    fn PinCount(&self) -> Result<i32>;
    fn ActualFrequency(&self) -> Result<f64>;
    fn SetDesiredFrequency(&self, frequency: f64) -> Result<f64>;
    fn MaxFrequency(&self) -> Result<f64>;
    fn MinFrequency(&self) -> Result<f64>;
    fn AcquirePin(&self, pin: i32) -> Result<()>;
    fn ReleasePin(&self, pin: i32) -> Result<()>;
    fn EnablePin(&self, pin: i32) -> Result<()>;
    fn DisablePin(&self, pin: i32) -> Result<()>;
    fn SetPulseParameters(
        &self,
        pin: i32,
        dutycycle: f64,
        invertpolarity: bool,
    ) -> Result<()>;
}

Required Methods§

fn PinCount(&self) -> Result<i32>

fn ActualFrequency(&self) -> Result<f64>

fn SetDesiredFrequency(&self, frequency: f64) -> Result<f64>

fn MaxFrequency(&self) -> Result<f64>

fn MinFrequency(&self) -> Result<f64>

fn AcquirePin(&self, pin: i32) -> Result<()>

fn ReleasePin(&self, pin: i32) -> Result<()>

fn EnablePin(&self, pin: i32) -> Result<()>

fn DisablePin(&self, pin: i32) -> Result<()>

fn SetPulseParameters( &self, pin: i32, dutycycle: f64, invertpolarity: bool, ) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§