Searched refs:m_rx_tx_buf (Results 1 – 4 of 4) sorted by relevance
51 m_rx_tx_buf[0]=PCA9685_MODE1; in adafruitss()52 m_rx_tx_buf[1]=0; in adafruitss()53 if (mraa_i2c_write(m_i2c,m_rx_tx_buf,2) != MRAA_SUCCESS) in adafruitss()83 m_rx_tx_buf[0]=PCA9685_MODE1; in setPWMFreq()84 m_rx_tx_buf[1]=0x10; // sleep in setPWMFreq()86 mraa_i2c_write(m_i2c,m_rx_tx_buf,2); in setPWMFreq()90 m_rx_tx_buf[0]=PCA9685_PRESCALE; in setPWMFreq()91 m_rx_tx_buf[1]=prescale; in setPWMFreq()93 mraa_i2c_write(m_i2c,m_rx_tx_buf,2); in setPWMFreq()98 m_rx_tx_buf[0]=PCA9685_MODE1; in setPWMFreq()[all …]
113 uint8_t m_rx_tx_buf[MAX_BUFFER_LENGTH]; variable
93 m_rx_tx_buf[0] = HMC5883L_CONF_REG_B; in Hmc5883l()94 m_rx_tx_buf[1] = GA_1_3_REG; in Hmc5883l()95 error = m_i2c.write(m_rx_tx_buf, 2); in Hmc5883l()108 m_rx_tx_buf[0] = HMC5883L_MODE_REG; in Hmc5883l()109 m_rx_tx_buf[1] = HMC5883L_CONT_MODE; in Hmc5883l()110 error = m_i2c.write(m_rx_tx_buf, 2); in Hmc5883l()127 m_i2c.read(m_rx_tx_buf, DATA_REG_SIZE); in update()130 m_coor[0] = (m_rx_tx_buf[HMC5883L_X_MSB_REG] << 8 ) | m_rx_tx_buf[HMC5883L_X_LSB_REG]; in update()132 m_coor[2] = (m_rx_tx_buf[HMC5883L_Z_MSB_REG] << 8 ) | m_rx_tx_buf[HMC5883L_Z_LSB_REG]; in update()134 m_coor[1] = (m_rx_tx_buf[HMC5883L_Y_MSB_REG] << 8 ) | m_rx_tx_buf[HMC5883L_Y_LSB_REG]; in update()
107 uint8_t m_rx_tx_buf[MAX_BUFFER_LENGTH]; variable