Skip to content

Class evam::TA6586Driver

template <int kForwardPin, int kBackwardPin>

ClassList > evam > TA6586Driver

Driver for the TA6586 dual H-bridge motor driver. More...

  • #include <evamTA6586Driver.h>

Public Functions

Type Name
int GetBackwardPin () const
Get the backward pin number.
int GetForwardPin () const
Get the forward pin number.
TA6586Driver ()
Constructor. Initializes pins and stops the motor.
TA6586Driver (TA6586Config config, Args... args)

Protected Functions

Type Name
void actBipolar (signed short aValue)
Set bipolar (signed) control value.

Detailed Description

Pinout:

Template parameters:

  • kForwardPin PWM pin connected to FI (forward input)
  • kBackwardPin PWM pin connected to BI (backward input)

Public Functions Documentation

function GetBackwardPin

Get the backward pin number.

inline int evam::TA6586Driver::GetBackwardPin () const

Returns:

Backward PWM pin number.


function GetForwardPin

Get the forward pin number.

inline int evam::TA6586Driver::GetForwardPin () const

Returns:

Forward PWM pin number.


function TA6586Driver [1/2]

Constructor. Initializes pins and stops the motor.

inline evam::TA6586Driver::TA6586Driver () 

function TA6586Driver [2/2]

template<typename... Args>
inline evam::TA6586Driver::TA6586Driver (
    TA6586Config config,
    Args... args
) 

Protected Functions Documentation

function actBipolar

Set bipolar (signed) control value.

inline void evam::TA6586Driver::actBipolar (
    signed short aValue
) 

Parameters:

  • aValue Range -1000..1000, mapped to -255..255 PWM. Positive = forward, negative = reverse, 0 = stop.


The documentation for this class was generated from the following file src/evamTA6586Driver.h