надо создать тип сообщения

Dependencies:   libuavcan mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers chip.h Source File

chip.h

00001 #include "stm32f103c8t6.h"
00002 #define UAVCAN_STM32_BAREMETAL  1
00003 #define UAVCAN_STM32_NUM_IFACES 1
00004 #define STM32_PCLK1             HAL_RCC_GetPCLK1Freq()
00005 #define STM32_TIMCLK1           (48000000ul) //48MHz. Is UAVCAN_STM32_TIMER_NUMBER 1?
00006 #define CAN1_TX_IRQHandler      CAN1_TX_IRQHandler
00007 #define CAN1_RX0_IRQHandler     CAN1_RX0_IRQHandler
00008 #define CAN1_RX1_IRQHandler     CAN1_RX1_IRQHandler
00009 
00010 
00011 //#define UAVCAN_DEBUG 1 //for monitoring of bus. Note that this feature requires C++ I/O streams and UAVCAN_TOSTRING.