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

General Description

Macros

#define HWFILT3P3Z_ATT_RATIO   (8U)
 Required attenuation ratio for the out-of-band sub-test: low_peak must be strictly greater than HWFILT3P3Z_ATT_RATIO * high_peak.
#define HWFILT3P3Z_SS0_MAX_CHANNEL_INDEX
 Maximum HWFILT3P3Z channel index for subsystem SS_0 (4 channels: 0..3).
#define HWFILT3P3Z_SS1_MAX_CHANNEL_INDEX
 Maximum HWFILT3P3Z channel index for subsystem SS_1 (2 channels: 0..1).
#define HWFILT3P3Z_HPPASS_MAX_IDX   (2U)
 Maximum HWFILT3P3Z filter instance index for HPPASS (3 instances: 0..2).

Macro Definition Documentation

◆ HWFILT3P3Z_ATT_RATIO

#define HWFILT3P3Z_ATT_RATIO   (8U)

Required attenuation ratio for the out-of-band sub-test: low_peak must be strictly greater than HWFILT3P3Z_ATT_RATIO * high_peak.

The theoretical LPF attenuation ratio at the test frequencies is ~74:1, so a threshold of 8 provides a large safety margin. Shared by the PPCA and HPPASS variants.

◆ HWFILT3P3Z_SS0_MAX_CHANNEL_INDEX

#define HWFILT3P3Z_SS0_MAX_CHANNEL_INDEX
Value:
((uint8_t)((sizeof(((PPCA_HWFILT3P3Z_SS_0_Type *)0)->HWFILT3P3Z) / \
sizeof(((PPCA_HWFILT3P3Z_SS_0_Type *)0)->HWFILT3P3Z[0])) - 1u))

Maximum HWFILT3P3Z channel index for subsystem SS_0 (4 channels: 0..3).

◆ HWFILT3P3Z_SS1_MAX_CHANNEL_INDEX

#define HWFILT3P3Z_SS1_MAX_CHANNEL_INDEX
Value:
((uint8_t)((sizeof(((PPCA_HWFILT3P3Z_SS_1_Type *)0)->HWFILT3P3Z) / \
sizeof(((PPCA_HWFILT3P3Z_SS_1_Type *)0)->HWFILT3P3Z[0])) - 1u))

Maximum HWFILT3P3Z channel index for subsystem SS_1 (2 channels: 0..1).