Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
can.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef void(* can_rx_callback_t) (uint32_t id, uint8_t *buf, uint8_t len)
 

Functions

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

Typedef Documentation

◆ can_rx_callback_t

typedef void(* can_rx_callback_t) (uint32_t id, uint8_t *buf, uint8_t len)

Definition at line 26 of file can.h.

Function Documentation

◆ ppz_can_init()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ppz_can_transmit()

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: