Home
last modified time | relevance | path

Searched refs:mraa_spi_context (Results 1 – 11 of 11) sorted by relevance

/hardware/bsp/intel/peripheral/libmraa/api/mraa/
Dspi.h67 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 …]
Dspi.hpp218 mraa_spi_context m_spi;
/hardware/bsp/intel/peripheral/libmraa/src/spi/
Dspi.c40 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/
Dmax31855.h83 mraa_spi_context m_sensor;
/hardware/bsp/intel/peripheral/libmraa/examples/
Dspi_mcp4261.c34 mraa_spi_context spi; in main()
Dspi_max7219.c34 mraa_spi_context spi; in main()
/hardware/bsp/intel/peripheral/libmraa/include/
Dmraa_adv_func.h85 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/
Dhal_aci_tl.h74 mraa_spi_context m_spi;
/hardware/bsp/intel/peripheral/libupm/src/adis16448/
Dadis16448.h168 mraa_spi_context _spi;
/hardware/bsp/intel/peripheral/libmraa/src/x86/
Dintel_galileo_rev_d.c121 mraa_intel_galileo_g1_spi_lsbmode_replace(mraa_spi_context dev, mraa_boolean_t lsb) in mraa_intel_galileo_g1_spi_lsbmode_replace()
Dintel_edison_fab_c.c79 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()