Home
last modified time | relevance | path

Searched refs:mraa_gpio_write (Results 1 – 25 of 31) sorted by relevance

12

/hardware/bsp/intel/peripheral/libupm/src/uln200xa/
Duln200xa.cxx164 mraa_gpio_write(m_stepI1, 0); in stepperStep()
165 mraa_gpio_write(m_stepI2, 0); in stepperStep()
166 mraa_gpio_write(m_stepI3, 0); in stepperStep()
167 mraa_gpio_write(m_stepI4, 1); in stepperStep()
170 mraa_gpio_write(m_stepI1, 0); in stepperStep()
171 mraa_gpio_write(m_stepI2, 0); in stepperStep()
172 mraa_gpio_write(m_stepI3, 1); in stepperStep()
173 mraa_gpio_write(m_stepI4, 1); in stepperStep()
176 mraa_gpio_write(m_stepI1, 0); in stepperStep()
177 mraa_gpio_write(m_stepI2, 0); in stepperStep()
[all …]
/hardware/bsp/intel/peripheral/libupm/src/l298/
Dl298.cxx217 mraa_gpio_write(m_stepEnable, ((enable) ? 1 : 0)); in enable()
250 mraa_gpio_write(m_dir1, 1); in setDirection()
252 mraa_gpio_write(m_dir1, 0); in setDirection()
255 mraa_gpio_write(m_dir2, 1); in setDirection()
257 mraa_gpio_write(m_dir2, 0); in setDirection()
292 mraa_gpio_write(m_stepI1, 1); in stepperStep()
293 mraa_gpio_write(m_stepI2, 0); in stepperStep()
294 mraa_gpio_write(m_stepI3, 1); in stepperStep()
295 mraa_gpio_write(m_stepI4, 0); in stepperStep()
298 mraa_gpio_write(m_stepI1, 0); in stepperStep()
[all …]
/hardware/bsp/intel/peripheral/libupm/src/tm1637/
Dtm1637.cxx73 mraa_gpio_write(m_clk, 0); in TM1637()
74 mraa_gpio_write(m_dio, 0); in TM1637()
144 mraa_gpio_write(m_clk, 1); in i2c_start()
145 mraa_gpio_write(m_dio, 1); in i2c_start()
146 mraa_gpio_write(m_dio, 0); in i2c_start()
149 mraa_gpio_write(m_clk, 0); in i2c_stop()
150 mraa_gpio_write(m_dio, 0); in i2c_stop()
151 mraa_gpio_write(m_clk, 1); in i2c_stop()
152 mraa_gpio_write(m_dio, 1); in i2c_stop()
157 mraa_gpio_write(m_clk, 0); in i2c_writeByte()
[all …]
/hardware/bsp/intel/peripheral/libupm/src/sx6119/
Dsx6119.cxx45 mraa_gpio_write(m_gpioPower, 1); in SX6119()
55 mraa_gpio_write(m_gpioSeek, 1); in SX6119()
68 mraa_gpio_write(m_gpioPower, 0); in togglePower()
70 mraa_gpio_write(m_gpioPower, 1); in togglePower()
77 mraa_gpio_write(m_gpioSeek, 0); in seek()
79 mraa_gpio_write(m_gpioSeek, 1); in seek()
/hardware/bsp/intel/peripheral/libupm/src/isd1820/
Disd1820.cxx71 mraa_gpio_write(m_gpioPlay, 1); in play()
75 mraa_gpio_write(m_gpioPlay, 0); in play()
85 mraa_gpio_write(m_gpioRec, 1); in record()
89 mraa_gpio_write(m_gpioRec, 0); in record()
/hardware/bsp/intel/peripheral/libupm/src/hx711/
Dhx711.cxx84 mraa_gpio_write(this->m_sckPinCtx, 1); in read()
86 mraa_gpio_write(this->m_sckPinCtx, 0); in read()
93 mraa_gpio_write(this->m_sckPinCtx, 1); in read()
95 mraa_gpio_write(this->m_sckPinCtx, 0); in read()
113 mraa_gpio_write(this->m_sckPinCtx, 0); in setGain()
/hardware/bsp/intel/peripheral/libupm/src/nrf8001/
Dhal_aci_tl.cxx189 mraa_gpio_write (a_pins_local_ptr->m_req_ctx, HIGH); in m_aci_reqn_disable()
194 mraa_gpio_write (a_pins_local_ptr->m_req_ctx, LOW); in m_aci_reqn_enable()
264 mraa_gpio_write (a_pins_local_ptr->m_rst_ctx, HIGH); in hal_aci_tl_pin_reset()
266 mraa_gpio_write (a_pins_local_ptr->m_rst_ctx, LOW); in hal_aci_tl_pin_reset()
270 mraa_gpio_write (a_pins_local_ptr->m_rst_ctx, HIGH); in hal_aci_tl_pin_reset()
271 mraa_gpio_write (a_pins_local_ptr->m_rst_ctx, LOW); in hal_aci_tl_pin_reset()
272 mraa_gpio_write (a_pins_local_ptr->m_rst_ctx, HIGH); in hal_aci_tl_pin_reset()
394 mraa_gpio_write (a_pins->m_req_ctx, LOW); in hal_aci_tl_init()
/hardware/bsp/intel/peripheral/libmraa/examples/
Dmmap-io2.c41 mraa_gpio_write(gpio, 1); in main()
43 mraa_gpio_write(gpio, 0); in main()
Dblink-io.c79 r = mraa_gpio_write(gpio, 0); in main()
88 r = mraa_gpio_write(gpio, 1); in main()
Dhelloedison.c62 mraa_gpio_write(gpio182, !val); in main()
Dblink_onboard.c78 mraa_gpio_write(gpio, !ledstate); in main()
/hardware/bsp/intel/peripheral/libupm/src/hcsr04/
Dhcsr04.cxx56 mraa_gpio_write (m_triggerPinCtx, 0); in HCSR04()
85 mraa_gpio_write (m_triggerPinCtx, 1); in timing()
87 mraa_gpio_write (m_triggerPinCtx, 0); in timing()
/hardware/bsp/intel/peripheral/libupm/src/mq303a/
Dmq303a.cxx66 mraa_gpio_write(m_gpio, 0); // 0 turns on the heater in heaterEnable()
68 mraa_gpio_write(m_gpio, 1); // 1 turns off the heater in heaterEnable()
/hardware/bsp/intel/peripheral/libupm/src/groveeldriver/
Dgroveeldriver.cxx51 error = mraa_gpio_write (m_gpio, HIGH); in on()
59 error = mraa_gpio_write (m_gpio, LOW); in off()
/hardware/bsp/intel/peripheral/libupm/src/groveelectromagnet/
Dgroveelectromagnet.cxx51 error = mraa_gpio_write (m_gpio, HIGH); in on()
59 error = mraa_gpio_write (m_gpio, LOW); in off()
/hardware/bsp/intel/peripheral/examples/mraa/gpio_output/
Dledflasher_mraa.cpp45 mraa_gpio_write(m_gpio[i], 1); in main()
49 mraa_gpio_write(m_gpio[i], 0); in main()
DOutputGPIO.cpp116 mraa_gpio_write(m_gpio, 1); in main()
123 mraa_gpio_write(m_gpio, 0); in main()
/hardware/bsp/intel/peripheral/libupm/src/grove/
Dgrove.cxx57 return mraa_gpio_write(m_gpio, 1); in write()
59 return mraa_gpio_write(m_gpio, 0); in write()
92 return mraa_gpio_write(m_gpio, 1); in on()
97 return mraa_gpio_write(m_gpio, 0); in off()
/hardware/bsp/intel/peripheral/libupm/src/max31855/
Dmax31855.cxx76 mraa_gpio_write(m_gpio, 0); in getTemp()
107 mraa_gpio_write(m_gpio, 1); in getTemp()
/hardware/bsp/intel/peripheral/libmraa/src/x86/
Dintel_edison_fab_c.c148 if (mraa_gpio_write(tristate, 0) != MRAA_SUCCESS) { in mraa_intel_edison_gpio_dir_pre()
168 if (mraa_gpio_write(agpioOutputen[pin], output_val) != MRAA_SUCCESS) { in mraa_intel_edison_gpio_dir_pre()
180 return mraa_gpio_write(tristate, 1); in mraa_intel_edison_gpio_dir_post()
225 mraa_gpio_write(tristate, 0); in mraa_intel_edison_i2c_init_pre()
237 mraa_gpio_write(io18_enable, 0); in mraa_intel_edison_i2c_init_pre()
238 mraa_gpio_write(io19_enable, 0); in mraa_intel_edison_i2c_init_pre()
252 mraa_gpio_write(tristate, 1); in mraa_intel_edison_i2c_init_pre()
280 MRAA_RETURN_FOR_ERROR(mraa_gpio_write(tristate, 0)); in mraa_intel_edison_misc_spi()
287 ret = mraa_gpio_write(io, gpio_val_list[i]); in mraa_intel_edison_misc_spi()
302 MRAA_RETURN_FOR_ERROR(mraa_gpio_write(tristate, 1)); in mraa_intel_edison_misc_spi()
[all …]
/hardware/bsp/intel/peripheral/libupm/src/lol/
Dlol.cxx87 mraa_gpio_write(m_Ctx[gpio], 1); in set_strong_one()
94 mraa_gpio_write(m_Ctx[gpio], 0); in set_strong_zero()
/hardware/bsp/intel/peripheral/libupm/src/adis16448/
Dadis16448.cxx104 mraa_gpio_write(_rst, 0); in resetDUT()
106 mraa_gpio_write(_rst, 1); in resetDUT()
/hardware/bsp/intel/peripheral/libupm/src/grovespeaker/
Dgrovespeaker.cxx142 error = mraa_gpio_write (m_gpio, HIGH); in sound()
144 error = mraa_gpio_write (m_gpio, LOW); in sound()
/hardware/bsp/intel/peripheral/libmraa/api/mraa/
Dgpio.h182 mraa_result_t mraa_gpio_write(mraa_gpio_context dev, int value);
Dgpio.hpp257 return (Result) mraa_gpio_write(m_gpio, value); in write()

12