34#ifndef _FREERTOS_DRIVERS_ST_STM32F0XXCAN_HXX_
35#define _FREERTOS_DRIVERS_ST_STM32F0XXCAN_HXX_
81 int ioctl(
File *file,
unsigned long int key,
unsigned long data)
override;
104extern void arduino_can_pinmap(PinName tx_pin, PinName rx_pin);
Base class for a CAN device for the Arduino environment.
const char * name
device name
Specialization of CAN driver for LPC17xx and LPC40xx CAN.
int ioctl(File *file, unsigned long int key, unsigned long data) override
Request an ioctl transaction.
void enable() override
function to enable device
uint8_t state_
present bus state
void sce_interrupt_handler()
Handle an interrupt.
void rx_interrupt_handler()
Handle an interrupt.
void tx_interrupt_handler()
Handle an interrupt.
Stm32Can()
Default constructor.
static Stm32Can * instances[1]
Instance pointers help us get context from the interrupt handler(s)
void disable() override
function to disable device
void tx_msg() override
function to try and transmit a message
static unsigned int intCount
one interrupt vector is shared between two CAN controllers, so we need to keep track of the number of...
#define DISALLOW_COPY_AND_ASSIGN(TypeName)
Removes default copy-constructor and assignment added by C++.