OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:m_i2ControlCtx
(Results
1 - 12
of
12
) sorted by null
/hardware/bsp/intel/peripheral/libupm/src/htu21d/
htu21d.cpp
35
HTU21D::HTU21D(int bus, int devAddr) :
m_i2ControlCtx
(bus) {
44
mraa::Result ret =
m_i2ControlCtx
.address(m_controlAddr);
56
m_i2ControlCtx
.address (m_controlAddr);
57
m_i2ControlCtx
.write (&data, 1);
213
m_i2ControlCtx
.address (m_controlAddr);
214
error =
m_i2ControlCtx
.write (data, 2);
225
m_i2ControlCtx
.address(m_controlAddr);
226
data = (uint16_t)
m_i2ControlCtx
.readReg(reg) << 8;
227
data |= (uint16_t)
m_i2ControlCtx
.readReg(reg+1);
233
m_i2ControlCtx
.address(m_controlAddr)
[
all
...]
htu21d.h
179
mraa::I2c
m_i2ControlCtx
;
/hardware/bsp/intel/peripheral/libupm/src/bmpx8x/
bmpx8x.cxx
35
BMPX8X::BMPX8X (int bus, int devAddr, uint8_t mode) : m_controlAddr(devAddr),
m_i2ControlCtx
(bus) {
39
mraa::Result ret =
m_i2ControlCtx
.address(m_controlAddr);
185
error =
m_i2ControlCtx
.address (m_controlAddr);
186
error =
m_i2ControlCtx
.write (data, 2);
195
m_i2ControlCtx
.address(m_controlAddr);
196
m_i2ControlCtx
.writeByte(reg);
198
m_i2ControlCtx
.address(m_controlAddr);
199
m_i2ControlCtx
.read((uint8_t *)&data, 0x2);
212
m_i2ControlCtx
.address(m_controlAddr);
213
m_i2ControlCtx
.writeByte(reg)
[
all
...]
bmpx8x.h
106
* will be closed when the
m_i2ControlCtx
variable will go out of
178
mraa::I2c
m_i2ControlCtx
;
/hardware/bsp/intel/peripheral/libupm/src/tsl2561/
tsl2561.cxx
39
:
m_i2ControlCtx
(bus)
48
mraa::Result error =
m_i2ControlCtx
.address(m_controlAddr);
56
error =
m_i2ControlCtx
.writeReg(REGISTER_Control, CONTROL_POWERON);
66
error =
m_i2ControlCtx
.writeReg(REGISTER_Timing, m_gain | m_integrationTime);
74
error =
m_i2ControlCtx
.writeReg(REGISTER_Interrupt, 0x00);
85
m_i2ControlCtx
.writeReg(REGISTER_Control, CONTROL_POWEROFF);
199
error =
m_i2ControlCtx
.address (m_controlAddr);
205
error =
m_i2ControlCtx
.writeByte (reg);
212
error =
m_i2ControlCtx
.writeByte (value);
229
error =
m_i2ControlCtx
.address(m_controlAddr)
[
all
...]
tsl2561.h
164
mraa::I2c
m_i2ControlCtx
;
/hardware/bsp/intel/peripheral/libupm/src/mma7455/
mma7455.cxx
38
MMA7455::MMA7455 (int bus, int devAddr) :
m_i2ControlCtx
(bus) {
47
mraa::Result error =
m_i2ControlCtx
.address(m_controlAddr);
149
if (mraa::SUCCESS !=
m_i2ControlCtx
.address(m_controlAddr)) {
155
if (mraa::SUCCESS !=
m_i2ControlCtx
.writeByte(reg)) {
161
return (int)
m_i2ControlCtx
.read(buffer, len);
172
error =
m_i2ControlCtx
.address (m_controlAddr);
178
error =
m_i2ControlCtx
.write (data, len + 1);
mma7455.h
240
mraa::I2c
m_i2ControlCtx
;
/hardware/bsp/intel/peripheral/libupm/src/am2315/
am2315.cpp
51
if ( !(
m_i2ControlCtx
= mraa_i2c_init(m_bus)) )
58
mraa_result_t ret = mraa_i2c_address(
m_i2ControlCtx
, m_controlAddr);
73
mraa_i2c_stop(
m_i2ControlCtx
);
202
mraa_result_t ret = mraa_i2c_address(
m_i2ControlCtx
, m_controlAddr);
206
error = mraa_i2c_write(
m_i2ControlCtx
, tdata, ilen+5);
216
mraa_i2c_read(
m_i2ControlCtx
, tdata, 5);
238
mraa_result_t ret = mraa_i2c_address(
m_i2ControlCtx
, m_controlAddr);
242
ret = mraa_i2c_write(
m_i2ControlCtx
, tdata, 3);
251
mraa_i2c_read(
m_i2ControlCtx
, tdata, ilen+4);
am2315.h
183
mraa_i2c_context
m_i2ControlCtx
;
/hardware/bsp/intel/peripheral/libupm/src/mpl3115a2/
mpl3115a2.cpp
39
MPL3115A2::MPL3115A2 (int bus, int devAddr, uint8_t mode) :
m_i2ControlCtx
(bus)
48
mraa::Result ret =
m_i2ControlCtx
.address(m_controlAddr);
302
m_i2ControlCtx
.address (m_controlAddr);
303
error =
m_i2ControlCtx
.write (data, 2);
315
m_i2ControlCtx
.address(m_controlAddr);
316
data = (uint16_t)
m_i2ControlCtx
.readReg(reg) << 8;
317
data |= (uint16_t)
m_i2ControlCtx
.readReg(reg+1);
324
m_i2ControlCtx
.address(m_controlAddr);
325
return
m_i2ControlCtx
.readReg(reg);
mpl3115a2.h
97
*
m_i2ControlCtx
variable will go out of scope
248
mraa::I2c
m_i2ControlCtx
;
Completed in 88 milliseconds