OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:Uart
(Results
1 - 12
of
12
) sorted by null
/hardware/bsp/intel/peripheral/libmraa/examples/java/
UartExample.java
29
import mraa.
Uart
;
36
Uart
uart
= new
Uart
(0);
local
38
if (
uart
.setBaudRate(115200) != Result.SUCCESS) {
43
if (
uart
.setMode(8, UartParity.UART_PARITY_NONE, 1) != Result.SUCCESS) {
48
if (
uart
.setFlowcontrol(false, false) != Result.SUCCESS) {
53
uart
.writeStr("Hello monkeys");
/hardware/bsp/intel/peripheral/libmraa/examples/c++/
Uart-example.cpp
35
// If you have a valid platform configuration use numbers to represent
uart
38
mraa::
Uart
* dev;
40
dev = new mraa::
Uart
(0);
46
dev = new mraa::
Uart
("/dev/ttyACM0");
48
std::cout << "Error while setting up raw
UART
, do you have a
uart
?" << std::endl;
53
std::cout << "Error setting parity on
UART
" << std::endl;
57
std::cout << "Error setting parity on
UART
" << std::endl;
61
std::cout << "Error setting flow control
UART
" << std::endl;
/hardware/bsp/intel/peripheral/libmraa/src/python/docs/
mraa.rst
40
Uart
42
.. autoclass:: mraa.
Uart
52
:exclude-members: Gpio, Aio,
Uart
, Spi, I2c, Pwm, uint8Array, uint8Array_frompointer
example.rst
74
Uart
77
Uart
is the Universal asynchronous receiver/transmitter interface in mraa.
78
It allows the exposure of
UART
pins on supported boards, with basic
/hardware/bsp/intel/peripheral/libmraa/examples/python/
uart_receiver.py
27
# Initialize
UART
28
u=mraa.
Uart
(0)
30
# Set
UART
parameters
uart_sender.py
28
sys.stdout.write("Initializing
UART
...")
29
u=mraa.
Uart
(0)
32
print("Setting
UART
parameters: baudrate 115200, 8N1, no flow control")
42
#
UART
driver normally takes care of that, but it may be useful with specific
/hardware/bsp/intel/peripheral/libmraa/api/mraa/
uart.hpp
29
#include "
uart
.h"
39
* @brief API to
UART
(enabling only)
41
* This file defines the
UART
interface for libmraa
43
* @snippet
Uart
-example.cpp Interesting
45
class
Uart
49
*
Uart
Constructor, takes a pin number which will map directly to the
50
* linux
uart
number, this 'enables' the
uart
, nothing more
52
* @param
uart
the index of the
uart
set to us
[
all
...]
/hardware/bsp/intel/peripheral/libmraa/examples/javascript/
uart.js
27
u = new m.
Uart
(0)
29
console.log("Note: connect Rx and Tx of
UART
with a wire before use");
36
console.log("Set
UART
parameters");
/hardware/bsp/intel/peripheral/libupm/src/grovegprs/
grovegprs.h
37
#include <mraa/
uart
.hpp>
45
* @ingroup seeed
uart
wifi
54
* @con
uart
66
* It is connected via a
UART
at 19200 baud.
78
* @param
uart
Default
UART
to use (0 or 1). Default is 0.
80
GroveGPRS(int
uart
=GROVEGPRS_DEFAULT_UART);
148
mraa::
Uart
m_uart;
/hardware/bsp/intel/peripheral/libmraa/src/python/
mraa.i
10
//
uart
write()
66
%newobject
Uart
::read(char* data, int length);
69
//
Uart
::read()
/hardware/bsp/intel/peripheral/libupm/src/sm130/
sm130.h
39
#include <mraa/
uart
.hpp>
50
* @ingroup sparkfun
uart
gpio rfid
60
* @con
uart
gpio
67
* Evaluation shield using a
UART
for communications. It should be
161
* @param
uart
The
UART
port. Default is 0.
164
SM130 (int
uart
=SM130_DEFAULT_UART, int reset=SM130_DEFAULT_RESET_PIN);
440
mraa::
Uart
m_uart;
/hardware/bsp/intel/peripheral/libmraa/src/javascript/
mraajs.i
61
%newobject
Uart
::read(char* data, int length);
65
//
Uart
::read()
82
SWIG_exception_fail(SWIG_ERROR, "
Uart
write failed");
88
SWIG_exception_fail(SWIG_ERROR, "
Uart
buffer failed");
Completed in 312 milliseconds