Multi Half-Bridge  4.0.0
Library of Infineon's Multi Half-Bridge IC controllers family
tle94112-motor.hpp File Reference

TLE94112 Motor Control API. More...

#include "tle94112.hpp"
Include dependency graph for tle94112-motor.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  Tle94112Motor
 represents a motor connected to a TLE94112 More...
 
struct  Tle94112Motor::Connector_t
 struct representing one motor connector More...
 

Macros

#define TLE94112_MAX_SPEED   255
 The maximum absolute speed value which can be set. More...
 
#define TLE94112MOTOR_MAX_CONNECTORS   4
 maximum number of Tle94112 outputs per motor connector More...
 

Detailed Description

TLE94112 Motor Control API.

This file can optionally be included in projects that use Infineon DC Motor Control Shield with TLE94112 It provides a higher abstraction for controlling motors with the TLE94112 acting as an output driver

SPDX-License-Identifier: MIT


Data Structure Documentation

◆ Tle94112Motor::Connector_t

struct Tle94112Motor::Connector_t

struct representing one motor connector

Data Fields
HalfBridge halfbridges[TLE94112MOTOR_MAX_CONNECTORS]
PWMChannel channel
PWMFreq freq
uint8_t active_fw