Home
last modified time | relevance | path

Searched refs:Result (Results 1 – 25 of 95) sorted by relevance

1234

/hardware/bsp/intel/peripheral/libmraa/api/mraa/
Dpwm.hpp85 Result
88 return (Result) mraa_pwm_write(m_pwm, percentage); in write()
109 Result
112 return (Result) mraa_pwm_period(m_pwm, period); in period()
120 Result
123 return (Result) mraa_pwm_period_ms(m_pwm, ms); in period_ms()
131 Result
134 return (Result) mraa_pwm_period_us(m_pwm, us); in period_us()
142 Result
145 return (Result) mraa_pwm_pulsewidth(m_pwm, seconds); in pulsewidth()
[all …]
Dgpio.hpp124 Result
127 return (Result) mraa_gpio_edge_mode(m_gpio, (mraa_gpio_edge_t) mode); in edge()
130 Result
133 …return (Result) mraa_gpio_isr(m_gpio, (mraa_gpio_edge_t) mode, (void (*) (void*)) pyfunc, (void*) … in isr()
165 Result
173 return (Result) mraa_gpio_isr(m_gpio, (mraa_gpio_edge_t) mode, &uvwork, this); in isr()
176 Result
179 … return (Result) mraa_gpio_isr(m_gpio, (mraa_gpio_edge_t) mode, mraa_java_isr_callback, runnable); in isr()
191 Result
194 return (Result) mraa_gpio_isr(m_gpio, (mraa_gpio_edge_t) mode, fptr, args); in isr()
[all …]
Dspi.hpp87 Result
90 return (Result) mraa_spi_mode(m_spi, (mraa_spi_mode_t) mode); in mode()
99 Result
102 return (Result) mraa_spi_frequency(m_spi, hz); in frequency()
171 Result
174 return (Result) mraa_spi_transfer_buf(m_spi, txBuf, rxBuf, length); in transfer()
186 Result
189 return (Result) mraa_spi_transfer_buf_word(m_spi, txBuf, rxBuf, length); in transfer_word()
199 Result
202 return (Result) mraa_spi_lsbmode(m_spi, (mraa_boolean_t) lsb); in lsbmode()
[all …]
Di2c.hpp84 Result
87 return (Result) mraa_i2c_frequency(m_i2c, (mraa_i2c_mode_t) mode); in frequency()
97 Result
100 return (Result) mraa_i2c_address(m_i2c, address); in address()
172 Result
175 return (Result) mraa_i2c_write_byte(m_i2c, data); in writeByte()
186 Result
189 return (Result) mraa_i2c_write(m_i2c, data, length); in write()
199 Result
202 return (Result) mraa_i2c_write_byte_data(m_i2c, data, reg); in writeReg()
[all …]
Duart.hpp175 Result
178 return (Result) mraa_uart_flush(m_uart); in flush()
189 Result
192 return (Result) mraa_uart_set_baudrate(m_uart, baud); in setBaudRate()
205 Result
208 return (Result) mraa_uart_set_mode(m_uart, bytesize, (mraa_uart_parity_t) parity, stopbits); in setMode()
218 Result
221 return (Result) mraa_uart_set_flowcontrol(m_uart, xonxoff, rtscts); in setFlowcontrol()
233 Result
236 return (Result) mraa_uart_set_timeout(m_uart, read, write, interchar); in setTimeout()
Dcommon.hpp55 inline Result
58 return (Result) mraa_init(); in init()
105 printError(Result result) in printError()
226 inline Result
229 return (Result) mraa_set_log_level(level); in setLogLevel()
/hardware/bsp/intel/peripheral/libupm/src/lcd/
Dlcm1602.h108 mraa::Result write(std::string msg);
116 mraa::Result setCursor(int row, int column);
122 mraa::Result clear();
128 mraa::Result home();
137 mraa::Result createChar(uint8_t charSlot, uint8_t charData[]);
144 mraa::Result displayOn();
151 mraa::Result displayOff();
158 mraa::Result cursorOn();
165 mraa::Result cursorOff();
172 mraa::Result cursorBlinkOn();
[all …]
Dlcm1602.cxx50 mraa::Result error = mraa::SUCCESS; in Lcm1602()
111 mraa::Result error = mraa::SUCCESS; in Lcm1602()
190 mraa::Result
193 mraa::Result error = mraa::SUCCESS; in write()
200 mraa::Result
203 mraa::Result error = mraa::SUCCESS; in setCursor()
256 mraa::Result
259 mraa::Result ret; in clear()
265 mraa::Result
268 mraa::Result ret; in home()
[all …]
Dssd1327.h78 mraa::Result draw(uint8_t* data, int bytes);
93 mraa::Result write(std::string msg);
101 mraa::Result setCursor(int row, int column);
107 mraa::Result clear();
113 mraa::Result home();
116 mraa::Result writeChar(uint8_t value);
117 mraa::Result setNormalDisplay();
118 mraa::Result setHorizontalMode();
119 mraa::Result setVerticalMode();
Dssd1308.cxx39 mraa::Result error = m_i2c_lcd_control.address(m_lcd_control_address); in SSD1308()
60 mraa::Result
63 mraa::Result error = mraa::SUCCESS; in draw()
78 mraa::Result
81 mraa::Result error = mraa::SUCCESS; in write()
92 mraa::Result
95 mraa::Result error = mraa::SUCCESS; in setCursor()
108 mraa::Result
111 mraa::Result error = mraa::SUCCESS; in clear()
129 mraa::Result
[all …]
Dssd1308.h78 mraa::Result draw(uint8_t* data, int bytes);
86 mraa::Result write(std::string msg);
94 mraa::Result setCursor(int row, int column);
100 mraa::Result clear();
106 mraa::Result home();
109 mraa::Result writeChar(uint8_t value);
110 mraa::Result setNormalDisplay();
111 mraa::Result setAddressingMode(displayAddressingMode mode);
Dssd1306.h130 mraa::Result draw(uint8_t* data, int bytes);
138 mraa::Result write(std::string msg);
146 mraa::Result setCursor(int row, int column);
152 mraa::Result clear();
158 mraa::Result home();
165 mraa::Result invert(bool i);
221 mraa::Result writeChar(uint8_t value);
222 mraa::Result setNormalDisplay();
223 mraa::Result setAddressingMode(displayAddressingMode mode);
Dlcd.h42 mraa::Result write(int x, int y, std::string msg);
44 virtual mraa::Result write(std::string msg) = 0;
45 virtual mraa::Result setCursor(int row, int column) = 0;
46 virtual mraa::Result clear() = 0;
47 virtual mraa::Result home() = 0;
Dssd1306.cxx47 mraa::Result error = m_i2c_lcd_control.address(m_lcd_control_address); in SSD1306()
116 mraa::Result
119 mraa::Result error = mraa::SUCCESS; in draw()
134 mraa::Result
137 mraa::Result error = mraa::SUCCESS; in write()
147 mraa::Result
150 mraa::Result error = mraa::SUCCESS; in setCursor()
163 mraa::Result
166 mraa::Result error = mraa::SUCCESS; in clear()
184 mraa::Result
[all …]
Dssd1327.cxx39 mraa::Result error = mraa::SUCCESS; in SSD1327()
149 mraa::Result
152 mraa::Result error = mraa::SUCCESS; in draw()
178 mraa::Result
181 mraa::Result error = mraa::SUCCESS; in write()
191 mraa::Result
194 mraa::Result error = mraa::SUCCESS; in setCursor()
215 mraa::Result
218 mraa::Result error = mraa::SUCCESS; in clear()
231 mraa::Result
[all …]
Djhd1313m1.h76 mraa::Result scroll(bool direction);
85 mraa::Result setColor(uint8_t r, uint8_t g, uint8_t b);
88 virtual mraa::Result command(uint8_t cmd);
89 virtual mraa::Result data(uint8_t data);
Deboled.h138 mraa::Result refresh();
147 mraa::Result write(std::string msg);
157 mraa::Result setCursor (int row, int column);
197 mraa::Result clear();
206 mraa::Result home();
360 mraa::Result command(uint8_t cmd);
361 mraa::Result data(uint16_t data);
362 mraa::Result writeChar(uint8_t value);
363 mraa::Result setAddressingMode(displayAddressingMode mode);
/hardware/bsp/intel/peripheral/libupm/src/stepmotor/
Dstepmotor.cxx37 mraa::Result error = mraa::SUCCESS; in StepMotor()
62 mraa::Result
68 mraa::Result
74 mraa::Result
76 mraa::Result error = mraa::SUCCESS; in move()
88 mraa::Result
90 mraa::Result error = mraa::SUCCESS; in dirForward()
100 mraa::Result
102 mraa::Result error = mraa::SUCCESS; in dirBackwards()
Dstepmotor.h99 mraa::Result stepForward (int ticks);
106 mraa::Result stepBackwards (int ticks);
118 mraa::Result move (int ticks);
119 mraa::Result dirForward ();
120 mraa::Result dirBackwards ();
/hardware/bsp/intel/peripheral/libupm/src/grovecircularled/
Dgrovecircularled.cxx41 mraa::Result error = mraa::SUCCESS; in GroveCircularLED()
53 mraa::Result
68 mraa::Result
93 mraa::Result
104 mraa::Result
106 mraa::Result error = mraa::SUCCESS; in lockData()
117 mraa::Result
119 mraa::Result error = mraa::SUCCESS; in send16bitBlock()
Dgrovecircularled.h84 mraa::Result setLevel (uint8_t level, bool direction=true);
91 mraa::Result setSpinner (uint8_t position);
98 mraa::Result setStatus (bool status[24]);
108 mraa::Result lockData ();
109 mraa::Result send16bitBlock (short data);
/hardware/bsp/intel/peripheral/libupm/src/st7735/
Dst7735.cxx47 mraa::Result error = mraa::SUCCESS; in initModule()
190 mraa::Result
192 mraa::Result error = mraa::SUCCESS; in lcdCSOn()
207 mraa::Result
209 mraa::Result error = mraa::SUCCESS; in lcdCSOff()
219 mraa::Result
221 mraa::Result error = mraa::SUCCESS; in sdCSOn()
236 mraa::Result
238 mraa::Result error = mraa::SUCCESS; in sdCSOff()
248 mraa::Result
[all …]
/hardware/bsp/intel/peripheral/libupm/src/my9221/
Dmy9221.cxx37 mraa::Result error = mraa::SUCCESS; in MY9221()
52 mraa::Result
74 mraa::Result
76 mraa::Result error = mraa::SUCCESS; in lockData()
87 mraa::Result
89 mraa::Result error = mraa::SUCCESS; in send16bitBlock()
/hardware/bsp/intel/peripheral/libmraa/examples/java/
DUartExample.java28 import mraa.Result;
38 if (uart.setBaudRate(115200) != Result.SUCCESS) { in main()
43 if (uart.setMode(8, UartParity.UART_PARITY_NONE, 1) != Result.SUCCESS) { in main()
48 if (uart.setFlowcontrol(false, false) != Result.SUCCESS) { in main()
/hardware/bsp/intel/peripheral/libupm/src/tcs3414cs/
Dtcs3414cs.cxx41 mraa::Result ret = m_i2Ctx.address(ADDR); in TCS3414CS()
83 mraa::Result error = mraa::SUCCESS; in clearInterrupt()
111 mraa::Result
113 mraa::Result error = mraa::SUCCESS; in i2cWriteReg_N()
122 mraa::Result
124 mraa::Result error = mraa::SUCCESS; in i2cWriteReg()

1234