ModusToolbox Safety Test Library
Loading...
Searching...
No Matches

General Description

Data Structures

struct  stl_atop_afe_config_t
 Configuration for one AFE gain self-test run. More...

Macros

#define ATOP_AFE_CONFIG_GRP0_DEFAULT
 Ready-made configuration: GROUP0 (AIN0P/AIN0N) with the suggested small positive stimulus window and default tolerance.

Data Structure Documentation

◆ stl_atop_afe_config_t

struct stl_atop_afe_config_t
Data Fields
uint8_t adcGroup ADC group / AFE selector (ATOP_AFE_GROUP_0 ..).
int32_t rawMin Minimum accepted AFE-off differential code (signed).
int32_t rawMax Maximum accepted AFE-off differential code (signed); must be greater than rawMin.
uint16_t gainTolerancePercent Acceptance tolerance (+/- percent) on the amplified codes and the gain ratio; must be in 1..100.

Macro Definition Documentation

◆ ATOP_AFE_CONFIG_GRP0_DEFAULT

#define ATOP_AFE_CONFIG_GRP0_DEFAULT
Value:
{ \
}
#define ATOP_AFE_GROUP_0
ATOP ADC group 0 - AFE differential pair AIN0P / AIN0N.
Definition SelfTest_ATOP_AFE.h:118
#define ATOP_AFE_DEFAULT_RAW_MIN
Suggested lower bound of the raw (AFE-off) differential window (codes).
Definition SelfTest_ATOP_AFE.h:148
#define ATOP_AFE_DEFAULT_RAW_MAX
Suggested upper bound of the raw (AFE-off) differential window (codes); kept below full-scale/16....
Definition SelfTest_ATOP_AFE.h:151
#define ATOP_AFE_DEFAULT_TOLERANCE_PCT
Suggested +/- tolerance (percent) on the amplified codes and gain ratio.
Definition SelfTest_ATOP_AFE.h:153

Ready-made configuration: GROUP0 (AIN0P/AIN0N) with the suggested small positive stimulus window and default tolerance.