Home
last modified time | relevance | path

Searched refs:aio (Results 1 – 15 of 15) sorted by relevance

/hardware/bsp/intel/peripheral/libmraa/src/aio/
Daio.c71 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/
Dintel_galileo_rev_d.c339 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 …]
Dintel_galileo_rev_g.c645 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 …]
Dintel_edison_fab_c.c326 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/
DAndroid.mk28 src/aio/aio.c \
/hardware/bsp/intel/peripheral/libmraa/include/
Dmraa_internal_types.h162 mraa_boolean_t aio:1; /**< Is the pin analog input capable */ member
215 mraa_pin_t aio; /**< Anaglog Pin */ member
Dmraa_adv_func.h76 mraa_result_t (*aio_init_pre) (unsigned int aio);
/hardware/bsp/intel/peripheral/libmraa/src/javascript/
Dpackage.json.cmake3 …"description": "IO library that helps you use I2c, SPI, gpio, uart, pwm, analog inputs (aio) and m…
/hardware/bsp/intel/peripheral/libmraa/docs/
Dindex.md26 | @ref aio.h "aio" | @ref mraa::Aio "Aio class" |
Dindex.java.md26 | @ref aio.h "aio" | @ref mraa::Aio "Aio class" |
Dinternals.md23 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/
Dpackage.json.in4 …alileo", "minnow", "io", "mraajs", "upmjs", "gpio", "spi", "i2c", "uart", "aio", "sensor", "actuat…
/hardware/bsp/intel/peripheral/libmraa/src/
DCMakeLists.txt17 ${PROJECT_SOURCE_DIR}/src/aio/aio.c
139 set (DOCCLASSES aio gpio i2c pwm spi uart)
Dmraa.c389 if (current_plat->pins[pin].capabilites.aio == 1) in mraa_pin_mode_test()
/hardware/bsp/intel/peripheral/libmraa/src/python/docs/
Dexample.rst70 .. literalinclude:: ../../../examples/python/aio.py