ADTF_DEVICE_TOOLBOX  3.12.1 (ADTF 3.18.3)
canfd_types.h File Reference

Copyright 2024 CARIAD SE. More...

Go to the source code of this file.

Classes

struct  tValueInfo
 
struct  tSignalInfo
 The tSignalInfo structure Stores the signal information within an CANFD-Message. More...
 
struct  tSignalValue
 
struct  tMessageInfo
 
struct  tCANFDData
 The CAN FD data structure is used by CAN FD MediaSamples. More...
 
struct  tCANFDData::tMessageHeader
 CAN FD message header structure. More...
 
struct  tCANFDData::tData
 CAN FD message data structure. More...
 
struct  tCANFDData::tStatus
 CAN FD bus status structure. More...
 
struct  tDataBuffer
 General purpose data buffer information. More...
 
union  uValueType
 General purpose union to keep a different value type. More...
 
struct  tEcuInfo
 Structure which contain ECU information. More...
 
struct  tCompuScale
 This struct represents one of a set of computation rules which map a raw value onto a physical value and/or named states. More...
 
union  tCompuScale::uCompuType
 
struct  tCompuScale::uCompuType::tLinear
 
struct  tCompuScale::uCompuType::tTextConstant
 
struct  tSignalInfo
 Signal info structure which contains all signal information. More...
 
struct  tSignalValue
 Signal value structure which keeps one signal specific value. More...
 
union  tSignalValue::uData
 
struct  tPduSignalInfo
 PDU Signal structure. More...
 
struct  tCanFdTransformation
 Special transformations which must be applied to reconstruct nested payloads. More...
 
struct  tCanFdTransformation::tE2E
 
struct  tCanFdTransformation::tMultiplexed
 
struct  tCanFdTransformation::tFragmented
 
struct  tCanFdTransformation::tContainerWithOffset
 
struct  tCanFdTransformation::tContainerWithHeader
 
union  tCanFdTransformation::uDetails
 
struct  tPduInfo
 Message/PDU structure which contain all information about one specific message. More...
 
struct  tFrameInfo
 Frame structure which encapsulates one or more PDUs including its specific information. More...
 
struct  tContainedPduHeader
 Header struct for tContainedPduInfo, which contains the Container HeaderType and the headerID. More...
 
struct  tContainedPduInfo
 Contains infos about the containedPdu like PduCollectionSemantics and the header. More...
 

Namespaces

 adtf
 ADTF - Namespace.
 
 adtf::devicetb
 Devicetoolbox - Namespace.
 
 adtf::devicetb::sdk
 Namespace for SDK of ADTF-Devicetoolbox.
 
 adtf::devicetb::sdk::canfd
 Namespace for CAN FD in ADTF-Devicetoolbox.
 
 adtf::devicetb::sdk::canfd::axle
 Namespace for functionality provided by V3.0.0.
 
 adtf::devicetb::sdk::canfd::ignition
 Namespace for functionality provided by V3.8.0.
 
 adtf::devicetb::sdk::canfd::jack
 Namespace for functionality provided by V3.9.0.
 

Typedefs

using tChannelID = uint8_t
 
using tSignalID = uint32_t
 
using tMessageID = uint32_t
 
using tNetworkNodeID = uint32_t
 
using tChannelID = uint8_t
 
using tSignalID = uint32_t
 
using tMessageID = uint32_t
 
using tPDUID = uint32_t
 
using tFrameID = uint32_t
 
using tCANFDData = axle::tCANFDData
 The CAN FD data structure is used by CAN FD MediaSamples. More...
 
using tChannelID = ignition::tChannelID
 
using tSignalID = ignition::tSignalID
 
using tMessageID = ignition::tMessageID
 
using tPDUID = ignition::tPDUID
 
using tFrameID = ignition::tFrameID
 
using eSignalType = ignition::eSignalType
 
using tSignalRawDataType = ignition::tSignalRawDataType
 Signal raw data type which is transfered over the wire. More...
 
using tDataBuffer = ignition::tDataBuffer
 General purpose data buffer information. More...
 
using uValueType = ignition::uValueType
 General purpose union to keep a different value type. More...
 
using tEcuInfo = ignition::tEcuInfo
 Structure which contain ECU information. More...
 
using tCompuScale = ignition::tCompuScale
 This struct represents one of a set of computation rules which map a raw value onto a physical value and/or named states. More...
 
