Multi Half-Bridge
4.0.0
Library of Infineon's Multi Half-Bridge IC controllers family
gpio-rpi.hpp
Go to the documentation of this file.
1
10
#ifndef GPIO_RPI_HPP_
11
#define GPIO_RPI_HPP_
12
13
#include "
gpio.hpp
"
14
#include <bcm2835.h>
15
16
using namespace
tle94112
;
17
28
class
GPIORpi
:
virtual
public
GPIOC
29
{
30
private
:
31
uint8_t pin;
32
uint8_t mode;
33
VLogic_t
logic;
34
35
public
:
36
GPIORpi
();
37
GPIORpi
(uint8_t pin, uint8_t mode,
VLogic_t
logic);
38
~GPIORpi
(){};
39
Error_t
init();
40
Error_t
deinit();
41
VLevel_t read();
42
Error_t
write(VLevel_t level);
43
Error_t
enable();
44
Error_t
disable();
45
};
48
#endif
gpio.hpp
TLE94112 GPIO Platform Abstraction Layer.
tle94112::GPIOC::VLogic_t
VLogic_t
Definition:
gpio.hpp:54
tle94112::GPIOC
Definition:
gpio.hpp:24
GPIORpi::~GPIORpi
~GPIORpi()
Definition:
gpio-rpi.hpp:38
GPIORpi
Raspberry Pi GPIO class.
Definition:
gpio-rpi.hpp:29
tle94112::Error_t
Error_t
Definition:
tle94112-types.hpp:26
tle94112
Definition:
tle94112-types.hpp:14
src
framework
raspberrypi
pal
gpio-rpi.hpp
Generated by
1.9.1