Searched refs:mraa_spi_context (Results 1 – 11 of 11) sorted by relevance
/hardware/bsp/intel/peripheral/libmraa/api/mraa/ |
D | spi.h | 67 typedef struct _spi* mraa_spi_context; typedef 75 mraa_spi_context mraa_spi_init(int bus); 84 mraa_spi_context mraa_spi_init_raw(unsigned int bus, unsigned int cs); 93 mraa_result_t mraa_spi_mode(mraa_spi_context dev, mraa_spi_mode_t mode); 102 mraa_result_t mraa_spi_frequency(mraa_spi_context dev, int hz); 111 int mraa_spi_write(mraa_spi_context dev, uint8_t data); 120 uint16_t mraa_spi_write_word(mraa_spi_context dev, uint16_t data); 131 uint8_t* mraa_spi_write_buf(mraa_spi_context dev, uint8_t* data, int length); 142 uint16_t* mraa_spi_write_buf_word(mraa_spi_context dev, uint16_t* data, int length); 154 mraa_result_t mraa_spi_transfer_buf(mraa_spi_context dev, uint8_t* data, uint8_t* rxbuf, int length… [all …]
|
D | spi.hpp | 218 mraa_spi_context m_spi;
|
/hardware/bsp/intel/peripheral/libmraa/src/spi/ |
D | spi.c | 40 static mraa_spi_context 43 mraa_spi_context dev = (mraa_spi_context) calloc(1, sizeof(struct _spi)); in mraa_spi_init_internal() 52 mraa_spi_context 113 mraa_spi_context dev = mraa_spi_init_raw(plat->spi_bus[bus].bus_id, plat->spi_bus[bus].slave_s); in mraa_spi_init() 126 mraa_spi_context 129 mraa_spi_context dev = mraa_spi_init_internal(plat == NULL ? NULL : plat->adv_func); in mraa_spi_init_raw() 171 mraa_spi_mode(mraa_spi_context dev, mraa_spi_mode_t mode) in mraa_spi_mode() 202 mraa_spi_frequency(mraa_spi_context dev, int hz) in mraa_spi_frequency() 216 mraa_spi_lsbmode(mraa_spi_context dev, mraa_boolean_t lsb) in mraa_spi_lsbmode() 236 mraa_spi_bit_per_word(mraa_spi_context dev, unsigned int bits) in mraa_spi_bit_per_word() [all …]
|
/hardware/bsp/intel/peripheral/libupm/src/max31855/ |
D | max31855.h | 83 mraa_spi_context m_sensor;
|
/hardware/bsp/intel/peripheral/libmraa/examples/ |
D | spi_mcp4261.c | 34 mraa_spi_context spi; in main()
|
D | spi_max7219.c | 34 mraa_spi_context spi; in main()
|
/hardware/bsp/intel/peripheral/libmraa/include/ |
D | mraa_adv_func.h | 85 mraa_result_t (*spi_init_post) (mraa_spi_context spi); 86 mraa_result_t (*spi_lsbmode_replace) (mraa_spi_context dev, mraa_boolean_t lsb);
|
/hardware/bsp/intel/peripheral/libupm/src/nrf8001/ |
D | hal_aci_tl.h | 74 mraa_spi_context m_spi;
|
/hardware/bsp/intel/peripheral/libupm/src/adis16448/ |
D | adis16448.h | 168 mraa_spi_context _spi;
|
/hardware/bsp/intel/peripheral/libmraa/src/x86/ |
D | intel_galileo_rev_d.c | 121 mraa_intel_galileo_g1_spi_lsbmode_replace(mraa_spi_context dev, mraa_boolean_t lsb) in mraa_intel_galileo_g1_spi_lsbmode_replace()
|
D | intel_edison_fab_c.c | 79 mraa_intel_edison_spi_lsbmode_replace(mraa_spi_context dev, mraa_boolean_t lsb) in mraa_intel_edison_spi_lsbmode_replace() 468 mraa_intel_edison_spi_init_post(mraa_spi_context spi) in mraa_intel_edison_spi_init_post()
|