HomeSort by relevance Sort by last modified time
    Searched refs:uart (Results 1 - 25 of 45) sorted by null

1 2

  /hardware/bsp/intel/peripheral/libmraa/examples/
uart.c 33 mraa_uart_context uart; local
34 uart = mraa_uart_init(0);
36 if (uart == NULL) {
37 fprintf(stderr, "UART failed to setup\n");
42 mraa_uart_write(uart, buffer, sizeof(buffer));
44 mraa_uart_stop(uart);
  /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");
  /external/libnfc-nci/halimpl/bcm2079x/adaptation/
HalAdaptation.cpp 127 struct tUART_CONFIG uart; local
132 uart.m_iParity = USERIAL_PARITY_EVEN;
134 uart.m_iParity = USERIAL_PARITY_ODD;
136 uart.m_iParity = USERIAL_PARITY_NONE;
139 uart.m_iParity = USERIAL_PARITY_NONE;
144 uart.m_iStopbits = USERIAL_STOPBITS_1;
146 uart.m_iStopbits = USERIAL_STOPBITS_2;
148 uart.m_iStopbits = USERIAL_STOPBITS_1_5;
153 uart.m_iStopbits = USERIAL_STOPBITS_1;
155 uart.m_iStopbits = USERIAL_STOPBITS_2
    [all...]
  /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;
grovegprs.cxx 34 GroveGPRS::GroveGPRS(int uart) :
35 m_uart(uart)
  /hardware/bsp/intel/peripheral/libupm/src/hm11/
hm11.h 44 #include <mraa/uart.h>
52 * @ingroup seeed uart wifi
63 * @con uart
75 * It is connected via a UART at 9,600 baud.
87 * @param uart Default UART to use (0 or 1)
89 HM11(int uart);
hm11.cxx 36 HM11::HM11(int uart)
40 if ( !(m_uart = mraa_uart_init(uart)) )
  /hardware/bsp/intel/peripheral/libupm/src/ublox6/
ublox6.h 41 #include <mraa/uart.h>
49 * @ingroup seeed uart gps tsk
59 * @con uart
75 * @param uart Default UART to use (0 or 1)
77 Ublox6(int uart);
ublox6.cxx 34 Ublox6::Ublox6(int uart)
38 if ( !(m_uart = mraa_uart_init(uart)) )
  /hardware/bsp/intel/peripheral/libupm/src/grovescam/
grovescam.h 43 #include <mraa/uart.h>
53 * @ingroup seeed uart other
62 * @con uart
72 * It is connected via a UART at 115,200 baud.
92 * @param uart Default UART to use (0 or 1)
95 GROVESCAM(int uart, uint8_t camAddr=GROVESCAM_DEFAULT_CAMERA_ADDR);
  /hardware/bsp/intel/peripheral/libupm/src/mhz16/
mhz16.h 41 #include <mraa/uart.h>
53 * @ingroup seeed uart gaseous
63 * @con uart
82 * @param uart Default UART to use (0 or 1)
84 MHZ16(int uart);
mhz16.cxx 36 MHZ16::MHZ16(int uart)
40 if ( !(m_uart = mraa_uart_init(uart)) )
  /hardware/bsp/intel/peripheral/libupm/src/hmtrp/
hmtrp.h 41 #include <mraa/uart.h>
49 * @ingroup seeed uart wifi
59 * @con uart
76 * presented on its UART interface. It can be put into a
101 * @param uart Default UART to use (0 or 1)
103 HMTRP(int uart=HMTRP_DEFAULT_UART);
155 * Resets the device to default parameters, except for the UART baud rate
169 * @param uartBaud UART baud rate
220 * Sets the configured baud rate of the UART. It is strongl
    [all...]
  /hardware/intel/bootstub/
bootstub.spec 41 - improved spi uart output performance
45 - add SPI uart suppression flag
47 - change SPI uart slave select to 0x2 according to ESL 2008.06 version
49 - add SPI uart support
bootstub.mk 4 BOOTSTUB_SRC_FILES := bootstub.c sfi.c ssp-uart.c imr_toc.c spi-uart.c
  /hardware/bsp/intel/peripheral/libmraa/api/mraa/
uart.h 31 * @brief UART module
33 * UART is the Universal asynchronous receiver/transmitter interface to
34 * libmraa. It allows the exposure of UART pins on supported boards.
37 * @snippet uart.c Interesting
53 * @param uart the index of the uart set to use
54 * @return uart context or NULL
56 mraa_uart_context mraa_uart_init(int uart);
62 * @return uart context or NULL
70 * @param dev The UART contex
    [all...]
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/include/
mraa_internal_types.h 121 * A structure representing a UART device
125 int index; /**< the uart index, as known to the os. */
126 const char* path; /**< the uart device path. */
163 mraa_boolean_t uart:1; /**< Is the pin uart capable */ member in struct:__anon29781
219 mraa_pin_t uart; /**< uart module/pin */ member in struct:__anon29786
251 * A Structure representing a uart device.
256 int rx; /**< uart rx */
257 int tx; /**< uart tx *
    [all...]
  /hardware/bsp/intel/peripheral/libupm/src/wt5001/
wt5001.h 41 #include <mraa/uart.h>
54 * @ingroup seeed uart sound
64 * @con uart
125 * @param uart Default UART to use (0 or 1)
127 WT5001(int uart);
  /hardware/bsp/intel/peripheral/libmraa/
Android.mk 29 src/uart/uart.c \
  /hardware/bsp/intel/peripheral/libmraa/src/x86/
intel_galileo_rev_d.c 184 b->pins[0].uart.pinmap = 0;
185 b->pins[0].uart.parent_id = 0;
186 b->pins[0].uart.mux_total = 1;
187 b->pins[0].uart.mux[0].pin = 40;
188 b->pins[0].uart.mux[0].value = 0;
196 b->pins[1].uart.pinmap = 0;
197 b->pins[1].uart.parent_id = 0;
198 b->pins[1].uart.mux_total = 1;
199 b->pins[1].uart.mux[0].pin = 41;
200 b->pins[1].uart.mux[0].value = 0
    [all...]
intel_edison_fab_c.c 58 mraa_intel_edision_pindef_t uart; member in struct:__anon29793
627 mraa_intel_edison_uart_init_post(mraa_uart_context uart)
976 b->pins[pos].uart.pinmap = 0;
977 b->pins[pos].uart.parent_id = 0;
978 b->pins[pos].uart.mux_total = 0;
    [all...]
  /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/libupm/src/zfm20/
zfm20.h 44 #include <mraa/uart.h>
64 * @ingroup seeed uart touch
74 * @con uart
81 * It is connected via a UART at 57,600 baud.
155 * @param uart Default UART to use (0 or 1)
157 ZFM20(int uart);
  /hardware/bsp/intel/peripheral/libmraa/src/uart/
uart.c 33 #include "uart.h"
105 syslog(LOG_ERR, "uart: unsupported baud rate, defaulting to 9600.");
115 syslog(LOG_CRIT, "uart: Failed to allocate memory for context");
129 syslog(LOG_ERR, "uart: platform not initialised");
134 syslog(LOG_NOTICE, "uart: Using sub platform is not supported");
140 syslog(LOG_ERR, "uart: failure in pre-init platform hook");
146 syslog(LOG_ERR, "uart: platform has no UARTs defined");
151 syslog(LOG_ERR, "uart: platform has only %i", plat->uart_dev_count);
158 if (plat->pins[pos].uart.mux_total > 0) {
159 if (mraa_setup_mux_mapped(plat->pins[pos].uart) != MRAA_SUCCESS)
    [all...]

Completed in 430 milliseconds

1 2