LCDDriver_NXP_Arduino
0.3.0
Temperature sensor device operation sample code for Arduino
Loading...
Searching...
No Matches
src
MUX_SW_NXP.h
Go to the documentation of this file.
1
8
#ifndef ARDUINO_MUX_SW_H
9
#define ARDUINO_MUX_SW_H
10
11
#include <Arduino.h>
12
#include <stdint.h>
13
14
#include <I2C_device.h>
15
24
class
PCA9846
:
public
I2C_device
25
{
26
public
:
27
enum
channel
{
28
CH0
= 0x01,
29
CH1
= 0x02,
30
CH2
= 0x04,
31
CH3
= 0x08,
32
};
33
35
constexpr
static
int
N_CH
= 4;
36
41
PCA9846
( uint8_t i2c_address = (0xE2 >> 1) );
42
48
PCA9846
( TwoWire& wire, uint8_t i2c_address = (0xE2 >> 1) );
49
virtual
~PCA9846
();
50
55
void
begin
(
void
);
56
61
void
select
( uint8_t flags );
62
67
uint8_t
select
(
void
);
68
};
69
70
#endif
// ARDUINO_MUX_SW_H
PCA9846
Definition:
MUX_SW_NXP.h:25
PCA9846::select
uint8_t select(void)
Definition:
MUX_SW_NXP.cpp:26
PCA9846::N_CH
static constexpr int N_CH
Definition:
MUX_SW_NXP.h:35
PCA9846::begin
void begin(void)
Definition:
MUX_SW_NXP.cpp:17
PCA9846::~PCA9846
virtual ~PCA9846()
Definition:
MUX_SW_NXP.cpp:13
PCA9846::channel
channel
Definition:
MUX_SW_NXP.h:27
PCA9846::CH2
@ CH2
Definition:
MUX_SW_NXP.h:30
PCA9846::CH1
@ CH1
Definition:
MUX_SW_NXP.h:29
PCA9846::CH3
@ CH3
Definition:
MUX_SW_NXP.h:31
PCA9846::CH0
@ CH0
Definition:
MUX_SW_NXP.h:28
Generated by
1.9.6