Contenuto principale

Channel generator

Peripheral trigger that is the source of the event generator

Since R2023b

Model Configuration Pane: Hardware Implementation / Hardware board settings / Target hardware resources / Event system

Description

Select the peripheral trigger that is the source of the event generator. You can select from the peripheral group timer/counter [0:2] or analog to digital converter (ADC) for conditions such as register overflow, register match/compare, or analog to digital conversion result ready.

You can configure event system properties on these hardware boards:

  • Arduino® MKR 1000

  • Arduino MKR Zero

  • Arduino MKR Wi-Fi® 1010

  • Arduino Nano 33 IoT

Dependencies

To enable this parameter, select Enable EVSYS channel for a channel.

Settings

TCC0 overflow (default) | TCC0 MCx0 | TCC0 MCx1 | TCC0 MCx2 | TCC0 MCx3 | TCC1 overflow | TCC1 MCx0 | TCC1 MCx1 | TCC2 overflow | TCC2 MCx0 | TCC2 MCx1 | ADC result ready

  • Default: TCC0 overflow — Generate an event when the register overflow occurs for TCC0.

  • TCC0 MCx0 — Generate an event when the value in the match/compare register 0 for TCC0 matches with the input ADC/PWM value.

  • TCC0 MCx1 — Generate an event when the value in the match/compare register 1 for TCC0 matches with the input ADC/PWM value.

  • TCC0 MCx2 — Generate an event when the value in the match/compare register 2 for TCC0 matches with the input ADC/PWM value.

  • TCC0 MCx3 — Generate an event when the value in the match/compare register 3 for TCC0 matches with the input ADC/PWM value.

  • TCC1 overflow — Generate an event when the register overflow occurs for TCC1.

  • TCC1 MCx0 — Generate an event when the value in the match/compare register 0 for TCC1 matches with the input ADC/PWM value.

  • TCC1 MCx1 — Generate an event when the value in the match/compare register 1 for TCC1 matches with the input ADC/PWM value.

  • TCC2 overflow — Generate an event when the register overflow occurs for TCC2.

  • TCC2 MCx0 — Generate an event when the value in the match/compare register 0 for TCC2 matches with the input ADC/PWM value.

  • TCC2 MCx1 — Generate an event when the value in the match/compare register 1 for TCC2 matches with the input ADC/PWM value.

  • ADC result ready — Generate an event after ADC conversion result is ready in the register.

Programmatic Use

No programmatic use is available.

Version History

Introduced in R2023b