Paparazzi UAS  v5.8.2_stable-0-g6260b7c
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
can.c File Reference
#include <stdint.h>
#include "mcu_periph/can.h"
#include "mcu_periph/can_arch.h"
+ Include dependency graph for can.c:

Go to the source code of this file.

Functions

void _can_run_rx_callback (uint32_t id, uint8_t *buf, uint8_t len)
 
void ppz_can_init (can_rx_callback_t callback)
 
int ppz_can_transmit (uint32_t id, const uint8_t *buf, uint8_t len)
 

Variables

can_rx_callback_t can_rx_callback
 

Function Documentation

void _can_run_rx_callback ( uint32_t  id,
uint8_t buf,
uint8_t  len 
)

Definition at line 43 of file can.c.

References can_rx_callback.

Referenced by usb_lp_can_rx0_isr().

+ Here is the caller graph for this function:

void ppz_can_init ( can_rx_callback_t  callback)

Definition at line 32 of file can.c.

References can_hw_init(), and can_rx_callback.

Referenced by actuators_esc32_init(), and link_mcu_init().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int ppz_can_transmit ( uint32_t  id,
const uint8_t buf,
uint8_t  len 
)

Definition at line 38 of file can.c.

References can_hw_transmit().

Referenced by actuators_esc32_send().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

can_rx_callback_t can_rx_callback

Definition at line 28 of file can.c.

Referenced by _can_run_rx_callback(), and ppz_can_init().