Home
last modified time | relevance | path

Searched refs:writeByte (Results 1 – 25 of 44) sorted by relevance

12

/hardware/bsp/intel/peripheral/libupm/src/si114x/
Dsi114x.cxx78 bool SI114X::writeByte(uint8_t reg, uint8_t byte) in writeByte() function in SI114X
119 writeByte(REG_PARAM_WR, value); in writeParam()
122 writeByte(REG_COMMAND, CMD_PARAM_SET | param); in writeParam()
129 writeByte(REG_COMMAND, CMD_PARAM_QUERY | param); in readParam()
138 writeByte(REG_MEAS_RATE0, 0); in reset()
139 writeByte(REG_MEAS_RATE1, 0); in reset()
143 writeByte(REG_IRQ_MODE1, 0); in reset()
144 writeByte(REG_IRQ_MODE2, 0); in reset()
147 writeByte(REG_INT_CFG, 0); in reset()
148 writeByte(REG_IRQ_STATUS, 0xff); in reset()
[all …]
/hardware/bsp/intel/peripheral/libupm/src/adc121c021/
Dadc121c021.cxx65 mraa_result_t ADC121C021::writeByte(uint8_t reg, uint8_t byte) in writeByte() function in ADC121C021
141 writeByte(ADC121C021_REG_ALERT_STATUS, 0x03); in clearAlertStatus()
158 writeByte(ADC121C021_REG_CONFIG, val); in enableAlertFlag()
172 writeByte(ADC121C021_REG_CONFIG, val); in enableAlertPin()
186 writeByte(ADC121C021_REG_CONFIG, val); in enableAlertHold()
200 writeByte(ADC121C021_REG_CONFIG, val); in enableAlertPinPolarityHigh()
213 writeByte(ADC121C021_REG_CONFIG, val); in setAutomaticConversion()
Dadc121c021.h115 mraa_result_t writeByte(uint8_t reg, uint8_t byte);
/hardware/bsp/intel/peripheral/libupm/src/tcs3414cs/
Dtcs3414cs.cxx86 error = m_i2Ctx.writeByte (CLR_INT); in clearInterrupt()
104 m_i2Ctx.writeByte(reg); in i2cReadReg_N()
116 error = m_i2Ctx.writeByte (reg); in i2cWriteReg_N()
127 error = m_i2Ctx.writeByte (reg); in i2cWriteReg()
128 error = m_i2Ctx.writeByte (data); in i2cWriteReg()
/hardware/bsp/intel/peripheral/libupm/src/pca9685/
Dpca9685.cxx80 bool PCA9685::writeByte(uint8_t reg, uint8_t byte) in writeByte() function in PCA9685
132 writeByte(REG_MODE1, mode1); in setModeSleep()
143 writeByte(REG_MODE1, mode1); in setModeSleep()
158 return writeByte(REG_MODE1, mode1); in enableAutoIncrement()
186 return writeByte(regoff, bits); in ledFullOn()
214 return writeByte(regoff, bits); in ledFullOff()
286 return writeByte(REG_PRESCALE, prescale); in setPrescale()
/hardware/bsp/intel/peripheral/libupm/src/at42qt1070/
Dat42qt1070.cxx71 AT42QT1070::writeByte(uint8_t reg, uint8_t byte) in writeByte() function in AT42QT1070
153 writeByte(REG_LP, mode); in setLPMode()
198 writeByte(REG_AVE0 + key, value); in setAVE()
235 writeByte(REG_AVE0 + key, value); in setAKSGroup()
244 return writeByte(REG_RESET, 0xff); in reset()
251 return writeByte(REG_CALIBRATE, 0xff); in calibrate()
/hardware/bsp/intel/peripheral/libupm/src/nrf24l01/
Dnrf24l01.cxx100 m_spi.writeByte(W_TX_PAYLOAD); // Write cmd to write payload in send()
184 m_spi.writeByte(R_RX_PAYLOAD); in getData()
391 m_spi.writeByte(W_TX_PAYLOAD); // Write cmd to write payload in sendBeaconingMsg()
415 datain[i] = m_spi.writeByte(dataout[i]); in writeBytes()
417 m_spi.writeByte(dataout[i]); in writeBytes()
425 m_spi.writeByte(W_REGISTER | (REGISTER_MASK & reg)); in setRegister()
426 m_spi.writeByte(value); in setRegister()
435 m_spi.writeByte(R_REGISTER | (REGISTER_MASK & reg)); in getRegister()
436 data = m_spi.writeByte(data); in getRegister()
445 m_spi.writeByte(R_REGISTER | (REGISTER_MASK & reg)); in readRegister()
[all …]
/hardware/bsp/intel/peripheral/libupm/src/mma7660/
Dmma7660.cxx67 bool MMA7660::writeByte(uint8_t reg, uint8_t byte) in writeByte() function in MMA7660
109 writeByte(REG_MODE, modeReg); in setModeActive()
121 writeByte(REG_MODE, modeReg); in setModeStandby()
246 return writeByte(REG_INTSU, ibits); in setInterruptBits()
251 return writeByte(REG_SR, sr); in setSampleRate()
/hardware/bsp/intel/peripheral/libupm/src/nunchuck/
Dnunchuck.cxx68 bool NUNCHUCK::writeByte(uint8_t reg, uint8_t byte) in writeByte() function in NUNCHUCK
98 if (!writeByte(0xf0, 0x55)) in init()
101 if (!writeByte(0xfb, 0x00)) in init()
Dnunchuck.h88 bool writeByte(uint8_t reg, uint8_t byte);
/hardware/bsp/intel/peripheral/libmraa/examples/java/
DBmp85.java45 i2c.writeByte((byte)0xd0); in main()
70 i2c.writeByte((byte)0xf6); in main()
/hardware/bsp/intel/peripheral/libupm/src/max44000/
Dmax44000.cxx81 m_i2cMaxControlCtx.writeByte(reg); in i2cReadReg_8()
94 m_i2cMaxControlCtx.writeByte(reg); in i2cReadReg_16()
/hardware/bsp/intel/peripheral/libupm/src/m24lr64e/
Dm24lr64e.cxx151 writeByte(sectorAddress,preStatus&(~(1<<sectorBit))); in sectorWriteLockBit()
153 writeByte(sectorAddress,preStatus|(1<<sectorBit)); in sectorWriteLockBit()
188 writeByte(i,0x0); in clearMemory()
192 mraa::Result M24LR64E::writeByte(unsigned int address, uint8_t data) in writeByte() function in M24LR64E
/hardware/bsp/intel/peripheral/libupm/src/lpd8806/
Dlpd8806.cxx55 m_spi.writeByte (0); in LPD8806()
97 m_spi.writeByte (*ptr++); in show()
/hardware/bsp/intel/peripheral/libupm/src/adxl345/
Dadxl345.cxx152 m_i2c.writeByte(ADXL345_DATA_FORMAT); in getScale()
164 m_i2c.writeByte(ADXL345_XOUT_L); in update()
/hardware/bsp/intel/peripheral/libupm/src/tsl2561/
Dtsl2561.cxx205 error = m_i2ControlCtx.writeByte (reg); in i2cWriteReg()
212 error = m_i2ControlCtx.writeByte (value); in i2cWriteReg()
236 error = m_i2ControlCtx.writeByte(reg); in i2cReadReg()
/hardware/bsp/intel/peripheral/libmraa/examples/python/
Dbmp85.py48 x.writeByte(0xf6)
/hardware/bsp/intel/peripheral/libupm/examples/python/
Dm24lr64e.py43 nfcTag.writeByte(addr, byte)
/hardware/bsp/intel/peripheral/libupm/examples/c++/
Dm24lr64e.cxx52 nfcTag->writeByte(addr, byte); in main()
/hardware/bsp/intel/peripheral/libupm/src/lsm303/
Dlsm303.cxx119 ret = m_i2c.writeByte(OUT_X_H_M); in getCoordinates()
160 m_i2c.writeByte(reg); in readThenWrite()
/hardware/bsp/intel/peripheral/libupm/examples/javascript/
Dm24lr64e.js47 nfcTag.writeByte(addr, byte);
/hardware/bsp/intel/peripheral/libmraa/examples/javascript/
Dbmp85.js54 x.writeByte(char('0xf6'))
/hardware/bsp/intel/peripheral/libupm/examples/java/
DM24LR64ESample.java54 nfcTag.writeByte(addr, read); in main()
/hardware/bsp/intel/peripheral/libupm/src/bmpx8x/
Dbmpx8x.cxx196 m_i2ControlCtx.writeByte(reg); in i2cReadReg_16()
213 m_i2ControlCtx.writeByte(reg); in i2cReadReg_8()
/hardware/bsp/intel/peripheral/libupm/src/mlx90614/
Dmlx90614.cxx77 m_i2Ctx.writeByte(reg); in i2cReadReg_N()

12