rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions
hardware_pwm Struct Referenceabstract

#include <mpu_util.h>

Inheritance diagram for hardware_pwm:
Inheritance graph
[legend]

Public Member Functions

virtual void setDuty (float duty)=0
 

Static Public Member Functions

static hardware_pwmtryInitPin (const char *msg, brain_pin_e pin, float frequencyHz, float duty)
 

Detailed Description

Definition at line 89 of file mpu_util.h.

Member Function Documentation

◆ setDuty()

virtual void hardware_pwm::setDuty ( float  duty)
pure virtual

Referenced by SimplePwm::setSimplePwmDutyCycle().

Here is the caller graph for this function:

◆ tryInitPin()

hardware_pwm * hardware_pwm::tryInitPin ( const char msg,
brain_pin_e  pin,
float  frequencyHz,
float  duty 
)
static

Definition at line 257 of file mpu_util.cpp.

257 {
258 // TODO: implement me!
259 return nullptr;
260}

Referenced by startSimplePwmHard().

Here is the caller graph for this function:

The documentation for this struct was generated from the following files: