APM:Libraries
Classes | Namespaces | Macros | Functions | Variables
CAN.h File Reference
#include "AP_HAL_VRBRAIN.h"
#include <systemlib/perf_counter.h>
#include <AP_HAL/CAN.h>
#include <pthread.h>
#include <semaphore.h>
#include "bxcan.h"
#include "AP_HAL/utility/RingBuffer.h"
Include dependency graph for CAN.h:

Go to the source code of this file.

Classes

struct  VRBRAIN::CanRxItem
 
struct  VRBRAIN::CriticalSectionLocker
 
class  VRBRAIN::BusEvent
 
class  VRBRAIN::VRBRAINCAN
 
struct  VRBRAIN::VRBRAINCAN::Timings
 
struct  VRBRAIN::VRBRAINCAN::TxItem
 
class  VRBRAIN::VRBRAINCANManager
 

Namespaces

 VRBRAIN
 
 VRBRAIN::clock
 

Macros

#define CAN_STM32_NUM_IFACES   1
 
#define CAN_STM32_RX_QUEUE_SIZE   64
 

Functions

uint64_t VRBRAIN::clock::getUtcUSecFromCanInterrupt ()
 
uavcan::MonotonicTime VRBRAIN::clock::getMonotonic ()
 

Variables

static const int16_t VRBRAIN::ErrUnknown = 1000
 Reserved for future use. More...
 
static const int16_t VRBRAIN::ErrNotImplemented = 1001
 Feature not implemented. More...
 
static const int16_t VRBRAIN::ErrInvalidBitRate = 1002
 Bit rate not supported. More...
 
static const int16_t VRBRAIN::ErrLogic = 1003
 Internal logic error. More...
 
static const int16_t VRBRAIN::ErrUnsupportedFrame = 1004
 Frame not supported (e.g. RTR, CAN FD, etc) More...
 
static const int16_t VRBRAIN::ErrMsrInakNotSet = 1005
 INAK bit of the MSR register is not 1. More...
 
static const int16_t VRBRAIN::ErrMsrInakNotCleared = 1006
 INAK bit of the MSR register is not 0. More...
 
static const int16_t VRBRAIN::ErrBitRateNotDetected = 1007
 Auto bit rate detection could not be finished. More...
 
static const int16_t VRBRAIN::ErrFilterNumConfigs = 1008
 Auto bit rate detection could not be finished. More...
 

Macro Definition Documentation

◆ CAN_STM32_NUM_IFACES

#define CAN_STM32_NUM_IFACES   1

Definition at line 22 of file CAN.h.

Referenced by VRBRAIN::VRBRAINCAN::VRBRAINCAN().

◆ CAN_STM32_RX_QUEUE_SIZE

#define CAN_STM32_RX_QUEUE_SIZE   64

Definition at line 25 of file CAN.h.