Larus glider flight sensor system 3.9.2024
Software-In-The-Loop test and validation system
Loading...
Searching...
No Matches
generic_CAN_driver.h File Reference

Portable interface to some CAN-bus driver. More...

#include "stdint.h"

Go to the source code of this file.

Classes

class  CANpacket
 basic CAN packet type More...
 
class  CAN_gateway_packet
 CAN packet tunneled through USART gateway. More...
 

Functions

bool CAN_send (const CANpacket &p, unsigned dummy)
 Global CAN send procedure.
 

Detailed Description

Portable interface to some CAN-bus driver.

Author
Dr. Klaus Schaefer

<Larus Flight Sensor Firmware>

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Definition in file generic_CAN_driver.h.

Function Documentation

◆ CAN_send()

bool CAN_send ( const CANpacket p,
unsigned  dummy 
)

Global CAN send procedure.

Definition at line 29 of file CAN_USB_gateway.cpp.

References CAN_socket_is_open(), CAN_socket_send(), and write_usb_serial().

Referenced by CAN_output().