TLE94112 Core API. More...
#include <stdint.h>#include <stdlib.h>#include "timer.hpp"#include "gpio.hpp"#include "spic.hpp"

Go to the source code of this file.
Data Structures | |
| class | Tle94112 |
| represents a basic TLE94112 More... | |
| struct | Tle94112::HalfBridge_t |
| struct containing register locations for a single halfbridge More... | |
| struct | Tle94112::PWMchannel_t |
| struct containing register locations for a single PWM channel More... | |
Macros | |
| #define | TLE94112_NUM_HB 13 |
| the number of halfbridges on a TLE94112 (including no halfbridge) | |
| #define | TLE94112_NUM_PWM 4 |
| the number of pwm modes for a halfbridge (including no pwm) | |
| #define | TLE94112_NUM_CTRL_REGS 12 |
| the number of control registers in a TLE94112 | |
| #define | TLE94112_NUM_STATUS_REGS 7 |
| the number of status registers in a TLE94112 | |
TLE94112 Core API.
This library includes the basic common functions to controll the TLE94112 registers
SPDX-License-Identifier: MIT
| struct Tle94112::HalfBridge_t |
struct containing register locations for a single halfbridge
| Data Fields | ||
|---|---|---|
| uint8_t | stateReg | |
| uint8_t | stateMask | |
| uint8_t | stateShift | |
| uint8_t | pwmReg | |
| uint8_t | pwmMask | |
| uint8_t | pwmShift | |
| uint8_t | fwReg | |
| uint8_t | fwMask | |
| uint8_t | fwShift | |
| uint8_t | ocReg | |
| uint8_t | ocMask | |
| uint8_t | ocShift | |
| uint8_t | olReg | |
| uint8_t | olMask | |
| uint8_t | olShift | |