PX4 Firmware
PX4 Autopilot Software http://px4.io
tap_esc_common.h File Reference
#include <stdint.h>
#include "drv_tap_esc.h"
Include dependency graph for tap_esc_common.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 tap_esc_common
 

Functions

void tap_esc_common::select_responder (uint8_t sel)
 Select tap esc responder data for serial interface by 74hct151. More...
 
int tap_esc_common::initialise_uart (const char *const device, int &uart_fd)
 Opens a device for use as UART. More...
 
int tap_esc_common::deinitialise_uart (int &uart_fd)
 Closes a device previously opened with initialise_uart(). More...
 
int tap_esc_common::enable_flow_control (int uart_fd, bool enabled)
 Enables/disables flow control for open UART device. More...
 
int tap_esc_common::send_packet (int uart_fd, EscPacket &packet, int responder)
 Sends a packet to all ESCs and requests a specific ESC to respond. More...
 
int tap_esc_common::read_data_from_uart (int uart_fd, ESC_UART_BUF *const uart_buf)
 Read data from the UART into a buffer. More...
 
int tap_esc_common::parse_tap_esc_feedback (ESC_UART_BUF *const serial_buf, EscPacket *const packetdata)
 Parse feedback from an ESC. More...