dRonin
adbada4
dRonin firmware
|
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 |
|
static |
Definition at line 90 of file pios_serial.c.
int32_t PIOS_SERIAL_Init | ( | uintptr_t * | serial_id, |
const char * | path | ||
) |
Definition at line 182 of file pios_serial.c.
int32_t PIOS_SERIAL_InitFromFd | ( | uintptr_t * | serial_id, |
int | readfd, | ||
int | writefd, | ||
bool | dont_touch_line | ||
) |
Open SERIAL connection
Definition at line 151 of file pios_serial.c.
|
static |
Definition at line 375 of file pios_serial.c.
|
static |
Definition at line 385 of file pios_serial.c.
|
static |
Definition at line 340 of file pios_serial.c.
|
static |
RxTask
Definition at line 111 of file pios_serial.c.
|
static |
we send everything directly whenever notified of data to send
Definition at line 344 of file pios_serial.c.
|
static |
Definition at line 95 of file pios_serial.c.
const struct pios_com_driver pios_serial_com_driver |
Definition at line 80 of file pios_serial.c.