Searched refs:_spi (Results 1 – 5 of 5) sorted by relevance
/hardware/bsp/intel/peripheral/libupm/src/adis16448/ |
D | adis16448.cxx | 69 if ( !(_spi = mraa_spi_init(bus)) ) in ADIS16448() 86 error = mraa_spi_stop(_spi); in ~ADIS16448() 115 mraa_spi_frequency(_spi, 1000000); //Set SPI frequency to 1MHz in configSPI() 117 if ( mraa_spi_mode(_spi, MRAA_SPI_MODE3) != MRAA_SUCCESS ) in configSPI() 125 if ( mraa_spi_bit_per_word(_spi, 16) != MRAA_SUCCESS ) in configSPI() 146 mraa_spi_write_buf(_spi, buf, 2); //Write the buffer onto the SPI port in regRead() 152 uint8_t* x = mraa_spi_write_buf(_spi, buf, 2); //Write 0x0000 to SPI and read data requested above in regRead() 176 mraa_spi_write_buf(_spi, lbuf, 2); //Write the buffer to the SPI port in regWrite() 185 mraa_spi_write_buf(_spi, hbuf, 2); //Write the buffer to the SPI port in regWrite()
|
D | adis16448.h | 168 mraa_spi_context _spi;
|
/hardware/bsp/intel/peripheral/libmraa/api/mraa/ |
D | spi.h | 67 typedef struct _spi* mraa_spi_context;
|
/hardware/bsp/intel/peripheral/libmraa/include/ |
D | mraa_internal_types.h | 83 struct _spi { struct
|
/hardware/bsp/intel/peripheral/libmraa/src/spi/ |
D | spi.c | 43 mraa_spi_context dev = (mraa_spi_context) calloc(1, sizeof(struct _spi)); in mraa_spi_init_internal()
|