Paparazzi UAS v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
Loading...
Searching...
No Matches
can_arch.c File Reference
#include "mcu_periph/can_arch.h"
#include "mcu_periph/can.h"
#include "mcu_periph/sys_time_arch.h"
#include "stdio.h"
#include "string.h"
+ Include dependency graph for can_arch.c:

Go to the source code of this file.

Data Structures

struct  can_arch_periph
 

Functions

void can_hw_init (void)
 
int can_transmit_frame (struct pprzcan_frame *txframe, struct pprzaddr_can *addr)
 

Data Structure Documentation

◆ can_arch_periph

struct can_arch_periph

Definition at line 24 of file can_arch.c.

+ Collaboration diagram for can_arch_periph:
Data Fields
struct pprzaddr_can addr
uint32_t can_baudrate
bool can_initialized
CANDriver * cand
uint32_t canport
CANConfig cfg
int if_index
uint16_t memory_offset
bool new_rxframe
struct pprzcan_frame rxframe
void * thread_rx_wa
size_t thread_rx_wa_size

Function Documentation

◆ can_hw_init()

void can_hw_init ( void  )

Definition at line 17 of file can_arch.c.

◆ can_transmit_frame()

int can_transmit_frame ( struct pprzcan_frame txframe,
struct pprzaddr_can addr 
)

Definition at line 21 of file can_arch.c.