Hall Switch 2.1.0
C++ library of Infineon single Hall-effect switch family for magnetic sensing applications
 
Loading...
Searching...
No Matches
hall-switch-int.hpp
Go to the documentation of this file.
1
10#ifndef HALL_SWITCH_INT_HPP_
11#define HALL_SWITCH_INT_HPP_
12
13#include "hall-switch.hpp"
14
16{
17 private:
18 #define GPIO_INT_PINS 4
19 static uint8_t idxNext;
20 static HallSwitch *objPtrVector[GPIO_INT_PINS];
21 static void *fnPtrVector[GPIO_INT_PINS];
22 static void int0Handler ();
23 static void int1Handler ();
24 static void int2Handler ();
25 static void int3Handler ();
26 public:
27 static void *isrRegister(HallSwitch *objPtr);
28};
29
30#endif
Definition hall-switch-int.hpp:16
static void * isrRegister(HallSwitch *objPtr)
Register a hardware interrupt for the hall switch object passed by argument.
Definition hall-switch-int.cpp:58
Definition hall-switch.hpp:23
Hall Switch API.