主要内容

Trigger ADC event

Select event to trigger ADC sampling

Since R2026a

Model Configuration Pane: Hardware Implementation / Embedded Coder Hardware Support Package / Hardware board settings / Target hardware resources / TSG3

Description

Specifies the event that triggers ADC sampling for the TSG3 module.

Note

The TSG3 trigger is currently limited to ADC groups that are mapped to Scan Group 4.

Dependencies

To enable this parameter, select Configure TSG30 / Configure TSG31parameter.

Settings

None (default) | Valley | Peak | Valley and peak

  • None: No ADC trigger event will be generated.

  • Valley: The ADC will be triggered at the valley point of the PWM cycle (typically the minimum point of the carrier waveform).

  • Peak: The ADC will be triggered at the peak point of the PWM cycle (typically the maximum point of the carrier waveform).

  • Valley and Peak: The ADC will be triggered at both the valley and peak points of the PWM cycle.

Recommended Settings

No recommendation.

Programmatic Use

No programmatic use is available.

Version History

Introduced in R2026a