/hardware/bsp/intel/peripheral/libmraa/examples/ |
D | spi_max7219.c | 34 mraa_spi_context spi; in main() local 35 spi = mraa_spi_init(1); in main() 36 if (spi == NULL) { in main() 43 mraa_spi_frequency(spi, 400000); in main() 44 mraa_spi_lsbmode(spi, 0); in main() 47 if (mraa_spi_bit_per_word(spi, 16) != MRAA_SUCCESS) { in main() 52 mraa_spi_write_word(spi, 0x0900); // Do not decode bits in main() 53 mraa_spi_write_word(spi, 0x0a05); // Brightness of LEDs in main() 54 mraa_spi_write_word(spi, 0x0b07); // Show all Scan Lines in main() 55 mraa_spi_write_word(spi, 0x0c01); // Display on in main() [all …]
|
D | spi_mcp4261.c | 34 mraa_spi_context spi; in main() local 35 spi = mraa_spi_init(0); in main() 44 recv = mraa_spi_write_buf(spi, data, 2); in main() 51 recv = mraa_spi_write_buf(spi, data, 2); in main()
|
/hardware/bsp/intel/peripheral/libmraa/examples/java/ |
D | SpiMAX7219.java | 45 Spi spi = new Spi(1); in main() local 47 spi.frequency(400000); in main() 48 spi.lsbmode(false); in main() 50 if(spi.bitPerWord(16) != Result.SUCCESS) { in main() 55 spi.write_word(0x0900); //Do not decode bits in main() 56 spi.write_word(0x0a05); // Brightness of LEDs in main() 57 spi.write_word(0x0b07); // Show all Scan Lines in main() 58 spi.write_word(0x0c01); // Display on in main() 59 spi.write_word(0x0f00); // Testmode off in main() 66 spi.write(buf.array()); in main() [all …]
|
D | SpiMCP4261.java | 42 Spi spi = new Spi(0); in main() local 49 byte[] recv = spi.write(data); in main() 56 byte[] recv = spi.write(data); in main()
|
/hardware/bsp/intel/peripheral/libmraa/examples/c++/ |
D | Spi-pot.cpp | 48 mraa::Spi* spi; in main() local 50 spi = new mraa::Spi(0); in main() 59 recv = spi->write(data, 2); in main() 69 if (spi->transfer(data, rxBuf, 2) == mraa::SUCCESS) { in main() 76 delete spi; in main()
|
/hardware/intel/bootstub/ |
D | VERSION | 5 0.8 changed default spi clock to 100mhz Aug 12, 2009 7 0.6 optimized spi uart and initrd relocation performance. May 26, 2009 9 0.4 spi suppression flag. July 19, 2008 10 0.3 spi on select 0x2. June 17, 2008 11 0.2 spi support on. June 10, 2008
|
D | bootstub.spec | 35 - changed default spi clock to 100mhz 41 - improved spi uart output performance
|
D | bootstub.mk | 4 BOOTSTUB_SRC_FILES := bootstub.c sfi.c ssp-uart.c imr_toc.c spi-uart.c
|
/hardware/bsp/intel/peripheral/libmraa/src/x86/ |
D | intel_galileo_rev_d.c | 290 b->pins[10].spi.pinmap = 1; in mraa_intel_galileo_rev_d() 291 b->pins[10].spi.mux_total = 1; in mraa_intel_galileo_rev_d() 292 b->pins[10].spi.mux[0].pin = 42; in mraa_intel_galileo_rev_d() 293 b->pins[10].spi.mux[0].value = 0; in mraa_intel_galileo_rev_d() 306 b->pins[11].spi.pinmap = 1; in mraa_intel_galileo_rev_d() 307 b->pins[11].spi.mux_total = 1; in mraa_intel_galileo_rev_d() 308 b->pins[11].spi.mux[0].pin = 43; in mraa_intel_galileo_rev_d() 309 b->pins[11].spi.mux[0].value = 0; in mraa_intel_galileo_rev_d() 317 b->pins[12].spi.pinmap = 1; in mraa_intel_galileo_rev_d() 318 b->pins[12].spi.mux_total = 1; in mraa_intel_galileo_rev_d() [all …]
|
D | intel_edison_fab_c.c | 57 mraa_intel_edision_pindef_t spi; member 468 mraa_intel_edison_spi_init_post(mraa_spi_context spi) in mraa_intel_edison_spi_init_post() argument 869 b->pins[pos].spi.pinmap = 5; in mraa_intel_edison_miniboard() 870 b->pins[pos].spi.mux_total = 0; in mraa_intel_edison_miniboard() 877 b->pins[pos].spi.pinmap = 5; in mraa_intel_edison_miniboard() 878 b->pins[pos].spi.mux_total = 0; in mraa_intel_edison_miniboard() 885 b->pins[pos].spi.pinmap = 5; in mraa_intel_edison_miniboard() 886 b->pins[pos].spi.mux_total = 0; in mraa_intel_edison_miniboard() 956 b->pins[pos].spi.pinmap = 5; in mraa_intel_edison_miniboard() 957 b->pins[pos].spi.mux_total = 0; in mraa_intel_edison_miniboard() [all …]
|
D | intel_galileo_rev_g.c | 566 b->pins[10].spi.parent_id = 1; in mraa_intel_galileo_gen2() 567 b->pins[10].spi.mux_total = 1; in mraa_intel_galileo_gen2() 568 b->pins[10].spi.mux[0].pin = 74; in mraa_intel_galileo_gen2() 569 b->pins[10].spi.mux[0].value = 0; in mraa_intel_galileo_gen2() 592 b->pins[11].spi.pinmap = 1; in mraa_intel_galileo_gen2() 593 b->pins[11].spi.mux_total = 3; in mraa_intel_galileo_gen2() 594 b->pins[11].spi.mux[0].pin = 72; in mraa_intel_galileo_gen2() 595 b->pins[11].spi.mux[0].value = 0; in mraa_intel_galileo_gen2() 596 b->pins[11].spi.mux[1].pin = 44; in mraa_intel_galileo_gen2() 597 b->pins[11].spi.mux[1].value = 1; in mraa_intel_galileo_gen2() [all …]
|
D | intel_minnow_byt_compatible.c | 65 if (caps.spi) { in mraa_set_pininfo() 66 pin_info->spi.mux_total = 0; in mraa_set_pininfo()
|
/hardware/bsp/intel/peripheral/libmraa/src/spi/ |
D | spi.c | 82 if (plat->pins[pos].spi.mux_total > 0) { in mraa_spi_init() 83 if (mraa_setup_mux_mapped(plat->pins[pos].spi) != MRAA_SUCCESS) { in mraa_spi_init() 90 if (plat->pins[pos].spi.mux_total > 0) { in mraa_spi_init() 91 if (mraa_setup_mux_mapped(plat->pins[pos].spi) != MRAA_SUCCESS) { in mraa_spi_init() 98 if (plat->pins[pos].spi.mux_total > 0) { in mraa_spi_init() 99 if (mraa_setup_mux_mapped(plat->pins[pos].spi) != MRAA_SUCCESS) { in mraa_spi_init() 106 if (plat->pins[pos].spi.mux_total > 0) { in mraa_spi_init() 107 if (mraa_setup_mux_mapped(plat->pins[pos].spi) != MRAA_SUCCESS) { in mraa_spi_init()
|
/hardware/bsp/intel/peripheral/libmraa/ |
D | Android.mk | 27 src/spi/spi.c \
|
/hardware/bsp/intel/peripheral/libmraa/src/arm/ |
D | raspberry_pi.c | 390 b->pins[19].spi.pinmap = 0; in mraa_raspberry_pi() 391 b->pins[19].spi.mux_total = 0; in mraa_raspberry_pi() 400 b->pins[21].spi.pinmap = 0; in mraa_raspberry_pi() 401 b->pins[21].spi.mux_total = 0; in mraa_raspberry_pi() 412 b->pins[23].spi.pinmap = 0; in mraa_raspberry_pi() 413 b->pins[23].spi.mux_total = 0; in mraa_raspberry_pi() 419 b->pins[24].spi.pinmap = 0; in mraa_raspberry_pi() 420 b->pins[24].spi.mux_total = 0; in mraa_raspberry_pi() 429 b->pins[26].spi.pinmap = 0; in mraa_raspberry_pi() 430 b->pins[26].spi.mux_total = 0; in mraa_raspberry_pi()
|
/hardware/bsp/intel/peripheral/libmraa/docs/ |
D | beaglebone.md | 32 not work. mraa will activate spi on 3.8.13 if it finds out that spi is not yet 39 which gpio/serial/i2c/spi is connected where but there is currently no support 51 Correctly configuring i2c/spi/serial can get a little challenging as some pins
|
D | index.md | 28 | @ref spi.h "spi" | @ref mraa::Spi "Spi class" |
|
D | index.java.md | 28 | @ref spi.h "spi" | @ref mraa::Spi "Spi class" |
|
D | changelog.md | 67 * 16bit spi iunctions added 74 * improve i2c/spi write/read API for python & nodejs 96 * spi mraa_spi_bit_per_word fix 97 * new spi transfer function
|
/hardware/bsp/intel/peripheral/libmraa/include/ |
D | mraa_internal_types.h | 160 mraa_boolean_t spi:1; /**< Is the pin spi capable */ member 218 mraa_pin_t spi; /**< spi bus/pin */ member
|
D | mraa_adv_func.h | 85 mraa_result_t (*spi_init_post) (mraa_spi_context spi);
|
/hardware/bsp/intel/peripheral/libmraa/src/javascript/ |
D | package.json.cmake | 4 "keywords":["gpio", "edison","galileo","io", "mraajs", "spi", "i2c", "minnow", "intel"],
|
/hardware/bsp/intel/peripheral/libupm/src/ |
D | package.json.in | 4 …"keywords":["intel", "edison", "galileo", "minnow", "io", "mraajs", "upmjs", "gpio", "spi", "i2c",…
|
/hardware/bsp/intel/peripheral/libupm/docs/ |
D | max31855.md | 12 This is a spi module so we will use the mraa spi functions to build our module. 68 @snippet src/max31855/max31855.cxx spi
|
/hardware/bsp/intel/peripheral/libmraa/src/ |
D | CMakeLists.txt | 16 ${PROJECT_SOURCE_DIR}/src/spi/spi.c 139 set (DOCCLASSES aio gpio i2c pwm spi uart)
|