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
15
class
HallSwitch::Interrupt
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
HallSwitch::Interrupt
Definition
hall-switch-int.hpp:16
HallSwitch::Interrupt::isrRegister
static void * isrRegister(HallSwitch *objPtr)
Register a hardware interrupt for the hall switch object passed by argument.
Definition
hall-switch-int.cpp:58
HallSwitch
Definition
hall-switch.hpp:23
hall-switch.hpp
Hall Switch API.
src
corelib
hall-switch-int.hpp
Generated by
1.9.8