/hardware/bsp/intel/peripheral/libmraa/api/mraa/ |
D | spi.hpp | 66 m_spi = mraa_spi_init(bus); in Spi() 68 if (m_spi == NULL) { in Spi() 78 mraa_spi_stop(m_spi); in ~Spi() 90 return (Result) mraa_spi_mode(m_spi, (mraa_spi_mode_t) mode); in mode() 102 return (Result) mraa_spi_frequency(m_spi, hz); in frequency() 114 return mraa_spi_write(m_spi, (uint8_t) data); in writeByte() 126 return mraa_spi_write_word(m_spi, (uint16_t) data); in write_word() 141 return mraa_spi_write_buf(m_spi, txBuf, length); in write() 157 return mraa_spi_write_buf_word(m_spi, txBuf, length); in write_word() 174 return (Result) mraa_spi_transfer_buf(m_spi, txBuf, rxBuf, length); in transfer() [all …]
|
/hardware/bsp/intel/peripheral/libupm/src/max31723/ |
D | max31723.cxx | 34 MAX31723::MAX31723 (int csn) : m_csnPinCtx(csn), m_spi(0) { in MAX31723() 47 m_spi.mode (mraa::SPI_MODE2); in MAX31723() 85 sensorData = m_spi.write(data, 2); in readRegister() 99 sensorData = m_spi.write(buffer, 2); in writeRegister()
|
D | max31723.h | 100 mraa::Spi m_spi; variable
|
/hardware/bsp/intel/peripheral/libupm/src/nrf24l01/ |
D | nrf24l01.cxx | 38 : m_csnPinCtx(cs), m_cePinCtx(ce), m_spi(0) in NRF24L01() 100 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() [all …]
|
D | nrf24l01.h | 416 mraa::Spi m_spi; variable
|
/hardware/bsp/intel/peripheral/libupm/src/st7735/ |
D | st7735.cxx | 39 m_rSTPinCtx(rst), m_rSPinCtx(rs), m_spi(0) { in ST7735() 52 m_spi.frequency(15 * 1000000); in initModule() 74 error = m_spi.frequency(15 * 1000000); in initModule() 85 m_spi.writeByte(value); in write() 91 m_spi.writeByte(value); in data() 131 m_spi.write(m_spiBuffer, 4); in setAddrWindow() 140 m_spi.write(m_spiBuffer, 4); in setAddrWindow() 160 m_spi.write(&m_map[fragment * fragmentSize], fragmentSize); in refresh()
|
D | st7735.h | 628 mraa::Spi m_spi;
|
/hardware/bsp/intel/peripheral/libupm/src/lpd8806/ |
D | lpd8806.cxx | 35 LPD8806::LPD8806 (uint16_t pixelCount, uint8_t csn) : m_csnPinCtx(csn), m_spi(0) { in LPD8806() 50 m_spi.mode (mraa::SPI_MODE0); in LPD8806() 55 m_spi.writeByte (0); in LPD8806() 97 m_spi.writeByte (*ptr++); in show()
|
D | lpd8806.h | 103 mraa::Spi m_spi; variable
|
/hardware/bsp/intel/peripheral/libupm/src/max5487/ |
D | max5487.cxx | 34 MAX5487::MAX5487 (int csn) : m_csnPinCtx(csn), m_spi(0) { in MAX5487() 60 uint8_t* retData = m_spi.write(data, 2); in setWiperA() 74 uint8_t* retData = m_spi.write(data, 2); in setWiperB()
|
D | max5487.h | 99 mraa::Spi m_spi; variable
|
/hardware/bsp/intel/peripheral/libupm/src/nrf8001/ |
D | hal_aci_tl.cxx | 340 a_pins->m_spi = mraa_spi_init (0); in hal_aci_tl_init() 341 if (a_pins->m_spi == NULL) { in hal_aci_tl_init() 346 mraa_spi_frequency (a_pins->m_spi, 2000000); in hal_aci_tl_init() 347 mraa_spi_mode (a_pins->m_spi, MRAA_SPI_MODE0); in hal_aci_tl_init() 431 reversed = mraa_spi_write (a_pins_local_ptr->m_spi, REVERSE_BITS (aci_byte)); in spi_readwrite()
|
D | hal_aci_tl.h | 74 mraa_spi_context m_spi; member
|
D | nrf8001.cxx | 61 error = mraa_spi_stop(aci->aci_pins.m_spi); in close_local_interfaces()
|
/hardware/bsp/intel/peripheral/libupm/src/lcd/ |
D | eboled.cxx | 38 m_spi(spi), m_gpioCD(CD), m_gpioRST(reset) in EBOLED() 51 m_spi.frequency(10000000); in EBOLED() 553 m_spi.writeByte(cmd); in command() 559 m_spi.write_word(data); in data()
|
D | eboled.h | 369 mraa::Spi m_spi; variable
|