radar-bgt60 1.1.1
C++ library for the BGT60LTR11AIP - XENSIV™ 60 Ghz Radar from Infineon
 
Loading...
Searching...
No Matches
bgt60-pal-gpio-ino.hpp
Go to the documentation of this file.
1
9#ifndef BGT60_PAL_GPIO_INO_HPP_
10#define BGT60_PAL_GPIO_INO_HPP_
11
12#include <stdint.h>
13#include "bgt60-pal-gpio.hpp"
19using namespace bgt60;
20
21class GPIOIno: virtual public GPIO
22{
23private:
24 #define UNUSED_PIN 0xFF
25 uint8_t pin;
26 uint8_t mode;
27 VLogic_t logic;
28
29public:
30 GPIOIno();
31 GPIOIno(uint8_t pin, uint8_t mode, VLogic_t logic);
33 Error_t init();
35 VLevel_t read();
36 Error_t write(VLevel_t level);
39 Error_t enableInt(void (*cback) (void), IntEvent_t mode);
42};
43
46#endif
Radar BGT60 GPIO Platform Abstraction Layer.
Error_t
Definition bgt60-types.hpp:26
IntEvent_t intEvent()
Gets the latest Arduino interrupt event.
Definition bgt60-pal-gpio-ino.cpp:178
Error_t deinit()
Deinitialize the GPIO.
Definition bgt60-pal-gpio-ino.cpp:51
Error_t enable()
Enable the GPIO.
Definition bgt60-pal-gpio-ino.cpp:89
Error_t enableInt(void(*cback)(void), IntEvent_t mode)
Enables the Arduino GPIO interrupt.
Definition bgt60-pal-gpio-ino.cpp:127
Error_t write(VLevel_t level)
Set GPIO logic level.
Definition bgt60-pal-gpio-ino.cpp:76
VLevel_t read()
Read GPIO logic level.
Definition bgt60-pal-gpio-ino.cpp:64
Error_t init()
Initialize the GPIO.
Definition bgt60-pal-gpio-ino.cpp:39
GPIOIno()
Constructor of the Arduino GPIO class.
Definition bgt60-pal-gpio-ino.cpp:16
Error_t disable()
Disable the GPIO.
Definition bgt60-pal-gpio-ino.cpp:107
Error_t disableInt()
Disables the Arduino GPIO interrupt.
Definition bgt60-pal-gpio-ino.cpp:164
Definition bgt60-pal-gpio-ino.hpp:22
Definition bgt60-pal-gpio.hpp:24
VLogic_t
Definition bgt60-pal-gpio.hpp:57
VLevel_t
Definition bgt60-pal-gpio.hpp:46
IntEvent_t
Definition bgt60-pal-gpio.hpp:32
Definition bgt60-types.hpp:14