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

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

#include "data_structures.h"

Go to the source code of this file.

Macros

#define SYSWIDECONFIG_ITEM_ID_VOLUME   0
 
#define SYSWIDECONFIG_ITEM_ID_MC   1
 
#define SYSWIDECONFIG_ITEM_ID_BALLAST   2
 
#define SYSWIDECONFIG_ITEM_ID_BUGS   3
 
#define SYSWIDECONFIG_ITEM_ID_QNH   4
 
#define SYSWIDECONFIG_ITEM_ID_PILOT_KG   5
 
#define SYSWIDECONFIG_ITEM_ID_VARIO_MODE   6
 

Functions

void CAN_output (const output_data_t &x, bool horizon_activated)
 

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 CAN_output.h.

Macro Definition Documentation

◆ SYSWIDECONFIG_ITEM_ID_BALLAST

#define SYSWIDECONFIG_ITEM_ID_BALLAST   2

Definition at line 33 of file CAN_output.h.

◆ SYSWIDECONFIG_ITEM_ID_BUGS

#define SYSWIDECONFIG_ITEM_ID_BUGS   3

Definition at line 34 of file CAN_output.h.

◆ SYSWIDECONFIG_ITEM_ID_MC

#define SYSWIDECONFIG_ITEM_ID_MC   1

Definition at line 32 of file CAN_output.h.

◆ SYSWIDECONFIG_ITEM_ID_PILOT_KG

#define SYSWIDECONFIG_ITEM_ID_PILOT_KG   5

Definition at line 36 of file CAN_output.h.

◆ SYSWIDECONFIG_ITEM_ID_QNH

#define SYSWIDECONFIG_ITEM_ID_QNH   4

Definition at line 35 of file CAN_output.h.

◆ SYSWIDECONFIG_ITEM_ID_VARIO_MODE

#define SYSWIDECONFIG_ITEM_ID_VARIO_MODE   6

Definition at line 37 of file CAN_output.h.

◆ SYSWIDECONFIG_ITEM_ID_VOLUME

#define SYSWIDECONFIG_ITEM_ID_VOLUME   0

Definition at line 31 of file CAN_output.h.

Function Documentation

◆ CAN_output()

void CAN_output ( const output_data_t x,
bool  horizon_activated 
)