TLI4971 Current Sensor
1.1.2
C++ library of Infineons Magnetic Hall TLI4971 Current Sensor
Loading...
Searching...
No Matches
SICI.h
Go to the documentation of this file.
1
37
#ifndef TLI4971_SICI_H_INCLUDED
38
#define TLI4971_SICI_H_INCLUDED
39
40
#include <Arduino.h>
41
#include "OneWire.h"
42
43
namespace
tli4971
44
{
45
46
class
Sici
47
{
48
public
:
49
Sici
(uint8_t pin, uint8_t pwrPin);
50
void
begin
(
void
);
51
void
end
(
void
);
52
uint16_t
transfer16
(uint16_t dataIn);
53
bool
enterSensorIF
(
void
);
54
private
:
55
uint8_t mActive;
56
uint8_t mPin;
57
uint8_t mPwrPin;
58
OneWire *mInterface;
59
60
uint8_t read_bit(
void
);
61
void
write_bit(uint8_t value);
62
};
63
64
}
65
66
#endif
tli4971::Sici
Definition
SICI.h:47
tli4971::Sici::enterSensorIF
bool enterSensorIF(void)
Definition
SICI.cpp:77
tli4971::Sici::end
void end(void)
Definition
SICI.cpp:67
tli4971::Sici::begin
void begin(void)
Definition
SICI.cpp:52
tli4971::Sici::transfer16
uint16_t transfer16(uint16_t dataIn)
Definition
SICI.cpp:96
tli4971
Definition
SICI.h:44
src
util
SICI.h
Generated by
1.9.8