using tSignalInfo = ignition::tSignalInfo
 Signal info structure which contains all signal information. More...
 
using tSignalValue = ignition::tSignalValue
 Signal value structure which keeps one signal specific value. More...
 
using tPduSignalInfo = ignition::tPduSignalInfo
 PDU Signal structure. More...
 
using tPduInfo = ignition::tPduInfo
 Message/PDU structure which contain all information about one specific message. More...
 
using tFrameInfo = ignition::tFrameInfo
 Frame structure which encapsulates one or more PDUs including its specific information. More...
 
using tCanFdTransformation = ignition::tCanFdTransformation
 Special transformations which must be applied to reconstruct nested payloads. More...
 
using tContainedPduInfo = jack::tContainedPduInfo
 Contains infos about the containedPdu like PduCollectionSemantics and the header. More...
 
using tContainedPduHeader = jack::tContainedPduHeader
 Header struct for tContainedPduInfo, which contains the Container HeaderType and the headerID. More...
 

Enumerations

enum  eSignalType { CANFD_SIGNAL_TYPE_INVALID = 0 , CANFD_SIGNAL_TYPE_NORMAL = 1 , CANFD_SIGNAL_TYPE_MULTIPLEXOR = 2 , CANFD_SIGNAL_TYPE_MULTIPLEXED = 3 }
 
enum  tSignalRawDataType {
  DT_CANFD_UNKNOWN = 0 , DT_CANFD_UNSIGNED = 1 , DT_CANFD_SIGNED = 2 , DT_CANFD_IEEE_FLOAT = 3 ,
  DT_CANFD_IEEE_DOUBLE = 4
}
 
enum class  eSignalType : uint8_t { CANFD_SIGNAL_TYPE_INVALID = 0 , CANFD_SIGNAL_TYPE_NORMAL = 1 }
 Signal type which identifies whether the signal is something specific.
 
enum class  tSignalRawDataType : uint8_t { DT_CANFD_UNKNOWN = 0 , DT_CANFD_UNSIGNED = 1 , DT_CANFD_SIGNED = 2 , DT_CANFD_IEEE_754 = 3 }
 Signal raw data type which is transfered over the wire.
 

Variables

static constexpr const uint8_t CANFD_CHANNEL_MIN = 1
 
static constexpr const uint8_t CANFD_CHANNEL_MAX = 16
 
static constexpr const uint32_t CANFD_MSGID_STANDARD_MAX = 0x7FF
 
static constexpr const uint32_t CANFD_MSGID_EXTENDED_MAX = 0x1FFFFFFF
 
static constexpr const uint8_t INVALID_CHANNEL_ID = 0xFF
 
static constexpr const uint32_t INVALID_SIGNAL_ID = 0xFFFFFFFF
 
static constexpr const uint32_t INVALID_MESSAGE_ID = 0xFFFFFFFF
 
static constexpr const uint32_t CANFD_SIGNALID_HEADER_TAG = 0x10000000
 
static constexpr const uint32_t CANFD_SIGNALID_HEADER_CHANNEL = 0x10000001
 
static constexpr const uint32_t CANFD_SIGNALID_HEADER_HWTIME = 0x10000002
 
static constexpr const uint8_t CANFD_CHANNEL_MIN = 1
 
static constexpr const uint8_t CANFD_CHANNEL_MAX = 16
 
static constexpr const uint32_t CANFD_MSGID_STANDARD_MAX = 0x7FF
 
static constexpr const uint32_t CANFD_MSGID_EXTENDED_MAX = 0x1FFFFFFF
 
static constexpr const uint8_t INVALID_CHANNEL_ID = 0xFF
 
static constexpr const uint32_t INVALID_SIGNAL_ID = 0xFFFFFFFF
 
static constexpr const uint32_t INVALID_MESSAGE_ID = 0xFFFFFFFF
 
static constexpr const uint32_t CANFD_SIGNALID_HEADER_TAG = 0x10000000
 
static constexpr const uint32_t CANFD_SIGNALID_HEADER_CHANNEL = 0x10000001
 
static constexpr const uint32_t CANFD_SIGNALID_HEADER_HWTIME = 0x10000002
 
static constexpr const uint8_t CANFD_CHANNEL_MIN = 0
 

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