|
Paparazzi UAS v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
Include dependency graph for tunnel_uavcan.c:Go to the source code of this file.
Macros | |
| #define | TUNNEL_UAVCAN_PROTOCOL 3 |
| #define | TUNNEL_UAVCAN_CHANNEL_ID 0 |
Functions | |
| static int | tunnel_uavcan_check_free_space (struct tunnel_uavcan_periph *up, long *fd, uint16_t len) |
| static void | tunnel_uavcan_put_byte (struct tunnel_uavcan_periph *up, long fd, uint8_t c) |
| static void | tunnel_uavcan_put_buffer (struct tunnel_uavcan_periph *up, long fd, const uint8_t *data, uint16_t len) |
| static void | tunnel_uavcan_send_message (struct tunnel_uavcan_periph *up, long fd) |
| static int | tunnel_uavcan_char_available (struct tunnel_uavcan_periph *up) |
| static uint8_t | tunnel_uavcan_get_byte (struct tunnel_uavcan_periph *up) |
| void | tunnel_uavcan_set_baudrate (struct tunnel_uavcan_periph *up, uint32_t baudrate) |
| static void | tunnel_uavcan_cb (struct uavcan_iface_t *iface, CanardRxTransfer *transfer) |
| void | tunnel_uavcan_init_periph (struct tunnel_uavcan_periph *ucdl, uint8_t channel_id) |
| void | tunnel_uavcan_init (void) |
Variables | |
| struct tunnel_uavcan_periph | tunnel_uavcan0 |
| #define TUNNEL_UAVCAN_CHANNEL_ID 0 |
Definition at line 24 of file tunnel_uavcan.c.
| #define TUNNEL_UAVCAN_PROTOCOL 3 |
Definition at line 20 of file tunnel_uavcan.c.
|
static |
Definition at line 68 of file tunnel_uavcan.c.
References tunnel_uavcan_periph::channel_id, foo, tunnel_uavcan_periph::iface, pprz_mtx_trylock(), pprz_mtx_unlock(), ring_buffer_write(), tunnel_uavcan_periph::rx_mtx, tunnel_uavcan_periph::rx_rb, transfer(), tunnel_uavcan0, and TUNNEL_UAVCAN_PROTOCOL.
Referenced by tunnel_uavcan_init_periph().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 153 of file tunnel_uavcan.c.
References foo, pprz_mtx_lock(), pprz_mtx_unlock(), ring_buffer_available(), and up.
Referenced by tunnel_uavcan_init_periph().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 92 of file tunnel_uavcan.c.
References fd, foo, pprz_mtx_lock(), pprz_mtx_unlock(), ring_buffer_free_space(), and up.
Referenced by tunnel_uavcan_init_periph().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 162 of file tunnel_uavcan.c.
References pprz_mtx_lock(), pprz_mtx_unlock(), ring_buffer_read(), and up.
Referenced by tunnel_uavcan_init_periph().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 43 of file tunnel_uavcan.c.
References tunnel_uavcan0, TUNNEL_UAVCAN_CHANNEL_ID, and tunnel_uavcan_init_periph().
Here is the call graph for this function:| void tunnel_uavcan_init_periph | ( | struct tunnel_uavcan_periph * | ucdl, |
| uint8_t | channel_id | ||
| ) |
Definition at line 47 of file tunnel_uavcan.c.
References tunnel_uavcan_periph::channel_id, foo, pprz_mtx_init(), ring_buffer_init(), RX_BUFFER_SIZE, tunnel_uavcan_cb(), tunnel_uavcan_char_available(), tunnel_uavcan_check_free_space(), tunnel_uavcan_get_byte(), tunnel_uavcan_put_buffer(), tunnel_uavcan_put_byte(), tunnel_uavcan_send_message(), tunnel_uavcan_set_baudrate(), TX_BUFFER_SIZE, and uavcan_bind().
Referenced by tunnel_uavcan_init().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 113 of file tunnel_uavcan.c.
References fd, pprz_mtx_lock(), ring_buffer_write(), tunnel_uavcan_send_message(), and up.
Referenced by tunnel_uavcan_init_periph(), and tunnel_uavcan_put_byte().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 109 of file tunnel_uavcan.c.
References fd, tunnel_uavcan_put_buffer(), and up.
Referenced by tunnel_uavcan_init_periph().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 127 of file tunnel_uavcan.c.
References fd, foo, msg, pprz_mtx_lock(), pprz_mtx_unlock(), ring_buffer_available(), ring_buffer_read(), TUNNEL_UAVCAN_PROTOCOL, uavcan_broadcast(), and up.
Referenced by tunnel_uavcan_init_periph(), and tunnel_uavcan_put_buffer().
Here is the call graph for this function:
Here is the caller graph for this function:| void tunnel_uavcan_set_baudrate | ( | struct tunnel_uavcan_periph * | up, |
| uint32_t | baudrate | ||
| ) |
Definition at line 172 of file tunnel_uavcan.c.
Referenced by tunnel_uavcan_init_periph().
Here is the caller graph for this function:| struct tunnel_uavcan_periph tunnel_uavcan0 |
Definition at line 27 of file tunnel_uavcan.c.
Referenced by tunnel_uavcan_cb(), and tunnel_uavcan_init().