Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
can_arch.h File Reference

Handling of CAN hardware for STM32. More...

+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void can_hw_init (void)
 
int can_hw_transmit (uint32_t id, const uint8_t *buf, uint8_t len)
 

Detailed Description

Handling of CAN hardware for STM32.

Definition in file can_arch.h.

Function Documentation

◆ can_hw_init()

void can_hw_init ( void  )

Definition at line 55 of file can_arch.c.

References can_initialized, GPIO8, GPIO9, GPIO_AF9, gpio_set(), GPIOB, NVIC_CAN1_RX_IRQ_PRIO, and NVIC_USB_LP_CAN_RX0_IRQ_PRIO.

Referenced by ppz_can_init().

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

◆ can_hw_transmit()

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

Definition at line 168 of file can_arch.c.

References can_initialized.

Referenced by ppz_can_transmit().

+ Here is the caller graph for this function: