Searched refs:aio (Results 1 – 15 of 15) sorted by relevance
/hardware/bsp/intel/peripheral/libmraa/src/aio/ |
D | aio.c | 71 mraa_aio_init(unsigned int aio) in mraa_aio_init() argument 77 if (mraa_is_sub_platform_id(aio)) { in mraa_aio_init() 85 syslog(LOG_ERR, "aio: Insufficient memory for specified input channel %d", aio); in mraa_aio_init() 88 int pin = aio + plat->gpio_count; in mraa_aio_init() 89 dev->channel = plat->pins[pin].aio.pinmap; in mraa_aio_init() 93 mraa_result_t pre_ret = (dev->advance_func->aio_init_pre(aio)); in mraa_aio_init() 99 if (aio > plat->aio_count) { in mraa_aio_init() 105 if (plat->pins[pin].capabilites.aio != 1) { in mraa_aio_init() 111 if (plat->pins[pin].aio.mux_total > 0) { in mraa_aio_init() 112 if (mraa_setup_mux_mapped(plat->pins[pin].aio) != MRAA_SUCCESS) { in mraa_aio_init()
|
/hardware/bsp/intel/peripheral/libmraa/src/x86/ |
D | intel_galileo_rev_d.c | 339 b->pins[14].aio.pinmap = 0; in mraa_intel_galileo_rev_d() 340 b->pins[14].aio.mux_total = 1; in mraa_intel_galileo_rev_d() 341 b->pins[14].aio.mux[0].pin = 37; in mraa_intel_galileo_rev_d() 342 b->pins[14].aio.mux[0].value = 0; in mraa_intel_galileo_rev_d() 350 b->pins[15].aio.pinmap = 1; in mraa_intel_galileo_rev_d() 351 b->pins[15].aio.mux_total = 1; in mraa_intel_galileo_rev_d() 352 b->pins[15].aio.mux[0].pin = 36; in mraa_intel_galileo_rev_d() 353 b->pins[15].aio.mux[0].value = 0; in mraa_intel_galileo_rev_d() 361 b->pins[16].aio.pinmap = 2; in mraa_intel_galileo_rev_d() 362 b->pins[16].aio.mux_total = 1; in mraa_intel_galileo_rev_d() [all …]
|
D | intel_galileo_rev_g.c | 645 b->pins[14].aio.pinmap = 0; in mraa_intel_galileo_gen2() 646 b->pins[14].aio.mux_total = 1; in mraa_intel_galileo_gen2() 647 b->pins[14].aio.mux[0].pin = 49; in mraa_intel_galileo_gen2() 648 b->pins[14].aio.mux[0].value = 1; in mraa_intel_galileo_gen2() 656 b->pins[15].aio.pinmap = 1; in mraa_intel_galileo_gen2() 657 b->pins[15].aio.mux[0].pin = 51; in mraa_intel_galileo_gen2() 658 b->pins[15].aio.mux[0].value = 1; in mraa_intel_galileo_gen2() 659 b->pins[15].aio.mux_total = 0; in mraa_intel_galileo_gen2() 667 b->pins[16].aio.pinmap = 2; in mraa_intel_galileo_gen2() 668 b->pins[16].aio.mux_total = 1; in mraa_intel_galileo_gen2() [all …]
|
D | intel_edison_fab_c.c | 326 mraa_intel_edison_aio_init_pre(unsigned int aio) in mraa_intel_edison_aio_init_pre() argument 328 if (aio > plat->aio_count) { in mraa_intel_edison_aio_init_pre() 333 int pin = 14 + aio; in mraa_intel_edison_aio_init_pre() 1353 b->pins[14].aio.pinmap = 0; in mraa_intel_edison_fab_c() 1354 b->pins[14].aio.mux_total = 1; in mraa_intel_edison_fab_c() 1355 b->pins[14].aio.mux[0].pin = 200; in mraa_intel_edison_fab_c() 1356 b->pins[14].aio.mux[0].value = 1; in mraa_intel_edison_fab_c() 1364 b->pins[15].aio.pinmap = 1; in mraa_intel_edison_fab_c() 1365 b->pins[15].aio.mux_total = 1; in mraa_intel_edison_fab_c() 1366 b->pins[15].aio.mux[0].pin = 201; in mraa_intel_edison_fab_c() [all …]
|
/hardware/bsp/intel/peripheral/libmraa/ |
D | Android.mk | 28 src/aio/aio.c \
|
/hardware/bsp/intel/peripheral/libmraa/include/ |
D | mraa_internal_types.h | 162 mraa_boolean_t aio:1; /**< Is the pin analog input capable */ member 215 mraa_pin_t aio; /**< Anaglog Pin */ member
|
D | mraa_adv_func.h | 76 mraa_result_t (*aio_init_pre) (unsigned int aio);
|
/hardware/bsp/intel/peripheral/libmraa/src/javascript/ |
D | package.json.cmake | 3 …"description": "IO library that helps you use I2c, SPI, gpio, uart, pwm, analog inputs (aio) and m…
|
/hardware/bsp/intel/peripheral/libmraa/docs/ |
D | index.md | 26 | @ref aio.h "aio" | @ref mraa::Aio "Aio class" |
|
D | index.java.md | 26 | @ref aio.h "aio" | @ref mraa::Aio "Aio class" |
|
D | internals.md | 23 aio and common}. These should be fairly self explanatory in goals/purpose but a 122 ### aio ### subsection in libmraa Internals {#internals} 130 board->gpio_count + 0 so you must place your aio pins after gpio_count. This is
|
/hardware/bsp/intel/peripheral/libupm/src/ |
D | package.json.in | 4 …alileo", "minnow", "io", "mraajs", "upmjs", "gpio", "spi", "i2c", "uart", "aio", "sensor", "actuat…
|
/hardware/bsp/intel/peripheral/libmraa/src/ |
D | CMakeLists.txt | 17 ${PROJECT_SOURCE_DIR}/src/aio/aio.c 139 set (DOCCLASSES aio gpio i2c pwm spi uart)
|
D | mraa.c | 389 if (current_plat->pins[pin].capabilites.aio == 1) in mraa_pin_mode_test()
|
/hardware/bsp/intel/peripheral/libmraa/src/python/docs/ |
D | example.rst | 70 .. literalinclude:: ../../../examples/python/aio.py
|