|
ADTF Device Toolbox SDK
|
#include <flexray_database_intf.h>
Public Attributes | |
| int32_t | nAllowHaltDueToClock |
| int32_t | nAllowPassiveToActive |
| int32_t | nChannels |
| int32_t | nClusterDriftDamping |
| int32_t | nDecodingCorrection |
| int32_t | nDelayCompensationA |
| int32_t | nDelayCompensationB |
| int32_t | nExternOffsetCorrection |
| int32_t | nExternRateCorrection |
| int32_t | nKeySlotUsedForStartup |
| Defines whether the key slot is used to transmit startup frames. | |
| int32_t | nKeySlotUsedForSync |
| Defines whether the key slot is used to transmit sync frames. | |
| int32_t | nLatestTx |
| int32_t | nMacroInitialOffsetA |
| int32_t | nMacroInitialOffsetB |
| int32_t | nMaxPayloadLengthDynamic |
| Not used. | |
| int32_t | nMicroInitialOffsetA |
| int32_t | nMicroInitialOffsetB |
| int32_t | nMicroPerCycle |
| int32_t | nMicroPerMacroNom |
| Not used. | |
| int32_t | nOffsetCorrectionOut |
| int32_t | nRateCorrectionOut |
| int32_t | nSamplesPerMicrotick |
| Has to be 0. | |
| int32_t | nSingleSlotEnabled |
| int32_t | nWakeupChannel |
| int32_t | nWakeupPattern |
| int32_t | nAcceptedStartupRange |
| int32_t | nListenTimeout |
| int32_t | nMaxDrift |
| float | fMicrotick |
| Not used. | |
| int32_t | nExternOffsetControl |
| int32_t | nExternRateControl |
| int32_t | nChannelsMTS |
ECU FlexRay communication controller configuration from FIBEX
| int32_t adtf::devicetb::sdk::flexray::axle::tECUConfig::nAcceptedStartupRange |
Configures the number of microticks constituting the expanded range of measured deviation for startup frames during integration. Valid values are 0 to 1875 uT.
| int32_t adtf::devicetb::sdk::flexray::axle::tECUConfig::nAllowHaltDueToClock |
Controls the transition to HALT state due to a clock synchronization error. Valid values are 0 to 1. If a clock sync error occurred the CC will enter HALT state or enter/remain in NORMAL_PASSIVE state.
| int32_t adtf::devicetb::sdk::flexray::axle::tECUConfig::nAllowPassiveToActive |
Defines the number of consecutive even / odd cycle pairs that must have valid clock correction terms before the CC is allowed to transit from NORMAL_PASSIVE to NORMAL_ACTIVE state. If set to 0 the CC is not allowed to transit from NORMAL_PASSIVE to NORMAL_ACTIVE state. Valid values are 0 to 31 even / odd cycle pairs.
| int32_t adtf::devicetb::sdk::flexray::axle::tECUConfig::nChannels |
Selects the channel on which the CC is connected. Valid values are the defines FLEXRAY_CHANNEL_A, FLEXRAY_CHANNEL_B and FLEXRAY_CHANNEL_AB.
| int32_t adtf::devicetb::sdk::flexray::axle::tECUConfig::nChannelsMTS |
Selects the channel on which the CC sends a media test symbol. Valid values are the defines FLEXRAY_CHANNEL_A, FLEXRAY_CHANNEL_B and FLEXRAY_CHANNEL_AB.
| int32_t adtf::devicetb::sdk::flexray::axle::tECUConfig::nClusterDriftDamping |
Configures the cluster drift damping value used in clock synchronization to minimize accumulation of rounding errors. Valid values are 0 to 20 uT.
| int32_t adtf::devicetb::sdk::flexray::axle::tECUConfig::nDecodingCorrection |
Configures the decoding correction value used to determine the primary time reference point. Valid values are 14 to 143 uT.
| int32_t adtf::devicetb::sdk::flexray::axle::tECUConfig::nDelayCompensationA |
Configuration to compensate the reception delays on channel A in microticks. Valid values are 0 to 200 uT.
| int32_t adtf::devicetb::sdk::flexray::axle::tECUConfig::nDelayCompensationB |
Configuration to compensate the reception delays on channel B in microticks. Valid values are 0 to 200 uT.
| int32_t adtf::devicetb::sdk::flexray::axle::tECUConfig::nExternOffsetControl |
Configures the external offset correction. Valid values are 0 to 3. Value 0 and 1 means no external offset correction is used. Value 2 means the external offset correction value will be subtracted from calculated offset correction value. Value 3 means the external offset correction value will be added to calculated offset correction value.
| int32_t adtf::devicetb::sdk::flexray::axle::tECUConfig::nExternOffsetCorrection |
Configures the external offset correction value in microticks to be applied by the internal clock synchronization algorithm. The value is subtracted or added to the calculated offset correction value. Valid values are 0 to 7 uT.
| int32_t adtf::devicetb::sdk::flexray::axle::tECUConfig::nExternRateControl |
Configures the external rate correction. Valid values are 0 to 3. Value 0 and 1 means no external rate correction is used. Value 2 means the external rate correction value will be subtracted from calculated rate correction value. Value 3 means the external rate correction value will be added to calculated rate correction value.
| int32_t adtf::devicetb::sdk::flexray::axle::tECUConfig::nExternRateCorrection |
Configures the external rate correction value in microticks to be applied by the internal clock synchronization algorithm. The value is subtracted or added to the calculated rate correction value. Valid values are 0 to 7 uT.
| int32_t adtf::devicetb::sdk::flexray::axle::tECUConfig::nLatestTx |
Configures the maximum minislot value allowed before inhibiting frame transmission in the dynamic segment of the cycle. Valid values are 0 to 7981 minislots. There is no transmission in dynamic segment if is set to 0.
| int32_t adtf::devicetb::sdk::flexray::axle::tECUConfig::nListenTimeout |
Configures wakeup / startup listen timeout in uT. Valid values are 1284 to 1283846.
| int32_t adtf::devicetb::sdk::flexray::axle::tECUConfig::nMacroInitialOffsetA |
Configures the number of macroticks between the static slot boundary and the subsequent macrotick boundary of the secondary time reference point based on the nominal macrotick duration. Valid values are 2 to 72 MT.
| int32_t adtf::devicetb::sdk::flexray::axle::tECUConfig::nMacroInitialOffsetB |
Configures the number of macroticks between the static slot boundary and the subsequent macrotick boundary of the secondary time reference point based on the nominal macrotick duration. Valid values are 2 to 72 MT.
| int32_t adtf::devicetb::sdk::flexray::axle::tECUConfig::nMaxDrift |
Configures the maximum drift offset between two nodes that operate with unsynchronized clocks over one FlexRay communication cycle in micorticks. Valid values are 2 to 1923 uT.
| int32_t adtf::devicetb::sdk::flexray::axle::tECUConfig::nMicroInitialOffsetA |
Configures the number of microticks between the actual time reference point on channel A and the subsequent macrotick boundary of the secondary time reference point. Valid values are 0 to 240 uT.
| int32_t adtf::devicetb::sdk::flexray::axle::tECUConfig::nMicroInitialOffsetB |
Configures the number of microticks between the actual time reference point on channel B and the subsequent macrotick boundary of the secondary time reference point. Valid values are 0 to 240 uT.
| int32_t adtf::devicetb::sdk::flexray::axle::tECUConfig::nMicroPerCycle |
Configures the duration of the FlexRay communication cycle in microticks. Valid values are 640 to 640000 uT.
| int32_t adtf::devicetb::sdk::flexray::axle::tECUConfig::nOffsetCorrectionOut |
Defines the maximum permitted offset correction value to be applied by the internal clock synchronization algorithm (absolute value). The CC checks only the internal offset correction value against the maximum offset correction value. Valid values are 5 to 15266 uT.
| int32_t adtf::devicetb::sdk::flexray::axle::tECUConfig::nRateCorrectionOut |
Defines the maximum permitted rate correction value to be applied by the internal clock synchronization algorithm. The CC checks only the internal rate correction value against the maximum rate correction value (absolute value). Valid values are 2 to 1923 uT.
| int32_t adtf::devicetb::sdk::flexray::axle::tECUConfig::nSingleSlotEnabled |
Selects the initial transmission slot mode. Valid values are 0 to 1. In SINGLE slot mode the CC may only transmit the configured sync-frame message. In ALL slot mode the CC may transmit all configure Tx frames.
| int32_t adtf::devicetb::sdk::flexray::axle::tECUConfig::nWakeupChannel |
Selects the channel on which the CC sends the Wakeup pattern. Valid values are the defines FLEXRAY_CHANNEL_A and FLEXRAY_CHANNEL_B
| int32_t adtf::devicetb::sdk::flexray::axle::tECUConfig::nWakeupPattern |
Configures the number of repetitions (sequences) of the Tx wakeup symbol. Valid values are 2 to 63.