Hall Switch 2.1.0
C++ library of Infineon single Hall-effect switch family for magnetic sensing applications
 
Loading...
Searching...
No Matches
hall-switch-rpi.hpp
Go to the documentation of this file.
1
10#ifndef HALL_SWITCH_RPI_H_
11#define HALL_SWITCH_RPI_H_
12
13#include "../../../config/hall-conf.hpp"
14
15#if (HALL_SWITCH_FRAMEWORK == HALL_SWITCH_FRMWK_RPI)
16
17#include <stdint.h>
18#include "hall-switch.hpp"
19#include "hall-platf-rpi.hpp"
20
27{
28 public:
29
30 HallSwitchRpi( uint8_t outputPin,
31 CBack_t cBack = NULL,
32 uint8_t powerPin = UNUSED_PIN);
33
35 CBack_t cBack = NULL);
36
37};
38
41#endif
42#endif
Definition hall-switch-rpi.hpp:27
Definition hall-switch.hpp:23
CBack_t cBack
Definition hall-switch.hpp:122
void(* CBack_t)(Result_t)
Callback function type for interrupt mode.
Definition hall-switch.hpp:91
Hall Raspberry Pi Hardware Platforms.
Hall Switch API.
Raspberry Pi Hardware Platform Pins.
Definition hall-platf-rpi.hpp:26