ADTF_DEVICE_TOOLBOX  3.12.1 (ADTF 3.18.3)
flexray_types.h File Reference

Copyright 2024 CARIAD SE. More...

Go to the source code of this file.

Namespaces

 adtf
 ADTF - Namespace.
 
 adtf::devicetb
 Devicetoolbox - Namespace.
 
 adtf::devicetb::sdk
 Namespace for SDK of ADTF-Devicetoolbox.
 
 adtf::devicetb::sdk::flexray
 Namespace for FlexRay in ADTF-Devicetoolbox.
 
 adtf::devicetb::sdk::flexray::axle
 Namespace for functionality provided by V3.0.0.
 

Macros

#define FLEXRAY_CHANNEL_A   1
 FlexRay channel A (Value 1) More...
 
#define FLEXRAY_CHANNEL_B   2
 FlexRay channel B (Value 2) More...
 
#define FLEXRAY_CHANNEL_AB   (FLEXRAY_CHANNEL_A|FLEXRAY_CHANNEL_B)
 FlexRay channel A & B (Value 3)
 
#define FLEXRAY_CHANNEL_COUNT   2
 
#define FLEXRAY_MAX_CYCLES   64
 Maximum count of cycles (Value 64)
 
#define FLEXRAY_MIN_SLOTID   1
 Minimum slot ID of FlexRay frame (Value 1)
 
#define FLEXRAY_MAX_SLOTID   2047
 Maximum slot ID of FlexRay frame (Value 2047)
 
#define FLEXRAY_MAX_DATA_LENGTH   254
 Maxmimum count of payload in bytes of FlexRay frame (Value 254)
 
#define FLEXRAY_BC_POLICY_INVALID   -1
 
#define FLEXRAY_BC_POLICY_SAWTOOTH   0
 FlexRay cluster bit couting policy.
 
#define FLEXRAY_BC_POLICY_MONOTONE   1
 FlexRay cluster bit couting policy.
 

Typedefs

typedef uint8_t tNetworkID
 FlexRay Network/Cluster ID.
 
typedef uint8_t tChannelABID
 FlexRay Channel A = 0 or B = 1.
 
typedef uint8_t tChannelID
 FlexRay Cluster and Channel ID (FLEXRAY_CHANNEL_A, FLEXRAY_CHANNEL_B, FLEXRAY_CHANNEL_AB). More...
 
typedef uint8_t tCycleID
 FlexRay cycle ID (0..63)
 
typedef uint16_t tSlotID
 FlexRay slot ID (1..2047)
 
typedef uint32_t tSignalID
 FlexRay signal ID.
 
typedef uint32_t tPDUID
 FlexRay PDU (Protocol Data Unit) ID.
 
typedef uint32_t tECUID
 FlexRay ECU (Electronic Communication Unit) ID.
 
using tNetworkID = axle::tNetworkID
 FlexRay Network/Cluster ID. More...
 
using tChannelABID = axle::tChannelABID
 FlexRay Channel A = 0 or B = 1. More...
 
using tChannelID = axle::tChannelID
 FlexRay Cluster and Channel ID (FLEXRAY_CHANNEL_A, FLEXRAY_CHANNEL_B, FLEXRAY_CHANNEL_AB). More...
 
using tCycleID = axle::tCycleID
 FlexRay cycle ID (0..63) More...
 
using tSlotID = axle::tSlotID
 FlexRay slot ID (1..2047) More...
 
using tSignalID = axle::tSignalID
 FlexRay signal ID. More...
 
using tPDUID = axle::tPDUID
 FlexRay PDU (Protocol Data Unit) ID. More...
 
using tECUID = axle::tECUID
 FlexRay ECU (Electronic Communication Unit) ID. More...
 

Detailed Description

Copyright 2024 CARIAD SE.

This Source Code Form is subject to the terms of the Mozilla
Public License, v. 2.0. If a copy of the MPL was not distributed
with this file, You can obtain one at https://mozilla.org/MPL/2.0/.

If it is not possible or desirable to put the notice in a particular file, then You may include the notice in a location (such as a LICENSE file in a relevant directory) where a recipient would be likely to look for such a notice.

You may add additional accurate notices of copyright ownership.

Definition in file flexray_types.h.

Macro Definition Documentation

◆ FLEXRAY_CHANNEL_A

#define FLEXRAY_CHANNEL_A   1

FlexRay channel A (Value 1)

FlexRay channel A.

Definition at line 74 of file flexray_types.h.

◆ FLEXRAY_CHANNEL_B

#define FLEXRAY_CHANNEL_B   2

FlexRay channel B (Value 2)

FlexRay channel B.

Definition at line 75 of file flexray_types.h.