UUtzinger_DRV8704  0.1.1
Arduino library for the DRV8704 dual H-bridge gate driver
drv8704_pwm.h File Reference

Shared abstraction for platform PWM generation backends. More...

#include <Arduino.h>
#include "drv8704_types.h"
Include dependency graph for drv8704_pwm.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  DRV8704PwmBackend
 Abstract board-specific PWM backend used for DRV8704 bridge inputs. More...
 

Functions

DRV8704PwmBackenddrv8704CreatePwmBackend ()
 Create the platform PWM backend selected by the active Arduino core. More...
 

Detailed Description

Shared abstraction for platform PWM generation backends.

Function Documentation

◆ drv8704CreatePwmBackend()

DRV8704PwmBackend* drv8704CreatePwmBackend ( )

Create the platform PWM backend selected by the active Arduino core.

Returns
Backend instance or nullptr when the target has no supported PWM backend.