Paparazzi UAS v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
Loading...
Searching...
No Matches
tunnel_uavcan.h File Reference
#include "pprzlink/pprzlink_device.h"
#include "uavcan.tunnel.Broadcast.h"
#include "utils/ring_buffer.h"
#include "core/threads.h"
#include "uavcan/uavcan.h"
+ Include dependency graph for tunnel_uavcan.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  tunnel_uavcan_periph
 

Macros

#define TX_BUFFER_SIZE   512
 
#define RX_BUFFER_SIZE   512
 

Functions

void tunnel_uavcan_init (void)
 

Variables

struct tunnel_uavcan_periph tunnel_uavcan0
 

Data Structure Documentation

◆ tunnel_uavcan_periph

struct tunnel_uavcan_periph

Definition at line 18 of file tunnel_uavcan.h.

+ Collaboration diagram for tunnel_uavcan_periph:
Data Fields
uint8_t _rbuf[RX_BUFFER_SIZE]
uint8_t _tbuf[TX_BUFFER_SIZE]
uint8_t channel_id
struct link_device device Generic device interface.
struct uavcan_iface_t * iface
pprz_mutex_t rx_mtx
ring_buffer_t rx_rb
uavcan_event tunnel_brd_ev
pprz_mutex_t tx_mtx
ring_buffer_t tx_rb

Macro Definition Documentation

◆ RX_BUFFER_SIZE

#define RX_BUFFER_SIZE   512

Definition at line 16 of file tunnel_uavcan.h.

◆ TX_BUFFER_SIZE

#define TX_BUFFER_SIZE   512

Definition at line 15 of file tunnel_uavcan.h.

Function Documentation

◆ tunnel_uavcan_init()

void tunnel_uavcan_init ( void  )

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:

Variable Documentation

◆ tunnel_uavcan0

struct tunnel_uavcan_periph tunnel_uavcan0
extern

Definition at line 27 of file tunnel_uavcan.c.

Referenced by tunnel_uavcan_cb(), and tunnel_uavcan_init().