Page 1 of 1

[NUC240] PWM Trigger PWM

Posted: 18 May 2020, 15:49
by chhsieh3
  • Application: PWMA channel 0 trigger PWMA channel 2 when PWMA channel 0 outputs high.
  • BSP Version: NUC230/240 Series BSP v3.01.002
  • Hardware: NUC240VE3AN NuEdu Board V1.0
This sample code is using PWMA channel 0 to trigger PWMA channel 2. When PWMA channel 0 outputs high level voltage, then PWMA channel 2 can be enabled and output waveform. When PWMA channel 0 outputs low level voltage, then PWMA channel 2 can be disabled and output low.

You can download the sample code at https://www.nuvoton.com/resource-downlo ... 1217171609