dRonin
adbada4
dRonin firmware
|
SERIAL communications interface. More...
#include "pios.h"
#include <pios_serial_priv.h>
#include "pios_thread.h"
#include <unistd.h>
#include <sys/types.h>
#include <errno.h>
#include <fcntl.h>
Go to the source code of this file.
Data Structures | |
struct | pios_ser_dev |
Functions | |
static void | PIOS_SERIAL_RegisterRxCallback (uintptr_t udp_id, pios_com_callback rx_in_cb, uintptr_t context) |
static void | PIOS_SERIAL_RegisterTxCallback (uintptr_t udp_id, pios_com_callback tx_out_cb, uintptr_t context) |
static void | PIOS_SERIAL_TxStart (uintptr_t udp_id, uint16_t tx_bytes_avail) |
static void | PIOS_SERIAL_RxStart (uintptr_t udp_id, uint16_t rx_bytes_avail) |
static pios_ser_dev * | find_ser_dev_by_id (uintptr_t serial) |
static void | rx_do_cb (pios_ser_dev *ser_dev, uint8_t *incoming_buffer, int len) |
static void | PIOS_SERIAL_RxTask (void *ser_dev_n) |
int32_t | PIOS_SERIAL_InitFromFd (uintptr_t *serial_id, int readfd, int writefd, bool dont_touch_line) |
int32_t | PIOS_SERIAL_Init (uintptr_t *serial_id, const char *path) |
Variables | |
const struct pios_com_driver | pios_serial_com_driver |
SERIAL communications interface.
Definition in file pios_serial.c.